Polimec / polimec-node

Decentralized community-driven funding protocol for Web3
https://www.polimec.org/
GNU General Public License v3.0
12 stars 4 forks source link

:sparkles: Allow transfers to HydraDX #309

Closed vstam1 closed 1 month ago

vstam1 commented 4 months ago

What?

This PR enables the transfer of PLMC to and from HydraDX.

Why?

We opened a channel with HydraDX and we should now enable PLMC transfers.

How?

By setting the XcmReserveTransferFilter to Everything, meaning that we allow reserve based transfers of all assets on Polimec. This works as we only have PLMC, USDT, USDC and DOT as assets on Polimec. We do not allow users to create their own assets, and new assets can only be added by root. Note that transfers out of Polimec are less of a security concern then transfers in. We still only acknowledge AssetHub as the reserve of USD(T/C) + DOT. Any other asset being send to us from any other Parachain will be rejected. This means that we do not accept USD(T/C) and DOT from HydraDX directly, as we do not recognise HydraDX as a reserve for those currencies.

Testing?

Screenshots (optional)

Anything Else?

graphite-app[bot] commented 4 months ago

Graphite Automations

"Auto-assign PRs to author" took an action on this PR • (05/28/24)

1 assignee was added to this PR based on Juan Ignacio Rios's automation.