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

Use Single Use Lock instead of secp256k1 lock to mint xUDT for examples #267

Open
duanyytop opened this issue Aug 1, 2024 · 0 comments
Open
Assignees

Comments

@duanyytop
Copy link
Collaborator

Single Use Lock is similar to TypeID, using the uniqueness of the CKB out point to ensure the cell can only be unlocked once. It can be used for limited issuance of xUDT.

Now the xUDT example of rgbpp-sdk uses the secp256k1_blake160 lock to issue xUDT, which cannot ensure limited issuance. Therefore, using Single Use Lock to issue xUDT will better meet the needs of most Dapps.

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

No branches or pull requests

1 participant