AstarNetwork / astar-frame

Core frame modules for Astar & Shiden network.
Other
58 stars 38 forks source link

Cross-chain Asset Config #58

Closed Dinonard closed 2 years ago

Dinonard commented 2 years ago

Pull Request Summary

Adds pallet to handle mapping between local asset and cross-chain asset. Also handles payment rate for foreign assets.

The main idea is to provide simple pallet without intertwining it with pallet-assets or reinventing that pallet.

Note that at the moment it's not possible to add genesis config because MultiLocation isn't serializable. We should change this in polkadot repo.

TODO

Check list

Dinonard commented 2 years ago

@akru @Maar-io @codespool please review/approve.

This has been integrated into Shibuya (locally) and tested extensively.