Registry / networking / ethereum-rb

ethereum-rb

JSON →
library2.1.8rbrubygemsunverified

Ruby Ethereum client using JSON-RPC interface for sending transactions, interacting with contracts, and working with Ethereum nodes.

gem install ethereum.rb
INSTALL
IMPORT
SIG · ETHEREUM-RB
E
ethereum-rb
networkingrubyv2.1.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ethereum
require 'ethereum'

Connect to an Ethereum node and query an account balance.

require 'ethereum' client = Ethereum::HttpClient.new('http://localhost:8545') balance = client.get_balance('0x...') puts balance
Debug
Known issues
breakingVersion 2.x has breaking API changes from 1.x; check migration guide.
fix
Refer to the changelog and update your code accordingly.
affects: >= 2.0.0
Upgrade
Version history
2.1.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
ethereum-rb — gem install ethereum-rb · libregistry