cryptape / ckb-crypto-demo

Fundamental cryptography libraries for CKB
4 stars 4 forks source link

Demo写一个解锁脚本 #12

Closed timfaner closed 4 years ago

timfaner commented 4 years ago

链上运行定位不到问题 需要使用gdb

timfaner commented 4 years ago

锁定代码 ckb syscall 读取参数

timfaner commented 4 years ago

需要用molecule 编译时候有些问题

/code/examples/molecule_builder.h: In function 'void mol_pack_number(uint8_t, mol_num_t)': /code/examples/molecule_builder.h:21:65: error: taking address of rvalue [-fpermissive] 21 | #define is_le() ((unsigned char )&(uint16_t){1})