From 6bbffa5eab5cf4b33a0d9a179416f7e82c9f5a3b Mon Sep 17 00:00:00 2001 From: JP Richardson Date: Wed, 28 May 2014 18:13:42 -0500 Subject: [PATCH] start of hdkey --- lib/hdkey.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/hdkey.js b/lib/hdkey.js index e69de29..b8a50b6 100644 --- a/lib/hdkey.js +++ b/lib/hdkey.js @@ -0,0 +1,12 @@ + + +//Bitcoin hardcoded by default, can use package `coininfo` for others +var VERSIONS = {private: 0x0488ADE4, public: 0x0488B21E} + +function HDKey(seed, versions) { + if (seed == null) throw new Error('Must pass a seed.') + if (!versions) + versions = VERSIONS + + +} \ No newline at end of file