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

rc lock generator #222

Open
3 tasks done
Tracked by #217
cryptowen opened this issue Oct 14, 2021 · 0 comments
Open
3 tasks done
Tracked by #217

rc lock generator #222

cryptowen opened this issue Oct 14, 2021 · 0 comments
Assignees

Comments

@cryptowen
Copy link
Contributor

cryptowen commented Oct 14, 2021

The new version of rc lock supports changing committee without change the lockscript itself. We should use it instead of normal multisig lock in CKB handler.

PR: nervosnetwork/ckb-production-scripts#38

Write a generator and an associated demo to finish following tasks:

  • generate a multisig lock
  • unlock this lock
  • change multisig committee

Do it separately(or in ckit lib), and integrate with force bridge later.
The rc lock may take some time to understand.
And the implementation may involve SMT proof generation, which lacks of JavaScript library now. We may have to implement one or a wrapper over the rust library.

@cryptowen cryptowen changed the title rc lock generator. The new version of rc lock supports changing committee without change the lockscript itself. We should use it instead of normal multisig lock in CKB handler. rc lock generator Oct 14, 2021
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