mirror of https://github.com/lukechilds/hdkey.git
JP Richardson
11 years ago
1 changed files with 12 additions and 0 deletions
@ -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 |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue