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 first 16 bytes of xUDT cell data as an amount #211

Closed
duanyytop opened this issue Jun 3, 2024 · 0 comments · Fixed by #212
Closed

Use first 16 bytes of xUDT cell data as an amount #211

duanyytop opened this issue Jun 3, 2024 · 0 comments · Fixed by #212
Assignees

Comments

@duanyytop
Copy link
Collaborator

Now the RGB++ SDK uses the whole xUDT cell data as an amount suitable for most scenarios. The xUDT protocol supports cell data with a length greater than 16 bytes.

See: https://blog.cryptape.com/enhance-sudts-programmability-with-xudt#heading-xudt-data-structures

To ensure the accuracy of xUDT cell data, the RGB++ SDK should cut the first 16 bytes as the xUDT amount.

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

Successfully merging a pull request may close this issue.

1 participant