We propose to open HRMP communication between Pichiu and Karura.
We propose to open a bi-directional channel between Karura and Pichiu
The two primary use cases will be:
- To transfer Karura’s assets to Pichiu.
- Transfer PCHU to Karura to open new DEX pairs and integrate with Karura’s suite of DeFi products.
Technical details:
The procedure for opening the channels is as follows:
- Karura sends a open channel request from Karura to Pichiu HRMP channel.
- Pichiu accepts the Karura to Pichiu HRMP channel and opens a Pichiu to Karura HRMP channel.
- Karura proposes to register Pichiu’s assets via [Karura Governance].
- Wait until proposals 3 is approved & enacted.
- XCM based crosschain transfer will be possible at this stage.
The extrinsics that need to be sent with xcm messages to they can be executed on the relay chain , are:
- For step 1:
hrmp.hrmpInitOpenChannel(recipient: 2102, proposedMaxCapacity: 1000, proposedMaxMessageSize: 102400)
- For step 2:
The first call ishrmp.hrmpAcceptOpenChannel(sender: 2000)
, second call ishrmp.hrmpInitOpenChannel(recipient: 2000, proposedMaxCapacity: 1000, proposedMaxMessageSize: 102400)
- For step 4:
hrmp.hrmpAcceptOpenChannel(sender: 2102)