0

I want to create an exchange site using API. How can I check that my customer had a deposit without using a transaction number?

I want to create a new address wallet per customer how can I do it?

I'm looking for a wallet that can generate new addresses

0

First of all, there are two ways to accomplish that.

  1. Create an account at http://www.block.io, generate an API there and they will give you some endpoints to query the blockchain, generate new addresses for your wallet, broadcast transactions and so on.
  2. You can create your own endpoint if you run a full node of bitcoin, there you can create your own transaction, query the mempool for unconfirmed transactions, query blocks to find out if your address is in any of them.

The second way is kinda tricky since you will need to understand how the transactions are stored in the blocks, maybe some parsing, but if you are starting I really recommend you to stick to the first way.

Developing an exchange is complicated, there are a lots of factors to account for. When I was developing mine, I got several issues with transaction checks and confirmation.

| improve this answer | |

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.