Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chainlib-eth-0.4.26.tar.gz (67.6 kB view details)

Uploaded Source

File details

Details for the file chainlib-eth-0.4.26.tar.gz.

File metadata

  • Download URL: chainlib-eth-0.4.26.tar.gz
  • Upload date:
  • Size: 67.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for chainlib-eth-0.4.26.tar.gz
Algorithm Hash digest
SHA256 26ca44672eadca7073ca1d6f733916ec9c106e92d42770436996c7e57cdb0f0c
MD5 4c69167cf6c37cbfe9266f59596fcf69
BLAKE2b-256 fa986b6419fec582728c4d65db14a1cbfb743cc856aa6a0b4c8e237ba86ca599

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page