Repository navigation
Replies: 3 comments 11 replies
|
You need the abi to interact with a contract, to swap on GoSwap, you'll probably want the router contract so you can use this flag: The function is one of the swap ones like: swapExactTokensForTokens For approvals, that's part of the token itself which is an ERC20/GO20 contract, so you can use |
3 replies
|
Upgrade your |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I am an experienced CLI user. And I find the web3 CLI wallet is very cool and suit well for my needs.
I've got to understand how to set up and transfer both local tokens and ERC20 tokens to another address.
My next question is how can I interact with a smart contract as a user rather than developer?
I tried to find any answer from the README.md with no luck.
There're some topics relating to write contract which I am not very sure.
Can you give some details on interacting with smart contracts , e,g, to swap GO for USDC from goswap?
I think their are two steps, approve and make the swap, right?
I don't have any abi file as I am a normal user not the developer.
How Can I do that with web3 CLI client. Thanks.
All reactions