没有合适的资源?快使用搜索试试~ 我知道了~
js-dfinity-tx:该库提供了用于在JS中创建和验证TX的基本功能
共9个文件
md:3个
js:2个
json:2个
需积分: 9 0 下载量 149 浏览量
2021-05-02
20:34:10
上传
评论
收藏 71KB ZIP 举报
温馨提示
概要 该库提供了用于创建和验证tx的基本功能 安装 npm install dfinity-tx 用法 const DfinityTx = require ( 'dfinity-tx' ) const crypto = require ( 'crypto' ) // create a new tx const tx = new DfinityTx ( { version : 0 , to : new Uint8Array ( 20 ) , caps : 4 , ticks : 1000 , ticksPrice : 0 , nonce : 0 , data : new Uint8Array ( [ ] ) } ) // get properties from tx . ticks // 1000 // set properties tx . nonce = 1
资源推荐
资源详情
资源评论
收起资源包目录
js-dfinity-tx-master.zip (9个子文件)
js-dfinity-tx-master
.gitignore 13B
package.json 1KB
package-lock.json 326KB
.travis.yml 382B
index.js 4KB
README.md 2KB
tests
index.js 1KB
docs
spec.md 1KB
index.md 4KB
共 9 条
- 1
资源评论
橘子乔JVZI
- 粉丝: 28
- 资源: 4579
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功