eip-utils

Crates.ioeip-utils
lib.rseip-utils
version0.1.5
sourcesrc
created_at2021-03-11 10:39:31.927477
updated_at2021-03-12 08:51:37.89219
descriptionEthereum Improvement Proposal helpers.
homepage
repository
max_upload_size
id367237
size39,129
A₿del ∞/21M (AbdelStark)

documentation

README

EIP Utils

license ci status

A command line utility tool which provides Ethereum Improvement Proposals features.

Getting Started

Install

git clone https://github.com/abdelhamidbakhta/eip-utils.git
cargo install --path=eip-utils eip-utils

Usage

eip-utils --help

Commands

EIP-1559

eip1559-resources
Print link to extensive list of EIP-1559 resources

USAGE:
    eip-utils eip1559-resources

# Example 
eip-utils eip1559-resources
# Output
https://hackmd.io/@timbeiko/1559-resources
eip1559-compute-basefee
Compute base fee from parent block header

USAGE:
    eip-utils eip1559-compute-basefee --parent-base-fee <parent-base-fee> --parent-gas-used <parent-gas-used> --parent-target-gas-used <parent-target-gas-used>

OPTIONS:
        --parent-base-fee <parent-base-fee>                  The value of the parent block base fee
        --parent-gas-used <parent-gas-used>                  The value of the parent block gas used
        --parent-target-gas-used <parent-target-gas-used>    The value of the parent block target gas used
# Help
eip-utils help eip1559-compute-basefee
# Example 
eip-utils eip1559-compute-basefee --parent-base-fee=1000000000 --parent-gas-used=10000000 --parent-target-gas-used=5000000
# Output
1125000000
Commit count: 0

cargo fmt