xcm-tools icon indicating copy to clipboard operation
xcm-tools copied to clipboard

Perform automatic swap when user doesn't have ED in DOT/KSM or USDT/USDC on AHP/K

Open dudo50 opened this issue 7 months ago • 1 comments

Inspiration credit belongs to: https://hackmd.io/@n9QBuDYOQXG-nWCBrwx8YQ/SJ-rbyFkee

This should happen under the hood. Firstly, check whether the message works out by dry running, and if not, then try to dry run the exchange message. If it works, then send the exchange message.

The feature should be out in v1.5.1 runtime, so we can pre-prepare and enable it once released.

dudo50 avatar May 08 '25 11:05 dudo50

If it works, then send the exchange message.

Then do the cross-chain transfer with the exchange.

franciscoaguirre avatar May 08 '25 11:05 franciscoaguirre