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

Support for Foreign Assets on Assets Hub chains (Statemine / Statemint) #1287

Closed
IkerAlus opened this issue May 30, 2023 · 1 comment
Closed
Assignees
Labels
B7 - Runtime Noteworthy PR contains fixes relevant to current Substrate runtime I8 - Enhancement Additional feature request P5 - Sometime Soon Worth doing soon

Comments

@IkerAlus
Copy link
Contributor

Proposed Feature

Statemine runtime v9420 and (most likely) Statemint runtime v9430 will have support for foreign fungible assets. This will allow other parachains to represent their assets, as well as bridges to represent assets from other networks. Hence external teams with an integration with Assets Hub chains, particularly exchanges, will be interested in querying the foreign asset information from the chain. That is why API Sidecar should allow to query such information.

This feature is realized by the addition of a new pallet, foreignAssets, to these runtimes. This new pallet has the same interface than the well-known assets pallet, thus a good approach may be to add similar endpoints to API Sidecar to query the storage of this new pallet. Following the current endpoints for assets pallet this could be:

  • GET /accounts/{accountID}/asset-balances
  • GET /accounts/{accountID}/asset-approvals
  • GET /pallets/assets/{assetID}/asset-info

Additional Information

Check the respective PRs for Statemine and Statemint to learn the details of the feature.

@IkerAlus IkerAlus added the I8 - Enhancement Additional feature request label May 30, 2023
@Imod7 Imod7 added I8 - Enhancement Additional feature request and removed I8 - Enhancement Additional feature request labels Jul 12, 2023
@IkerAlus IkerAlus added B7 - Runtime Noteworthy PR contains fixes relevant to current Substrate runtime P5 - Sometime Soon Worth doing soon labels Jul 20, 2023
@IkerAlus
Copy link
Contributor Author

partially done in #1314

Closing this for now and reconsidering the remaining functionality in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7 - Runtime Noteworthy PR contains fixes relevant to current Substrate runtime I8 - Enhancement Additional feature request P5 - Sometime Soon Worth doing soon
Projects
None yet
Development

No branches or pull requests

2 participants