ckb-cell / rgbpp-sdk

Utilities for Bitcoin and RGB++ asset integration
ISC License
53 stars 15 forks source link

fix(ckb): load the first 16 bytes of the XUDT cell data #212

Closed ShookLyngs closed 1 month ago

ShookLyngs commented 1 month ago

Changes

Reference

ref: https://blog.cryptape.com/enhance-sudts-programmability-with-xudt#heading-xudt-cell

XUDT cell
On top of sUDT, xUDT extends a cell as follows:

data:
    <amount: uint128> <xudt data>