Open anton-trunov opened 3 months ago
Depends on #142 UPD: Not anymore!
I implemented this in my code here: https://github.com/crazybee69/TonDcaBot/blob/main/contracts/ton_dca_wallet.tact#L257
I spent a lot of time trying to send messages including structures, but I couldn't make it work. Native messages with CellBuilder it works well.
Here is API reference of StonFi: https://docs.ston.fi/docs/developer-section/api-reference/router#swap-0x25938561
Hello! Version 2 of ston.fi looks like it's in development. Should I make an example using version 2 contracts or stick to version 1?
Let's please target v2 as it's around the corner
Related issue: #146
Also, it would be nice to have an example of adding liquidity (as suggested by @Gusarich)