用 bip39 和 hdkey 替换掉 bitcore-mnemonic,前两者的node_modules有6M,而bcm 的有10M 而且无法在app里使用。

This commit is contained in:
Luk Lu
2020-02-23 13:24:52 +08:00
parent 0d1d768a68
commit e1985e73e6
2 changed files with 32 additions and 15 deletions

View File

@@ -4,9 +4,10 @@
"private": true,
"dependencies": {
"big-integer": "^1.6.48",
"bitcore-mnemonic": "^8.16.0",
"bs58check": "^2.1.1",
"bip39": "^3.0.2",
"bs58check": "^2.1.2",
"eccrypto": "^1.1.3",
"hdkey": "^1.1.1",
"js-crypto-key-utils": "^0.7.3",
"keccak": "^2.1.0",
"tweetnacl": "^1.0.3",