encointer/encointer-node-pre2.0.0

write new pallet that supports multiple currencies

Closed this issue · 1 comments

pallet-balances only supports a single currency. We'll need to map CurrencyIdentifier to different balances
This pallet shall later support demurrage

The node would still have a standard balances module for xt fees (the NCTR token in Cantillon testnet)

one option is to use generic-asset and write a wrapper for demurrage.

Do not integrate this in encointer-currencies, because that will live transparently on-chain

Check this out too: https://github.com/laminar-protocol/open-runtime-module-library/tree/master/currencies