Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Rococo: add dispatchable call to transfer ROC/DOT/KSM to parachains #2564

Open
shaunxw opened this issue Mar 5, 2021 · 8 comments
Open

Rococo: add dispatchable call to transfer ROC/DOT/KSM to parachains #2564

shaunxw opened this issue Mar 5, 2021 · 8 comments

Comments

@shaunxw
Copy link
Contributor

shaunxw commented Mar 5, 2021

Relay chain tokens will be used in parachains, currently there is no way to send ROC/DOT/KSM to parachains. Adding a dispatchable call is needed to do this. It was supported in rococo v0 but not in v1.

Along with the dispatchable call to transfer tokens, a "registry" would be helpful to indicate if a parachain can handle receiving transfer, since not every parachain actually does. If not, the call should fail early to prevent loss. I know it's common design to just let tokens be gone if recipient address doesn't handles it, but in this case we could do better and make token holders less likely to make mistakes.

The above "registry" could be generalized into categories, to not only guard tokens transfer from relay chain to parachains, but also all XCM assets transfer.

cc @shawntabrizi @xlc

@brenzi
Copy link
Contributor

brenzi commented Mar 7, 2021

Encointer needs this feature in order to fulfill its common good parachain manifesto

@riusricardo
Copy link
Contributor

riusricardo commented Mar 18, 2021

cc: @bertstachios
Looping you in to track it.

@brenzi
Copy link
Contributor

brenzi commented May 11, 2021

What's the state and priority of this? I reckon this is a crucial feature for Statemint too @joepetrowski?

@joepetrowski
Copy link
Contributor

Can we close based on #2995 ?

@xlc
Copy link
Contributor

xlc commented May 11, 2021

No. #2995 only enable teleport to trusted chain. It doesn't work for other parachains.

@clangenb
Copy link

Is there any roadmap to alleviate the trusted requirement, or to add trusted parachains with a root call or something the like?

@brenzi
Copy link
Contributor

brenzi commented May 12, 2021

So "trusted" means that #2995 doesn't ensure that the parachain respects its DOT balance and doesn't create new DOT?

@xlc
Copy link
Contributor

xlc commented May 12, 2021

will be closed by #3010

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants