Closed gonzamontiel closed 3 years ago
This isn't ready to be merged yet, is it? We should turn it back into a draft again.
I didn't want this branch to grow a lot more, because history would differ a lot from #22. I prefer to merge this only with the Stellar amount
unharcoded and create successive PRs to unharcode assets
and accountId
.
This branch looks good and the deposit works. We will implement further improvements in subsequent tickets.
In this PR, we implemented a Multi Currency system with two default currencies, that we named
Native
andUSDC
. To achieve this, we made use of the Open Runtime Module Library, specifically the palletsorml_tokens
andorml_currencies
.The amount from the incoming Stellar Tx is now used to transfer funds (i.e. is not hardcoded anymoere), but the asset/currency is still fixed for the demo, and is always
USDC
.