Answer the question
In order to leave comments, you need to log in
How to change data in a table using transaction hash?
Hello, I need help with the following problem. Let's start with an example: the site has a table that consists of two columns and rows (unlimited). The first column contains the addresses of Doge wallets, and the second column contains a numeric value (amount). The user enters the site and transfers the amount indicated in the second column to the (selected) address indicated in the first column. After the actions taken (by idea), his doge address should fit in instead of the address to which he transferred the money, and the amount should also change to the one indicated by this user. But in order for the necessary changes to take place, the user needs to confirm that it was he who made this transaction. In theory, I see the execution of this process something like this: after the user has transferred the required amount to the desired address, he takes the hash of the transaction, which is responsible for this specific transfer of funds and enters it on the site (in a special field). He also enters his doge address and the amount that should be substituted in place of those paid by him. Now the script should check if a transaction was made using this hash to the correct address and for the amount. And if everything is correct, then the data in the table changes. Ideally, it would be better to implement this automatically, i.e. when payment is made directly from our site and the user does not need to search and enter any hashes, but at least this way. I understand how it is in theory, but in practice ... Please tell me how and with what tools this can be implemented? Thank you in advance! which must be substituted in place of those paid by him. Now the script should check if a transaction was made using this hash to the correct address and for the amount. And if everything is correct, then the data in the table changes. Ideally, it would be better to implement this automatically, i.e. when payment is made directly from our site and the user does not need to search and enter any hashes, but at least this way. I understand how it is in theory, but in practice ... Please tell me how and with what tools this can be implemented? Thank you in advance! which must be substituted in place of those paid by him. Now the script should check if a transaction was made using this hash to the correct address and for the amount. And if everything is correct, then the data in the table changes. Ideally, it would be better to implement this automatically, i.e. when payment is made directly from our site and the user does not need to search and enter any hashes, but at least this way. I understand how it is in theory, but in practice ... Please tell me how and with what tools this can be implemented? Thank you in advance! when payment is made directly from our site and the user does not need to search and enter any hashes, but at least this way. I understand how it is in theory, but in practice ... Please tell me how and with what tools this can be implemented? Thank you in advance! when payment is made directly from our site and the user does not need to search and enter any hashes, but at least this way. I understand how it is in theory, but in practice ... Please tell me how and with what tools this can be implemented? Thank you in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question