Add HRMP Channel
Parachain A actions
hrmp.hrmpInitOpenChannel( recipient: 3000 //the other parachain you want to open the channel with proposedMaxCapacity: 1000 // specifies how many messages can be in the channel at once proposed_max_message_size: 102400 //specifies the maximum size of the messages )polkadotXcm.send( dest: V1 parents: 1 interior: Here message: V2 XcmV2Instruction: WithdrawAsset id: Concrete parents: 0 interior: Here fun: Fungible Fungible: 1_000_000_000_000 XcmV2Instruction: BuyExecution id: Concrete parents: 0 interior: Here fun: Fungible Fungible: 1_000_000_000_000 weightLimit: Unlimited XcmV2Instruction: Transact originType: Native requireWeightAtMost: 4_000_000_000 encoded: 0x3c00b80b0000e803000000900100 // our hrmpInitOpenChannel encoded call data XcmV2Instruction: DepositAsset assets: Wild::All maxAssets: 1 beneficiary: parents: 0 interior: Parachain(2000) )
Parachain B actions
Last updated