We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The Eth::Chain module provides some convenience for management of various chains and replay protection (EIP-155).
Eth::Chain
chain_id = Eth::Chain::OPTIMISM # => 10
For Ethereum testnets, please consider Eth::GOERLI (Goerli Testnet) or Eth::SEPOLIA (Sepolia Testnet).
Eth::GOERLI
Eth::SEPOLIA
Most functionality is mainly for internal use only, but check out the API documentation for a full overview.