We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultiAsset
NFT in ORML is represented by MultiAsset::ConcreteNonFungible:
MultiAsset::ConcreteNonFungible
class
MultiLocation::X2(Junction::Parachain, Junction::GeneralIndex)
ClassId
orml-nft
instance
AssetInstance::Index
TokenId
Send cross-chain NFT have different scenarios. We use A as parachain 1, B as parachain 2, and R as the reserve chain where NFT issued.
A
B
R
dest
For all cross-chain sending, Alice is the sender and Bob is the receiver.
Alice
Bob
Alice.WithdrawAsset { assets: nft, effects: DepositReserveAsset { assets: all, dest: A, effects: DepositAsset { assets: all, dest: Bob } } }
Alice.WithdrawAsset { assets: nft, effects: InitiateReserveWithdraw { assets: all, reserve: R, effects: DepositAsset { assets: all, dest: Bob } } }
Alice.WithdrawAsset { assets: nft, effects: InitiateReserveWithdraw { assets: all, reserve: R, effects: DepositReserveAsset { assets: all, dest: B, effects: DepositAsset { assets: all, dest: Bob } } } }
The text was updated successfully, but these errors were encountered:
Will wait for paritytech/polkadot-sdk#327
Sorry, something went wrong.
No branches or pull requests
The
MultiAsset
representation of NFT.NFT in ORML is represented by
MultiAsset::ConcreteNonFungible
:class
:MultiLocation::X2(Junction::Parachain, Junction::GeneralIndex)
.ClassId
inorml-nft
.instance
:AssetInstance::Index
.TokenId
inorml-nft
.Sending NFT
Send cross-chain NFT have different scenarios. We use
A
as parachain 1,B
as parachain 2, andR
as the reserve chain where NFT issued.R
to chainA
.R
:A
's reserve account.A
, a NFT could be created under thedest
, and a mapping of IDs onR
toA
would be stored.A
back to chainR
.A
, the created NFT would be removed, along with the mapping.R
, the NFT would be transferred fromA
's reserve account todest
.A
to chainB
(viaR
).A
, the created NFT would be removed, along with the mapping.R
, the NFT would be transferred fromA
's reserve account toB
's.B
, a NFT would be created under thedest
, and a mapping of IDs onR
toB
would be stored.Pseudo XCM
For all cross-chain sending,
Alice
is the sender andBob
is the receiver.From chain
R
to chainA
.From chain
A
to chainR
.From chain
A
to chainB
.The text was updated successfully, but these errors were encountered: