Giter Club home page Giter Club logo

cryptocoin_payable's Issues

Trying Bitcoin Cash

i try to create pay on BCH.... and i get this:

ArgumentError ('bch' is not a valid coin_type):

cryptocoin_payable:process_payments with BCH

i try the command:

rake cryptocoin_payable:process_payments

and return >

PaymentProcessor: Unknown error encountered, skipping transaction
CryptocoinPayable::NetworkNotSupported

i see the code on > lib/cryptocoin_payable/adapters/bitcoin_cash.rb

at line:

url = "https://#{prefix}blockexplorer.com/api/txs/?address=#{legacy_address(address)}"

the prefix bchtest. not work anymore

NameError: uninitialized constant Net::HTTP

hi
thanks for this gem.

I have an issue when I run

`rake cryptocoin_payable:process_prices

i get

rake aborted!
NameError: uninitialized constant Net::HTTP
gems/cryptocoin_payable-1.4.5/lib/cryptocoin_payable/adapters/base.rb:92:in `get_request'

ruby 2.5.3
rails 5.2.2

also I don't understand how to generate the Master Public Key. Maybe you have a bit more documentation ?

thanks

Remittance

@Sailias my app has a need to pay out users periodically (as well as collect payments on their behalf which this gem already covers). Would it make sense to add this feature to cryptocoin_payable? I'm envisioning this as just an extra method to each coin adapter that will interact with the correct API (e.g. Blockcypher for btc). And then wrapped in a Rake task.

How to add DOGE support

I'm considering adding support for DOGE in this library. Would someone be able to give me some pointers?

bip32 for ethereum

Hi,
I can't understand how to generate master_public_key for ethereum. Anyone one has a little piece of code that could help me ?

thanks

Generated address didin't receive payment

Thanks for the gem!
I added the xpub public key and transfered to the coinpayment address that was created, i can see the transaction has been confirmed but it hasn't appear on my wallet. Maybe i'm missing something?? this was on the bitcoin mainnet.

cryptocoin_payable.rb

CryptocoinPayable.configure do |config|
    config.currency = :usd
    config.testnet = false
  
    config.request_delay = 0.5
    config.expire_payments_after = 15.minutes
  
    config.configure_btc do |btc_config|
      # btc_config.confirmations = 3
      # btc_config.node_path = ''
  
      btc_config.master_public_key = 'xpub_address'
    end
  
    config.configure_bch do |bch_config|
      # bch_config.confirmations = 3
      # btc_config.node_path = ''
  
      bch_config.master_public_key = 'tpub...'
    end
  
    config.configure_eth do |eth_config|
      # eth_config.confirmations = 12
      # eth_config.node_path = ''
  
      eth_config.master_public_key = 'tpub...'
    end
  end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.