How to create USDT TRC20 and ERC20 addresses for my wallet automatically via an api. I need to create USDT TRC20 and ERC20 addresses for a small exchange so that users can deposit their tokens, an address must be unique for each deposit transaction. However I can't find a documentation on a wallet that allows to do this. Do you have a solution for me? I use TRUST wallet. If Trust wallet is not suitable for this kind of transaction. What do you suggest?
1 Answer
Use Metamask or truffle-hd-wallet-provider
for creating address.You can create 'n' no of address
-
can I generate addresses by api with metamask?My goal is to automatically generate a different address for a wallet to track user deposits Commented Jun 5, 2021 at 8:31
-
you can use of
truffle-hd-wallet-provider
which will generate different address .NPM package @truffle/hdwallet-provider is available– kappaCommented Jun 5, 2021 at 8:56 -
Thank you, I am currently reading the documentation of this library. Do you know if a similar tool exists for the tron network with TRC20 tokens? Commented Jun 5, 2021 at 9:09
-
you can check
tron-wallet-hd
npm package for creating address in tron network //accept ans if satisfied– kappaCommented Jun 5, 2021 at 9:41