lib/bitshares.rb in bitshares-0.1.4.pre vs lib/bitshares.rb in bitshares-0.1.5
- old
+ new
@@ -8,13 +8,18 @@
require 'bitshares/client'
require 'bitshares/blockchain'
require 'bitshares/wallet'
require 'bitshares/account'
require 'bitshares/market'
+require 'bitshares/trader'
+CLIENT = Bitshares::Client
+CHAIN = Bitshares::Blockchain
+
# stackoverflow.com/questions/6233124/where-to-place-access-config-file-in-gem
module Bitshares
- @config = {:wallets => {nil => nil}} # name/password key/value pairs
+
+ @config = {:wallet => {nil => nil}} # name/password key/value pairs
@valid_keys = @config.keys
def self.configure(opts = {})
opts.each {|k,v| @config[k.to_sym] = v if @valid_keys.include? k.to_sym}