diff --git a/package.json b/package.json index 0ec6d56..5f7aec9 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "dependencies": { "aes-js": "^3.1.1", "bs58check": "^2.1.2", + "ethereum-cryptography": "^0.1.3", "ethereumjs-util": "^7.0.2", - "hdkey": "^2.0.1", "randombytes": "^2.0.6", "scrypt-js": "^3.0.1", "utf8": "^3.0.0", diff --git a/src/hdkey.ts b/src/hdkey.ts index 6c6f5d4..295c728 100644 --- a/src/hdkey.ts +++ b/src/hdkey.ts @@ -1,6 +1,6 @@ import Wallet from './index' -const HDKey = require('hdkey') +import { HDKey } from 'ethereum-cryptography/hdkey' export default class EthereumHDKey { /**