M
M
Maxim Zubenko2019-11-01 07:49:09
Python
Maxim Zubenko, 2019-11-01 07:49:09

Are there any ready made python modules and any guide for verifying cryptocurrencies payments?

Good time everyone.
Programming in Python/Django.
There is an opportunity (offered) to take on a project working with cryptocurrency wallets. So far, options for Bitcoin (with sigwit wallets), Monero and LiteCoin are being considered.
One of the upcoming tasks is checking payments.
Those. there are two members. One of them has a valid bitcoin wallet and the other one has a different bitcoin wallet.
The first sends money to the second.
The task is to track this payment and receive confirmation of its completion.
There is no access to managing wallets (these are user wallets).
The system can only know these wallets themselves.
One of the participants can specify some additional information (if possible) so that the project can automatically track and verify the payment.
Question 1: Is it possible to do this exactly as I described?
Question 2: Is it possible for you to send some guides (links or titles of books, articles, or even ready-made modules in Python) to implement your plan?
Question 3: Which of the listed currencies is easier to implement? (customer prioritizes in the following order Monero, LiteCoin, Bitcoin) Best
regards.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2019-11-01
@dimonchik2013

1) perhaps, look at google bitcoin explorer - this is if there are no resources, otherwise normal guys put seyue bitcoind and load the entire blockchain into the database
2) look at the stars of either, usually ports with C, for cue ball and ether
4) cue ball is the easiest, light its analogue,

M
MBoyarov, 2019-11-22
@MBoyarov

If you often pull other people's APIs for checking balance or transactions, then they can put you in a ban. After all, the client can pay now, or maybe in an hour or a month. Do not hammer with checking all addresses every minute.
Alternatively, you can create an intermediate bitcoin address for payment. Further, the payment from it is instantly transferred to the recipient. This temporary address will be the unique payment ID in your system.
This type of reception is called forwarding, it was first invented in blockchain.info. We are now using an analogue of apirone.com/ru/docs/crypto-forwarding-api
Any identifiers of your user are transmitted by the usual GET and when paying, they are transmitted as a callback to you. The callback is triggered only in case of payment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question