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

[XCM in SCs] Support cross-chain transfers for ERC-20 and ERC-721 #7523

Open
Tracked by #6775
tiagobndr opened this issue Feb 10, 2025 · 0 comments
Open
Tracked by #6775

[XCM in SCs] Support cross-chain transfers for ERC-20 and ERC-721 #7523

tiagobndr opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
I10-unconfirmed Issue might be valid, but it's not yet known. T6-XCM This PR/Issue is related to XCM. T7-smart_contracts This PR/Issue is related to smart contracts.

Comments

@tiagobndr
Copy link

Support cross-chain transfers for ERC-20 and ERC-721

This issue is related to #6775

Background

With the arrival of smart contracts to Asset Hub, more assets will be deployed and managed via contracts instead of native runtime assets. However, AssetTransactor currently lacks the capability to handle assets controlled by smart contracts, making it impossible to teleport or perform reserve transfers of ERC-20 or ERC-721 tokens across chains.

Summary

Extend AssetTransactor to support cross-chain transfers (teleports & reserve transfers) for assets defined in smart contracts. This includes smart contracts implementing the ERC-20 and ERC-721 standards, ensuring they can be referenced using AssetId.

To enable seamless interoperability, we need to introduce adapters that allow these assets to be referenced using AssetIds, such as:

Example reference: [GlobalConsensus(Westend), Parachain(1000), AccountKey20(...)]

Task Breakdown:

  • Implement adapters for smart contracts that implement both ERC-20 and ERC-721 token standards
  • Extend AssetTransactor to handle teleports & reserve transfers for contract-based assets
  • Testing & Validation
@tiagobndr tiagobndr added T6-XCM This PR/Issue is related to XCM. T7-smart_contracts This PR/Issue is related to smart contracts. labels Feb 10, 2025
@github-actions github-actions bot added the I10-unconfirmed Issue might be valid, but it's not yet known. label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I10-unconfirmed Issue might be valid, but it's not yet known. T6-XCM This PR/Issue is related to XCM. T7-smart_contracts This PR/Issue is related to smart contracts.
Projects
None yet
Development

No branches or pull requests

2 participants