ethereumjs abi:以太坊ABI的解码器和编码器 源码

上传:contract_22114 浏览: 26 推荐: 0 文件:ZIP 大小:16.72KB 上传时间:2021-02-19 20:49:52 版权申诉
以太坊 用Javascript实现模块。 可以与RPC库进行通信,也可以与ethereumjs-vm一起使用以实现完整的模拟器。 用法 手动编码和解码 有三种感兴趣的方法: methodID创建函数签名 rawEncode编码字段和 rawDecode解码字段 示例代码: var abi = require ( 'ethereumjs-abi' ) // returns the encoded binary (as a Buffer) data to be sent var encoded = abi . rawEncode ( [ "address" ] , [ "0x00000000
上传资源
用户评论