lib eth.rb v0.5.1 beta
lib eth.rb v0.5.1 is a feature release adding support for http/ipc rpc-clients (Eth::Client::*
) and rlp encoding/decoding (Eth::Rlp::*
), as well as improvements to performance, stability, and various bug fixes.
Eth::Rlp.decode "c7c0c1c0c3c0c1c0"
# => [[], [[]], [[], [[]]]]
connect to infura:
infura = Eth::Client.create "https://mainnet.infura.io/v3/#{access_token}"
# => #<Eth::Client::Http:0x000055d43f3ca460 @gas_limit=21000, @host="mainnet.infura.io", @id=0, @max_fee_per_gas=0.2e11, @max_priority_fee_per_gas=0, @port=443, @ssl=true, @uri=#<URI::HTTPS https://mainnet.infura.io/v3/31b...d93>>
deposit_contract = Eth::Address.new "0x00000000219ab540356cBB839Cbe05303d7705Fa"
# => #<Eth::Address:0x000055d43f381738 @address="0x00000000219ab540356cBB839Cbe05303d7705Fa">
infura.get_balance deposit_contract
# => 9087314000069000000000069
what's changed
- spec: add upstream test fixtures for keystore by @q9f in #50
- docs: update changelog by @q9f in #53
- eth/client: implement http/ipc by @q9f in #37
- gem: relax openssl requirement by @q9f in #56
- eth/client: fix legacy transfer by @q9f in #57
- eth/tx: properly serialize signatures by @q9f in #58
- add eth::rlp module by @q9f in #52
- eth/rlp: cleanup by @q9f in #59
- eth/chain: add sepolia chain id; docs by @q9f in #60
- docs: update changelog by @q9f in #61
Full Changelog: v0.5.0...v0.5.1