New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Approve the transaction when sell token #7
Comments
Hi @thanglv1302 ,
Regards |
@religion-counter thank you for sharing, I got it. I see you that very good about crypto. Could you sharing the document about API web3? Example: Why do you know the first sell need implement approve transaction? |
Thanks @thanglv1302 , I am not very good, I am just learning like you. I just like the information sharing.
Which means that the sender have to approve the token for spending to to the router address. |
Thanks, @religion-counter, you are truly humble. Thanks to your sharing, I have coding finish the bot. |
Hi @religion-counter, I have a question about the source code in "sell-onlyone-pancakeswap.js" file:
What approves the transaction when sell the token? Is it necessary or not?
I have commented code about Approve ONLYONE spend from line 50 - 67. I have still sell the token. Can you explain it , please?
onlyone/helper-scripts/sell-onlyone-pancakeswap.js
Line 50 in c402ad3
The text was updated successfully, but these errors were encountered: