Content
@
0 reply
0 recast
0 reaction
Ael π©π
@ael-dev
Bounty for: In-depth explanation of how to convert DEGEN to WETH on L3 Degen Chain at a programmatic level without touching a web interface at all. The response should include the exact process for interacting directly with the smart contracts, detailing the steps of conversion programmatically. Please provide code snippets for the crucial parts of the contract interaction and links to the relevant smart contracts responsible for the conversion. Amount: 10000 DEGEN Deadline: 10/10/2024 @bountybot
7 replies
3 recasts
7 reactions
0xdiablo
@0xdiablo
i used chatgpt and I don't know if i came close or not, but the codes successfully approved the token transfer but the swap didnt go through, not sure if it was because i don't have a lot of degen (I only have 7 degen on degenchain), gaslimit settings or it's something around the UniswapV2Router (which works perfectly on degenswap dex btw). Also the transactions kept running, costing Degen in gas, but you can check out the codes in the doc and modify them to work https://eu.docworkspace.com/d/sIG2ElJ6KAvGkyrcG
1 reply
0 recast
0 reaction
Ael π©π
@ael-dev
How much degen you spent on gas? I can try to compensate you if it's not too crazy. I have similar code that seemingly goes through all the steps correctly, but the actual swap doesn't happen.
2 replies
0 recast
0 reaction