Block Chain Explorer Client for altcoins.
Extracted from BCE project.
Add this line to your application's Gemfile:
gem 'bce-client', github: 'madzebra/bce-client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bce-client
require 'bce-client'
bce_client = BceClient::Client.new \
username: 'rpc_user',
password: 'rpc_pass',
host: '127.0.0.1',
port: '19092'
bce_client.block(1).decode_with_tx # => Array with block info + all decoded txs
bce_client.network_info # => hash with getinfo content
bce_client.network_peer_info # => Array of connected peers
- Fork it ( https://github.com/madzebra/bce-client/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request