2018-7-19 07:26 |
Listening for Payments on the Bitcoin and Ethereum BlockchainsEvery user has a different wallet address they can send to.With our ongoing token sale at BX8.io, it was essential for our ICO website to listen for blockchain payments made by participants.
We wanted to make sure that people who were sending us crypto would get instant confirmation that we had received their contributions.
Blockcypher is a blockchain API company that can programmatically generate forwarding addresses for payments.
The address listens for payments and then immediately forwards whatever it receives to the ultimate destination.
$ curl “https://crypto-cold-store-testnet.bx8.io/api/v1/deposit_detail?coin=btc&code=apr28″$ { “address”:”3Q8V6w97njBNPJXWPaXWqBDNXmSTBs28VW” } For notifications of deposits on any of the generated addresses, we use a ruby library called message_bus.
Similar to Notcoin - Blum - Airdrops In 2024