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

Foreign Assets reserve backed transfer #978

Open
green-jay opened this issue Feb 22, 2024 · 0 comments
Open

Foreign Assets reserve backed transfer #978

green-jay opened this issue Feb 22, 2024 · 0 comments

Comments

@green-jay
Copy link

The implementation of MultiNativeAsset rejects assets whose origin is not from the reserve location.

This is an issue for integrating with foreign assets on Asset Hub as the origin will be Asset Hub Location {parents: 1, interior: X2(Parachain(1000))} and the Asset Location will be {parents: 2, interior: X2(Ethereum, AccountKey20(CONTRACT_ADDRESS))}

This change will need to be made so that we reserve transfer foreign assets.

Here is an example of checking for reserves for Ethereum assets from Asset Hub: https://github.com/Snowfork/polkadot-sdk/blob/snowbridge/cumulus/parachains/runtimes/testing/penpal/src/xcm_config.rs#L319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant