2

We have successfully created the HRMP channel between two parachains and a relay chain.We want to transfer assets from one parachain(p1) to another parachain(P2), the channel is created from P1 to P2 (P1 ---> P2). For now we have observed that the assets are been transferred from sovereign account of P1 to sovereign account of P2, but what I want is the assets transfer between two parachains rather than two sovereign accounts.

The tutorial that I had followed Tranfer Assets with XCM tranfers, so how to achieve the message transfer between two parachains?

3
  • 1
    Can you share the XCM here you used for this?
    – Nuke
    Dec 21, 2022 at 16:44
  • 1
    I`ve used the polkadot xcm of version 0.9.32 Dec 22, 2022 at 5:26
  • 1
    I mean the xcm message itself, in full.
    – Nuke
    Dec 22, 2022 at 18:05

1 Answer 1

0

The link you shared is broken, and I can't see the instructions you have use, but you are probably missing the second part of a Reserve-backed transfers, where the destination receives the instruction and processes it, minting the correct amount of derivative assets.

Take a look in the documentation here: Reserve-backed transfers and a bunch of code examples here: https://github.com/paritytech/xcm-docs/blob/main/examples/src/1_transfers/reserve.rs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.