dogecoin

Ruby wrapper for the DogeAPI. Send and receive Dogecoins. Currently very alpha, while the API is so beta. Such wow, regardless — with much amaze planned for the future.

Installation

You can either gem install dogecoin or add gem 'dogecoin' to your Gemfile and bundle it, doge.

Configuration

Most methods require an API key. Get yours — and many free coin! — here. Configure like so, plz:

@shibe = DogeCoin::Client.new
    
    @shibe.configure do |config|
      config.api_key = 'YOUR_API_KEY'
    end

Usage

Descriptions and examples of the supported actions are below.

@shibe.get_balance
@shibe.withdraw(amount, payment_address)
@shibe.get_new_address

You can also pass an optional alphanumeric address_label as a label for the address.

@shibe.get_new_address(address_label)
@shibe.get_my_addresses
@shibe.get_address_received(payment_address_or_address_label)
@shibe.get_address_by_label(address_label)
@shibe.get_difficulty
@shibe.get_current_block

Contributing to dogecoin

Copyright © 2014 Rahul Horé. See LICENSE.txt for further details.