Skip to main content

Polkadot and Kusama Bridge Guides

Polkadot-JS is for developers and power users only. If you need help using the Polkadot-JS UI, you can contact the Polkadot Support Team. For more user-friendly tools see the wallets, apps and dashboard pages.

The fully functional Polkadot < > Kusama bridge facilitates secure asset transfers between the chains in both the ecosystems. The progress of Polkadot < > Kusama bridge implementation can be tracked here.

Polkadot < > Kusama Bridge is stuck.

Do not send DOT and KSM tokens through the bridge until Polkadot OpenGov Referendum 694 is enacted.

Transfer DOT to Kusama Asset Hubโ€‹

This tutorial shows how to transfer DOT on Polkadot Asset Hub to Kusama Asset Hub. The first step is to ensure that your account on Polkadot Asset Hub has enough DOT to cover the XCM transfer fee and the bridge fee (which is around 2 DOT). The next step is to craft an XCM message to be sent from Polkadot Asset Hub.

BagPipes (formerly called xcmsend) is an opensource application that lets you create workflows in a drag and drop style interface in order to build execution flows of cross chain assets transfers using XCM. Check Bagpipes docs for more information on how to create workflows for crafting XCM transfers. The snapshot below shows a workflow on BagPipes that is designed to send 3 DOT from an account Polkadot Asset Hub to Kusama Asset Hub.

BagPipes Snapshot DOT Transfer

This workflow crafts an XCM transfer as shown below.

{
"isSigned": false,
"method": {
"args": {
"dest": {
"V3": {
"parents": "2",
"interior": {
"X2": [
{
"GlobalConsensus": "Kusama"
},
{
"Parachain": "1,000"
}
]
}
}
},
"beneficiary": {
"V3": {
"parents": "0",
"interior": {
"X1": {
"AccountId32": {
"network": null,
"id": "0x9e4e7009937c56d267338762a60ed004293afd40e7c2081847c12cb63c76a818"
}
}
}
}
},
"assets": {
"V3": [
{
"id": {
"Concrete": {
"parents": "1",
"interior": "Here"
}
},
"fun": {
"Fungible": "30,000,000,000"
}
}
]
},
"fee_asset_item": "0",
"weight_limit": "Unlimited"
},
"method": "limitedReserveTransferAssets",
"section": "polkadotXcm"
}
}

Once this extrinsic is signed and submitted, it is broadcast to Polkadot Asset Hub nodes. As this is a reserve asset transfer, the DOT is transferred to the destination's sovereign account on Polkadot Asset Hub and the wrapped DOT is issued as a foreign asset and deposited onto the destination account on Kusama Asset Hub. The foreign asset balances of any account on Kusama Asset Hub can be queried on-chain through the foreignAssetspallet as shown below.

Wrapped DOT Balance

Transfer KSM to Polkadot Asset Hubโ€‹

This tutorial shows how to transfer KSM on Kusama Asset Hub to Polkadot Asset Hub. The first step is to ensure that your account on Kusama Asset Hub has enough KSM to cover the XCM transfer fee and the bridge fee (which is around 0.4 KSM). The next step is to craft an XCM message to be sent from Kusama Asset Hub.

The XCM transfer extrinsic shown below can be accessed here. If you plan on reusing this extrinsic, ensure that you change the Account ID and the transfer amount highlighted in the snapshot below.

PJS Snapshot KSM Transfer

Once this extrinsic is signed and submitted, it is broadcast to Kusama Asset Hub nodes. As this is a reserve asset transfer, the KSM is transferred to the sovereign account on Kusama Asset Hub and the wrapped KSM is issued as a foreign asset and deposited onto the destination account on Kusama Asset Hub. The foreign asset balances of any account on Kusama Asset Hub can be queried on-chain through the foreignAssetspallet as shown below.

Wrapped KSM Balance

Transfer of arbitrary assets between Polkadot Asset Hub and Kusama Asset Hubโ€‹

Transfer functionality of assets other than DOT and KSM between Asset Hubs is yet to be enabled. Once this functionality is enabled, assets which are sufficient or non-sufficient on the Asset Hubs can be bridged.

Avoid Asset Traps

To avoid issues on the receiving side for non-sufficient assets, make sure to call pallet_assets::touch() or pallet_assets::touch_other() effectively guaranteeing the ability to successfully receive and accept the bridged assets in your account on the destination chain. This eliminates issues like your account on destination not existing or not having enough ED or having reached the maximum limit of different assets it can hold. Without this sanity step, you risk that the bridged assets will make their way to the destination chain but will not be accepted by your account, and instead get trapped in the Asset Trap on the destination chain.

Once arbitrary asset transfers are enabled by the Asset Hubs, a guide will be posted to this Wiki page.