Once I used the ERC-20 token contract template to publish a token, is it possible to swap directly?
Hi, welcome to the community!
swap directly? Do you mean in your publish token contract?
And if possible, you can share your code at there.
1 Like
you need to provide liquidiy to be able to swap any tokens.
1 Like
I do not find a function to swap in your code. So just like Team_X
said, maybe you can provide liquidity in a DEX, like Uniswap, then users can swap, or you can add a function to swap in your original token contract.
1 Like
Good answer!
Thanks a lot!
1 Like