Ethereum implementation of the chainlib interface
Project description
chainlib-eth
Overview
This is the Ethereum (EVM) implementation of the chainlib
block
interface.
It contains implementations for:
-
RPC client implementation.
-
Nonce and fee generators.
-
Transaction and block objects.
-
EVM ABI encoding and decoding.
-
CLI tool suite for common operations.
Please refer to the documentation for the chainlib
package to achieve
a broader context of what chainlib-eth implements
.
CLI tooling
When installed, the python package chainlib-eth
will install a
selection of CLI tools in the python executable script path.
It will also install man pages for each tool in the man path. The man pages describe arguments, configurations and environment variables relevant for each tool. They will not be repeated here.
The man pages have been generated using the chainlib-man.py
script
from the chainlib
package. Please refer to the chainlib
package
documentation for further details on the logical structure of the
applicable arguments.
eth-balance
Gas token balance of a specific address.
eth-block
Retrieve a block by number or hash.
eth-checksum
Transform an ethereum address to a checksummed address.
eth-count
Get the amount of confirmed transactions on network for an account.
Corresponds to the nonce of the next future transaction.
eth-decode
Decode a transaction from its serialized (wire) format.
eth-encode
Sncode method calls and/or individual arguments for the EVM ABI. Can be
used to interface with smart contracts and generate constructor
arguments.
eth-gas
Generate transactions for private accounts and smart contracts, with or
without gas token value.
eth-get
Retrieve a transaction, or bytecode for an address.
eth-info
Retrieve general stats for a blockchain network.
eth-raw
Covert a signed wire format transaction to raw transaction for RPC.
eth-wait
Block until transaction has been completed (transaction "receipt"
exists).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file chainlib-eth-0.5.1.tar.gz
.
File metadata
- Download URL: chainlib-eth-0.5.1.tar.gz
- Upload date:
- Size: 67.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2987a7856f2e15fe39dc75a9d793ae9a1c9f3090bff85e7dedf8cec7a24d9b8 |
|
MD5 | 1df7ddce65933e85ba18101deeccb7b8 |
|
BLAKE2b-256 | 4fa2b89a1fe8846f40c415faf9e95faa35504815712a2ad346296bd5857e99c4 |