Ruby API for Ethereum & Bitcoin Blockchain networks
Have a look at this blog post for a detail description about Connect to Ethereum node using IPC
Once you've verified that Ruby is installed:
gem install elchapo
IPC Client for Ethereum
eth_client = ::.("/root/.ethereum/rinkeby/geth.ipc")
RPC Client for Ethereum
eth_client = ::.("http://0.0.0.0:8545")
RPC Client for Bitcoin
btc_client = ::.("http://127.0.0.1:18333", user: "foo", pass: "bar")
After you create the connection client, you can use all these Ethereum
eth commands & Bitcoin RPC commands.
You can pass parameters as method arguments,
Make sure you are using underscore instead of capitals. Eg:
This gem is inspired from ethereum.rb
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Elchapo project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.