Sha256: 9c6c6bcde7d0eac35f1a016e248507ae43eb034deed5753d284ba46f8185c1a8

Contents?: true

Size: 836 Bytes

Versions: 11

Compression:

Stored size: 836 Bytes

Contents

CryptocoinPayable.configure do |config|
  config.currency = :usd
  config.testnet = true
  config.expire_payments_after = 15.minutes
  config.request_delay = 0.5

  config.configure_btc do |btc_config|
    btc_config.node_path = 'm/0/'
    # rubocop:disable Metrics/LineLength
    btc_config.master_public_key = 'tpubD6NzVbkrYhZ4X3cxCktWVsVvMDd35JbNdhzZxb1aeDCG7LfN6KbcDQsqiyJHMEQGJURRgdxGbFBBF32Brwb2LsfpE2jQfCZKwzNBBMosjfm'
    # rubocop:enable Metrics/LineLength
  end

  config.configure_eth do |eth_config|
    # Will default to 4 if `config.testnet` is true, otherwise 1 but can be
    # overriden.
    #
    # 1: Frontier, Homestead, Metropolis, the Ethereum public main network
    # 4: Rinkeby, the public Geth Ethereum testnet
    # See https://ethereum.stackexchange.com/a/17101/26695
    # eth_config.chain_id = 1
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cryptocoin_payable-1.4.5 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.4.4 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.4.3 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.4.2 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.4.1 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.4.0 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.3.0 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.2.0 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.1.0 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.0.1 spec/dummy/config/initializers/cryptocoin_payable.rb
cryptocoin_payable-1.0.0 spec/dummy/config/initializers/cryptocoin_payable.rb