open-runtime-module-library icon indicating copy to clipboard operation
open-runtime-module-library copied to clipboard

pallet-assets MultiCurrencyAdapter support

Open 0x8f701 opened this issue 4 years ago • 3 comments

currently orml-xtokens binds too tightly to orml-tokens, orml-currencies. It'll be good to support pallet-assets as well. Maybe we can have another MultiCurrencyAdapter for pallet-assets

0x8f701 avatar Sep 16 '21 02:09 0x8f701

You should be able to implement your own adapter. Moonbeam team is using xtokens with pallet-assets: https://github.com/PureStake/moonbeam/pull/680

xlc avatar Sep 16 '21 02:09 xlc

yes @xlc we did that also, I'm wondering shall this be in orml-xcm-support or not.

0x8f701 avatar Sep 16 '21 05:09 0x8f701

Contributions are welcome. Just that it needs to be feature gated to avoid pulling pallet-assets to projects that not using it.

xlc avatar Sep 16 '21 05:09 xlc