Skip to content

A gem that wraps the for dogechain.info api. This gem will also be able to explore the blockchain, execute blocks on given conditions etc (in the future).

License

Notifications You must be signed in to change notification settings

jorge-d/dogecoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DogeCoin

Code Climate Gem Version Build Status Dependency Status Donate

The purpose of this gem is to explore the DogeCoin blockchain. For the moment it wraps the Dogechain API, but this could change in the future.

Installation

Add this line to your application's Gemfile:

gem 'doge_coin'

And then execute:

$ bundle

Or install it yourself as:

$ gem install doge_coin

Usage

Instruction

There is a call mapped for all the dogechain API as follow:

In a close-future, I would like to add methods to check if an address received new transactions, check how much validations it got etc...

Feel free to contribute !

Configuration

You can configure the gem to use VCR (e.g: for test purpose). Simply add the following to your spec_helper.rb

DogeCoin.configure do |c|
  c.vcr_mode = true
end

Testing

Checkout the gem, then simply run

rspec

Contributing

  1. Fork it ( http://github.com/jorge-d/dogecoin/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A gem that wraps the for dogechain.info api. This gem will also be able to explore the blockchain, execute blocks on given conditions etc (in the future).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages