filecoin-client:Golang的filecoin客户端,支持离线签名,满足钱包交易所充值提现逻辑-源码

上传者: 42125867 | 上传时间: 2021-09-14 15:25:40 | 文件大小: 979KB | 文件类型: ZIP
Filecoin客户端 需要自行部署莲花节点: ://lotu.sh/en+getting-started 此库仅添加部分方法,但已经满足钱包充值提现逻辑了,如果需要其他方法,请叉后自行添加。 充值流程:获取高度,从本地高度遍历到高度,再根据高度获取区块链CID,根据区块链CID获取区块链的所有消息,判断消息的类型是否为0(0为发送Fil),和接收地址是否是本地的地址。 说明请查询client_test文件。 安装 go get github.com/myxtype/filecoin-client 使用 package main import ( "context" "github.c

文件下载

资源详情

[{"title":"( 54 个子文件 979KB ) filecoin-client:Golang的filecoin客户端,支持离线签名,满足钱包交易所充值提现逻辑-源码","children":[{"title":"filecoin-client-master","children":[{"title":"util_test.go <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"mpool_test.go <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"pkg","children":[{"title":"secp256k1","children":[{"title":"secp256k1.go <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"btcec","children":[{"title":"btcec.go <span style='color:#111;'> 37.61KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"field_test.go <span style='color:#111;'> 36.67KB </span>","children":null,"spread":false},{"title":"signature.go <span style='color:#111;'> 16.18KB </span>","children":null,"spread":false},{"title":"pubkey.go <span style='color:#111;'> 5.77KB </span>","children":null,"spread":false},{"title":"privkey.go <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"btcec_test.go <span style='color:#111;'> 28.92KB </span>","children":null,"spread":false},{"title":"ciphering_test.go <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"doc.go <span style='color:#111;'> 947B </span>","children":null,"spread":false},{"title":"secp256k1.go <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false},{"title":"bench_test.go <span style='color:#111;'> 4.87KB </span>","children":null,"spread":false},{"title":"privkey_test.go <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"ciphering.go <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"signature_test.go <span style='color:#111;'> 23.78KB </span>","children":null,"spread":false},{"title":"precompute.go <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"field.go <span style='color:#111;'> 51.73KB </span>","children":null,"spread":false},{"title":"genprecomps.go <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"example_test.go <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"gensecp256k1.go <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"pubkey_test.go <span style='color:#111;'> 9.16KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"chain_test.go <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"state.go <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"chain.go <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"local","children":[{"title":"main.go <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"version.go <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"state_test.go <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 473B </span>","children":null,"spread":false},{"title":"version_test.go <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"sigs","children":[{"title":"sigs.go <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"secp","children":[{"title":"init.go <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"bls","children":[{"title":"bls_bench_test.go <span style='color:#111;'> 720B </span>","children":null,"spread":false},{"title":"init.go <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"gas.go <span style='color:#111;'> 816B </span>","children":null,"spread":false},{"title":"mpool.go <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"wallet_test.go <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"types","children":[{"title":"types.go <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"message.go <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"block_header.go <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"keystore.go <span style='color:#111;'> 994B </span>","children":null,"spread":false}],"spread":false},{"title":"util.go <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false},{"title":"beacon.go <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"client_test.go <span style='color:#111;'> 926B </span>","children":null,"spread":false},{"title":"client.go <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"wallet.go <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"auth.go <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"local","children":[{"title":"wallet_test.go <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"wallet.go <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

  • weixin_50364023 :
    差评没有用
    2021-09-02
  • qq_38081900 :
    没什么作用,和描述的差的太远了,差评
    2021-03-27

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明