Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement remote locking for xtokens #935

Open
Chralt98 opened this issue Jul 16, 2023 · 3 comments
Open

Implement remote locking for xtokens #935

Chralt98 opened this issue Jul 16, 2023 · 3 comments

Comments

@Chralt98
Copy link
Contributor

Is there a plan to implement XCMv3 remote locks in orml_xtokens for a simple abstraction?

https://substrate.stackexchange.com/questions/9214/how-does-xcm-remote-locking-work

Would be great to have this, but I am too lazy to do it myself at the moment, because it's not that urgent.

@xlc
Copy link
Member

xlc commented Jul 16, 2023

No plan yet. Also remote locking won't be very useful for non system parachains as the tokens are locked in our parachains rather assets hub and I dont' think parachain teams will redo all the work to rebuild the parachains in such way to have the relay tokens stores on assets hub.

@Chralt98
Copy link
Contributor Author

Thanks for the answer. I don't understand. The asset hub is Statemine or Statemint, right?

What I have in mind is the following:

A user on Karura locks KAR and sets the unlocker to my custom parachain. Now my parachain can query the locked balance and sees that a user locked KAR and do a token holder vote with those KAR on my parachain, without the need of the user to transfer his KAR to my parachain (trustless).

@xlc
Copy link
Member

xlc commented Jul 19, 2023

Right. I see. That will be a valid use case. But Karura will need to support this remote voting as well, which shouldn't be hard IF the governance pallets provided by Substrate supports remove voting (which I don't see any issues about implementing those).

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

No branches or pull requests

2 participants