验证签名

所属分类:区块链开发
开发工具:Ruby
文件大小:1KB
下载次数:1
上传日期:2020-07-25 17:41:28
上 传 者GQQQy
说明:  CKB区块链项目的签名验证脚本,可以测试脚本
(verify script with CKB proj)

文件列表:
tx-verify.rb (1130, 2020-06-30)

## introduce generate a mocked tx ## request - ruby - bundler - ckb-cli ## usage ### install deps `bundler install` ### Generate and verify - generate `bundler exec ./tx-mock.rb {path-of-code} pubkey signature` e.g. : your pubkey is `0x123123` ,your signature is `0x***7***7` ,elf is located at `./sm2` then the command is ```bundler exec ./tx-mock.rb ./sm2 0x123123 0x***7***7``` - verify via ckb-cli `ckb-cli mock-tx verify --tx-file=tx-mocked.json`

近期下载者

相关文件


收藏者