Transfer
Transfer in Parachain
Native Token
The native token includes HKO/PARA, which is implemented by pallet_balance. transactions' fee is charged by the native token. and then can be transferred through the Balance module. it's an ordinary on-chain transfer transaction.
Non-Native Token
Besides the native token, the other assets are implemented by pallet_assets. assets must be registered first. and then can be transferred through the Assets module. it's an ordinary on-chain transfer transaction.
Transfer Between Parachain and Relaychain
when transferring from Relaychain to Parachain, it's called a DMP transaction. when transferring from Parachain to Relaychain, it's called a UMP transaction.
Currently, Assets transfer between parachain and relaychain are KSM/DOT. Once mint asset on parachain, the following transferring is the same as Non-Native Token
.
DMP
Downward Message Passing, allows the relay chain to pass messages down to one of their parachains. Transferring is one of the messages. it will lock assets on relaychain and mint assets on parachain.
UMP
Upward Message Passing, allows parachains to send messages to their relay chain. Transferring is one of the messages. it will burn assets on parachain and unlock assets on relaychain.
Transfer Between Parachains
It's called HRMP about this transferring. the logic is the same as Relaychain and Parachain
, and then transferring is the same as Non-Native Token
.
Last updated