Closed lospringliu closed 3 years ago
- 完成@swtc/nativescript对最新nativescript v8的支持, 修复现有测试
- https://github.com/swtcca/swtclib/commit/257292d8d820e615f0f496c1d32fcc48700f74cb
- https://github.com/swtcca/swtclib/commit/1ab5597770eaf2d2964e3c13d1776b17c46a8783
eckey.js- sm.js ✅ -> @swtc/sm.js
- sm3.js ✅ -> @swtc/common/SM3
gm-cryptosm-crypto
- jingtum-lib-gm ✅
- jingtum-base-lib-gm ✅
- 所有底层保持接口不变 address-codec/keypairs/wallet/utils/serializer/transaction ✅
- 内部重构国密的支持 ✅
- 高层 rpc 重构,保持接口不变 ✅
- 高层 lib 优先考虑重构,保持接口不变 ✅
如果碰到意料外困难,改新增 lib-gm作完全隔离- 高层 api/proxy暂不更新, 有需求时再实现
- 删除 x-lib, 重构后 lib 和 rpc均支持所有相关公链 ✅
- 扩展所有Factory接口 以支持自定制井通链 ✅
- common + sm3.js ✅
- address-codec ✅
- keypairs + @swtc/sm.js ✅
- wallet ✅
- utils ✅
- serializer ✅
- transaction ✅
- rpc ✅
- lib ✅
新增TX方法erc721- 定制链支持 ✅
e033a42 re-arch finalize 0c6e691 (tag: @swtc/wallet@1.0.19, tag: @swtc/utils@1.0.15, tag: @swtc/transaction@1.0.21, tag: @swtc/serializer@1.0.16, tag: @swtc/rpc@1.0.10, tag: @swtc/proxy@1.0.20, tag: @swtc/lib@1.0.18, tag: @swtc/keypairs@1.0.17, tag: @swtc/common@1.0.23, tag: @swtc/api@1.0.15, tag: @swtc/address-codec@1.0.16) chore(release): publish a7f1658 re-arch to support private chains and test updates c75cc45 add npm run test:guomi and retire x-lib 596e6e3 lib + rpc higher level support tests f946a3a lib + rpc higher level support d3ec844 above implements key types d25519 + secp256k1 + sm2p256v1 455fcf2 utils + serializer + transaction middle level support 6d0b985 address-codec + keypairs + wallet lower level tests ffa4ff7 address-codec + keypairs + wallet lower level support 6de06d1 common + sm.js + sm3.js
git clone git@github.com:swtcca/swtclib.git
- cd swtclib; npm install
- npm run test:guomi
- npm run test:guomiapi
必要
服务国内,国密支持是刚需
要点
保持现有兼容性
揉入现有开发包
工天 - 18 (不含erc721)
同步新增TX方法/ 定制链支持