I'm having difficulty finding information on how to setup a contract that accepts multi-currency like bitcoin, wave, ripple, etc. And also looking for a solution to distribute my tokens to these accepted coins.

A direction or links on how to setup these steps would be much appreciated.

  • 1
    Can we create wallet by using Blockchain.info API? something like this blockchain.info/api/api_receive They have api to create ETH and BTC wallete and have api to know the balance of wallet Mar 5 '18 at 3:43
  • one problem with blockchain.info that they don't allow you to send directly to a Smart Contract address
    – Nerdroid
    Mar 6 '18 at 0:56
  • Just give them link to to a tutorial. It is not worth of the problem, as buyers need to have an Ethereum wallet to manage their tokens in any case. tokenmarket.net/what-is/… Mar 6 '18 at 8:26

An Ethereum contract cannot directly interact with other blockchains.

You have to use a service like BTC Relay, their project on github.


You can setup your own bitcoin, litecoin, etc node to accept payments on your server and then in your system call your smart contract / send the tokens to the appropriate address of the depositor.

They will have to register and then a bitcoin address would be generated from your servers bitcoin node so you can connect it to that user once funds are sent.. then send the tokens to that users ethereum address on file that they set when signing up.


Can it be a solution something like this. I am just thinking.

  1. Generate bitcoin public address and private address using php script and store in a database

  2. user transaction ID and call transaction API to confirm the payment has received.(in this case the question which service provider will provide the transaction api service? is there any open hosted api by which we can check the incremental balance of a bitcoin address by using transaction id?)

  3. import your private key in any wallet provider. or set up your own node. and import your private key.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.