aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-18 19:30:14 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-18 19:30:14 +0800
commit6d447fd8a509118dca4f52c4939782e67f4f1076 (patch)
tree03157c94ae8fc80b7102e063f2e081128fcac169 /packages
parent3eb08735d4d0fe4b046dd6b74f5ed503cf5c64e3 (diff)
downloaddexon-sol-tools-6d447fd8a509118dca4f52c4939782e67f4f1076.tar
dexon-sol-tools-6d447fd8a509118dca4f52c4939782e67f4f1076.tar.gz
dexon-sol-tools-6d447fd8a509118dca4f52c4939782e67f4f1076.tar.bz2
dexon-sol-tools-6d447fd8a509118dca4f52c4939782e67f4f1076.tar.lz
dexon-sol-tools-6d447fd8a509118dca4f52c4939782e67f4f1076.tar.xz
dexon-sol-tools-6d447fd8a509118dca4f52c4939782e67f4f1076.tar.zst
dexon-sol-tools-6d447fd8a509118dca4f52c4939782e67f4f1076.zip
Add hdnode dependency
Diffstat (limited to 'packages')
-rw-r--r--packages/subproviders/package.json1
-rw-r--r--packages/subproviders/src/globals.d.ts11
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json
index 8a222457d..56fc9bf8b 100644
--- a/packages/subproviders/package.json
+++ b/packages/subproviders/package.json
@@ -23,6 +23,7 @@
"es6-promisify": "^5.0.0",
"ethereumjs-tx": "^1.3.3",
"ethereumjs-util": "^5.1.1",
+ "hdkey": "^0.7.1",
"ledgerco": "0xProject/ledger-node-js-api",
"lodash": "^4.17.4",
"semaphore-async-await": "^1.5.1",
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts
index adef23806..ce7b46155 100644
--- a/packages/subproviders/src/globals.d.ts
+++ b/packages/subproviders/src/globals.d.ts
@@ -91,3 +91,14 @@ declare module 'web3-provider-engine' {
}
export = Web3ProviderEngine;
}
+
+// hdkey declarations
+declare module 'hdkey' {
+ class HDNode {
+ public publicKey: Buffer;
+ public chainCode: Buffer;
+ public constructor();
+ public derive(path: string): HDNode;
+ }
+ export = HDNode;
+}