pendulum-chain/pendulum

Enable Pendulum assets to be transferable via XCM

Closed this issue · 3 comments

Context

As part of the XCM channel opened with Pendulum and other parachains, the PEN, USDC, BRL, XLM, TZS, and EURC tokens need to be transferred seamlessly via XCM. This will enable their utilization in various ways, including the option to lock them for minting other assets.

User Story

As a holder of PEN, USDC, BRL, XLM, TZS, and EURC tokens, I must be able to transfer these tokens to other parachains (that have enabled these assets) so that I can fully utilize these tokens as needed.

Task

Update XCM pallet (inspiration from Interlay) such that the following assets are transferable to Polkadot parachains with open XCM channels:

  • Native: PEN, EURC
  • Spacewalk: USDC / BRL / XLM / TZS

Consider:
- Enable PEN to be transferred to any parachain, not just Equilibrium.
- Enable future native tokens (e.g. EURC) to be transferable to other parachains (e.g. Moonbeam)

@bogdanS98 As discussed yesterday, this ticket is a "quick fix" ticket that does not require to install the xc registry pallet but is just to add PEN directly to the CurrencyId <-> MultiLocation conversion function.

The Multilocation should just be a reference to pallet-balances.

ebma commented

Let's also add this change to all our runtimes and not just Pendulum. All of them should be able to transfer their native token via XCM to connected parachains (and are not able to do so yet).