Skip to content
New issue

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

[META] XCM Cookbook Asset Guides #4377

Open
liamaharon opened this issue May 4, 2024 · 1 comment
Open

[META] XCM Cookbook Asset Guides #4377

liamaharon opened this issue May 4, 2024 · 1 comment
Labels
T11-documentation This PR/Issue is related to documentation.

Comments

@liamaharon
Copy link
Member

liamaharon commented May 4, 2024

An excellent new 'Guides' section was added to the Polkadot SDK docs in #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

@liamaharon liamaharon mentioned this issue May 4, 2024
3 tasks
@liamaharon liamaharon added the T11-documentation This PR/Issue is related to documentation. label May 4, 2024
@liamaharon liamaharon changed the title XCM Cookbook: Asset-related Guides [META] XCM Cookbook Asset Guides May 6, 2024
@lucasvo
Copy link

lucasvo commented May 9, 2024

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

  • Supply liquidity into an AMM
  • Execute a trade in an AMM
  • Deposit collateral into a lending market
  • Borrow collateral in a lending market
  • Wrap a token to receive a different token

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

  • EIP 4626 Tokenized Vault Standard
  • EIP 7540 Asynchronous tokenzied vault standard

Ideally we can create XCM messages with a similar structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T11-documentation This PR/Issue is related to documentation.
Projects
Status: Todo
Development

No branches or pull requests

2 participants