atlaschiew / bitcoin-cryptocurrency-tutorial

PHP & Cryptocurrencies Collections. Powered By https://btcschools.net
https://www.btcschools.net
Apache License 2.0
159 stars 21 forks source link

Doubt about tron random address creation #14

Closed dhilipkumar186 closed 2 years ago

dhilipkumar186 commented 2 years ago

Dear Sir/Madam, I am trying to develop trc20 token transaction based project. Please guide me how to create unique address , how to verify weather Token received or not and how to set received wallet for receive payments while transaction via unique address.

Thanks

atlaschiew commented 2 years ago

hello, to receive money, simply create random address via https://www.btcschools.net/tron/tron_address.php

atlaschiew commented 2 years ago

to check whether token received, you need to get transaction info via https://www.btcschools.net/tron/tron_get_tx_info.php, and check its receipt status

for example i query with following criteria: chain: tronmainnet tx hash: e6f197344f204d42f764320039f2da2e70b98c9ba492229b0233265be32c9f21

image

then check the receipt status

dhilipkumar186 commented 2 years ago

Thanks Mr.Atlaschiew i have tried your instruction it's working good and i have one more boubt. how to set recipient wallet this wallet only can receive my payment

dhilipkumar186 commented 2 years ago

I have tried as per your instructions, it's working fine , but how to set recipient wallet address , it only can receive token's from my website, Guide me how to do this. Thanks & Regards

On Thu, May 5, 2022 at 4:31 AM Atlas Chiew @.***> wrote:

to check whether token received, you need to get transaction info via https://www.btcschools.net/tron/tron_get_tx_info.php, and check its receipt status

for example i query with following criteria: chain: tronmainnet tx hash: e6f197344f204d42f764320039f2da2e70b98c9ba492229b0233265be32c9f21

[image: image] https://user-images.githubusercontent.com/45816141/166838940-52470fca-07ee-4a7c-b68f-2536a496dcb8.png

then check the receipt status

— Reply to this email directly, view it on GitHub https://github.com/atlaschiew/bitcoin-cryptocurrency-tutorial/issues/14#issuecomment-1118010063, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCBD6D6URHH7RPTNZJSZO3VIL6VXANCNFSM5UU5BGFQ . You are receiving this because you authored the thread.Message ID: @.*** com>

atlaschiew commented 2 years ago

i cannot sure in ur intention

i think you mean to mintable trc20? at start, everyone has no token, all token should be supplied by you through website through airdrop?

there is no way you restrict a wallet address can only receive certain token

dhilipkumar186 commented 2 years ago

Dear Sir, I need information about , if I am the owner of token, customer purchased token from exchange. If they send back to me via my project like investment using trongrid api, here after I want to know detail. Programmatically we can check using transaction info. As a owner I want to view my received wallet Balance right, that part only I need to know and how to set that recepient wallet address in this tutorial. Thank you Regards

@.***

On Mon, May 16, 2022, 10:55 Atlas Chiew @.***> wrote:

i cannot sure in ur intention

i think you mean to mintable trc20? at start, everyone has no token, all token should be supplied by you through website through airdrop?

there is no way you restrict a wallet address can only receive certain token

— Reply to this email directly, view it on GitHub https://github.com/atlaschiew/bitcoin-cryptocurrency-tutorial/issues/14#issuecomment-1127234869, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCBD6F7K5WJW2EMHIIDLADVKHL5HANCNFSM5UU5BGFQ . You are receiving this because you authored the thread.Message ID: @.*** com>

atlaschiew commented 2 years ago

ok, it is slightly difficult to understand ur need, this is ur initial statement :)

how to set received wallet for receive payments while transaction via unique address.

did you mean customer send money to unique address, and then your question is how to forward this payment to one designated received wallet?

dhilipkumar186 commented 2 years ago

Yes sir you are right. Please guide me how to do this

@.***

On Tue, May 17, 2022, 20:07 Atlas Chiew @.***> wrote:

ok, it is slightly difficult to understand ur need, this is ur initial statement :)

how to set received wallet for receive payments while transaction via unique address.

did you mean customer send money to unique address, and then your question is how to forward this payment to one designated received wallet?

— Reply to this email directly, view it on GitHub https://github.com/atlaschiew/bitcoin-cryptocurrency-tutorial/issues/14#issuecomment-1128952858, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCBD6FLKQI3QD7OEZ2JMHLVKOVI5ANCNFSM5UU5BGFQ . You are receiving this because you authored the thread.Message ID: @.*** com>

atlaschiew commented 2 years ago

long story short, you need a special script to withdraw from all unique addresses, since u already master how to transfer trc20 token, then it should not be a problem you do this.

another security tips for you, since u keep all private keys of unique addresses in server, therefore you will be in risk of key leaky, always withdraw from unique addresses is definitely a wise action :)