π‘Using LightSpell API to generate valid XCM calls
To move assets between a parachain to another parachain or directly to the relay chain, we need to sign an extrinsic to create a proper XCM message
"XCM is too complicated"
When it comes to XCM, it appears that it's often seen as a complicated tech, even sometimes obscure. The fact is, it is not and by using the proper tools, you can teleport tokens very easily in several directions, in a trusless and interoperable way. Better than easy, these operations between chains are very fast (about a minute) and not too costy regarding gas.
LightSpell and ParaSpell: the secret ingredients
To teleport our assets, we'll use LightSpell XCM API and Paraspell XCM SDK which are two very handy tools facilitating the task. Basically, these tools are doing the computation allowing us to focus on what we really want to achieve. A bit like Squid before, we just have to forge a proper route request to obtain a valid XCM call, easily executable later on.
Asking for a XCM route using ParaSpell API
Last updated