InfuraRuby

Ruby gem to wrap the [INFURA](https://github.com/ethereum/wiki/wiki/JSON-RPC() API which gives HTTP API access to ethereum and IPFS nodes. The API uses the same format as the JSON RPC spec for normal ethereum nodes.

For now, I only need the getBalance call an so that is all I will build. Feel free to add the rest of the functionality or I may get to it over time...

Usage

Installation

gem install infura_ruby
require 'infura_ruby'

# create a client object
infura = InfuraRuby.client(api_key: key)

# get the balance (in wei) of an address
infura.get_balance('0x81F631b8615EaB75d38DaC4d4bce4A5b63e10310') #=> 591686024850016