diff --git a/package.json b/package.json index 014ff6f..9328cb0 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ "scryptsy": "^1.2.1", "aes-js": "^3.1.1", "bs58check": "^2.1.2", + "ethereum-cryptography": "^0.1.3", "ethereumjs-util": "^6.0.0", - "hdkey": "^1.1.1", "randombytes": "^2.0.6", "safe-buffer": "^5.1.2", "utf8": "^3.0.0", diff --git a/src/hdkey.js b/src/hdkey.js index ac95fdb..b7c4888 100644 --- a/src/hdkey.js +++ b/src/hdkey.js @@ -1,4 +1,4 @@ -const HDKey = require('hdkey') +const { HDKey } = require('ethereum-cryptography/hdkey') const Wallet = require('./index.js') function EthereumHDKey () {