eip-utils 0.1.5

Ethereum Improvement Proposal helpers.
Documentation

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