Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 80ac8b2

Browse files
committed
Switching to hdkey from js-ethereum-cryptography.
1 parent 35df952 commit 80ac8b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"dependencies": {
4646
"aes-js": "^3.1.1",
4747
"bs58check": "^2.1.2",
48+
"ethereum-cryptography": "^0.1.3",
4849
"ethereumjs-util": "^7.0.2",
49-
"hdkey": "^2.0.1",
5050
"randombytes": "^2.0.6",
5151
"scrypt-js": "^3.0.1",
5252
"utf8": "^3.0.0",

src/hdkey.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Wallet from './index'
22

3-
const HDKey = require('hdkey')
3+
const { HDKey } = require('ethereum-cryptography/hdkey');
44

55
export default class EthereumHDKey {
66
/**

0 commit comments

Comments
 (0)