paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.76k stars 631 forks source link

[META] XCM Cookbook Asset Guides #4377

Open liamaharon opened 4 months ago

liamaharon commented 4 months ago

An excellent new 'Guides' section was added to the Polkadot SDK docs in https://github.com/paritytech/polkadot-sdk/pull/2633.

We should collect a list of common XCM messages related to Asset movement and management in this issue, and work on adding guides for them.

Best way to build the list would be looking at existing XCM use cases, and also surveying the ecosystem.

Sub-issues

lucasvo commented 4 months ago

I think we need to support the most common cross project use cases that DeFi supports today:

I would look at intents and Uniswap X to see how users sign trade messages today in EVM and I would look at:

Ideally we can create XCM messages with a similar structure.