Closed Razorholt closed 2 years ago
Hi @Razorholt The to address should be the smart contract address. Hope it helps.
Hi @Razorholt The to address should be the smart contract address. Hope it helps.
Thanks @sc0Vu for your reply. However, when I try your solution the estimateGas function returns 'execution reverted'.
I searched for 3 days. Not a single example on the web or just an explanation on how to send a token from a smart contract to a wallet. So frustrating, man.
Apparently not even the owner of the project knows how to solve this or understands what's going on. lol
I've created example repo: https://github.com/web3p/examples
I've created example repo: https://github.com/web3p/examples
Dude, this is FANTASTIC!!! Exactly what I needed today. Thank you so much!! Now, a few questions on the swap example (if you don't mind):
Thank you again! -Dan
EDIT: Oh wait, 1700000000 must be the timestamp...
Hello! I created a simple smart contract that I deployed on the bsc testnet. Now, I would like to send XRP tokens from that smart contract to a wallet.
This doesn't work:
The transaction goes through but it sends 0 BNB (instead of 0.11 XRPs) from the senderOwner (instead of the smart contract) to the destination wallet (that one is good).
Thanks for your help!