Module: ERC20
- Defined in:
- lib/erc20/erc20.rb
Overview
This module makes manipulations with Ethereum ERC20 tokens as simple as they can be, if you have a provider of JSON-RPC and WebSockets Ethereum APIs, for example Infura, GetBlock, or Alchemy.
Start like this:
require 'erc20'
w = ERC20::Wallet.new(
host: 'mainnet.infura.io',
http_path: '/v3/
This should print the balance of the ERC20 address.
- Author
Yegor Bugayenko (yegor256@gmail.com)
- Copyright
Copyright (c) 2025 Yegor Bugayenko
- License
MIT
Defined Under Namespace
Modules: Checks Classes: FakeWallet, Wallet
Constant Summary collapse
- VERSION =
'0.4.0'