{"_id":"@dhealth/hd-wallets","_rev":"6-3528a3a422b7c21d7ffd0cad981da9f7","name":"@dhealth/hd-wallets","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@dhealth/hd-wallets","version":"1.0.0","description":"dHealth library to handle hierarchical deterministic wallets","author":{"name":"Grégory Saive from Using Blockchain Ltd","email":"greg@ubc.digital"},"main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"bip32":"^1.0.4","bip39":"^3.0.2","bip44-constants":"^8.0.5","bs58check":"^2.1.2","create-hash":"^1.2.0","create-hmac":"^1.1.7","crypto-js":"^4.0.0","js-sha3":"^0.8.0","tiny-secp256k1":"^1.1.3","tweetnacl":"^1.0.3"},"devDependencies":{"@dhealth/sdk":"1.0.3-alpha-202110081200","@types/bip32":"^1.0.2","@types/chai":"^4.2.9","@types/mocha":"^5.2.7","chai":"^4.1.2","coveralls":"^3.0.9","mocha":"^8.2.1","nyc":"^14.1.1","ts-node":"^7.0.0","tslint":"^6.0.0","typedoc":"^0.15.0","typemoq":"^2.1.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","lint:fix":"tslint --fix --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","doc":"typedoc --out \"ts-docs/$(npm run version --silent)\" src","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-hd-wallets.git"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/dhealthproject/dhealth-hd-wallets/issues"},"homepage":"https://github.com/dhealthproject/dhealth-hd-wallets#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"a83b6f942b02603db8c84f6e8056cf863b54c2c8","_id":"@dhealth/hd-wallets@1.0.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-JwF82NCbNEnkMGPxkKCVCBGtWcT4XkyAKs+xCGlthWxyWaCervlqJi3+crmql2VdzfUHl/hYOtMzKQEqgAmXkA==","shasum":"4352ede0385479fc64b793715619b8a59bfdf14d","tarball":"https://registry.npmjs.org/@dhealth/hd-wallets/-/hd-wallets-1.0.0.tgz","fileCount":50,"unpackedSize":344316,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpV5jf1OBYIOQdUNPZsFoS1gHE1AEAzAttViiz0Yp4vAiEApJRC0FLVAEvZatownxRBtJJFm83sjBGa1IcVC8RRiJQ="}]},"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hd-wallets_1.0.0_1634563559103_0.9670037640707041"},"_hasShrinkwrap":false},"1.1.0":{"name":"@dhealth/hd-wallets","version":"1.1.0","description":"dHealth library to handle hierarchical deterministic wallets","author":{"name":"Grégory Saive from Using Blockchain Ltd","email":"greg@ubc.digital"},"main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"bip32":"^1.0.4","bip39":"^3.0.2","bip44-constants":"^8.0.5","bs58check":"^2.1.2","create-hash":"^1.2.0","create-hmac":"^1.1.7","crypto-js":"^4.0.0","js-sha3":"^0.8.0","tiny-secp256k1":"^1.1.3","tweetnacl":"^1.0.3"},"devDependencies":{"@dhealth/sdk":"1.0.3-alpha-202110081200","@types/bip32":"^1.0.2","@types/chai":"^4.2.9","@types/mocha":"^5.2.7","chai":"^4.1.2","coveralls":"^3.0.9","mocha":"^8.2.1","nyc":"^14.1.1","ts-node":"^7.0.0","tslint":"^6.0.0","typedoc":"^0.15.0","typemoq":"^2.1.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","lint:fix":"tslint --fix --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","doc":"typedoc --out \"ts-docs/$(npm run version --silent)\" src","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-hd-wallets.git"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/dhealthproject/dhealth-hd-wallets/issues"},"homepage":"https://github.com/dhealthproject/dhealth-hd-wallets#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"774690c16e08772eabec258ec4f1388f9a3b207d","_id":"@dhealth/hd-wallets@1.1.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-IZ6YkLOhxGRnST/2PZTsg7zITVDqy1WtfVPXKBOALazeWao2yrFNqKwAeWEyjcnTJeLG5Oh4SWwoYrX2sI1R7Q==","shasum":"1e77091e0a47f608c6056a20a6ae2511d3f6ca23","tarball":"https://registry.npmjs.org/@dhealth/hd-wallets/-/hd-wallets-1.1.0.tgz","fileCount":52,"unpackedSize":355824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhn8L1CRA9TVsSAnZWagAA5fUP/A6gRJeazWqbXxFCaOfu\nY/aLy7liJwy+4lYtiWFoG+QazkEa1Rd6Lkl0shzIdxiucc1GPZSqwyg37pIn\nFctXvpqJBxL5aZIp8AfFNH3z3wFkihYU0HPIPebnJnUO/nCDbWZo5aWC5T4Y\ncKGrbFOyTNRHlZflhKhgNmF+P1/0gBvzkbZ83bLDfHcFu/5Cl7BukP1mQiUh\nUq8cVitOGJm4mlTS72xTuw0iSncJ0RTZ/BSD4RVd8xvzG5wd03IlCStA4ouM\n7+a28QXJMuTIjQevfC0NeDYMVx4FRGnLRnZ+JOqHXo+6wx9HN50MyLoz31k6\nIAf0wOHsWgkFTcO4Y2dEgKaL6R40EHYoleQe8bS3CjoWSs3zPFH/OgA75uqG\nL8jffFPXJTG0E6kTe0A4TnqLTzVkJkehKEUw1Y63WdrFSkYIWgQjMnTwmTee\nUV6SdB20dXpOU8VJDofKafV5WxbjN08PWh8InYNYuTPwt7pLDWSJx9ow5HW/\nb3q3FuGCkonPvkJXr73cSkUQWFkZUC5L55Uen1OXtL6Wo/8en8OWsUhiu7mJ\n0vavaIIz1RT6TJEF5zy/00KC5X6fnMgOEo/0jmXLvti5IlLYZBv96tYbDxp1\ntPWY93puQ30b2t93VKBBFvXJMS0o7Pz0kDfCMPvz/sXQA86HCAqG6CL7XmlS\ni+T4\r\n=jPq1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHeFOPutTgkyxXlR4snzUZs+kAQeczi73nSt/1mGQaXAiBudyg2J503WOn0wdfFL4F8WMnlNfEc8Co1/PNabDEDNA=="}]},"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hd-wallets_1.1.0_1637860085191_0.648532990651842"},"_hasShrinkwrap":false},"1.1.1":{"name":"@dhealth/hd-wallets","version":"1.1.1","description":"dHealth library to handle hierarchical deterministic wallets","author":{"name":"Grégory Saive from Using Blockchain Ltd","email":"greg@ubc.digital"},"main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"bip32":"^1.0.4","bip39":"^3.0.2","bip44-constants":"^8.0.5","bs58check":"^2.1.2","create-hash":"^1.2.0","create-hmac":"^1.1.7","crypto-js":"^4.0.0","js-sha3":"^0.8.0","tiny-secp256k1":"^1.1.3","tweetnacl":"^1.0.3","secp256k1":"^4.0.2"},"devDependencies":{"@dhealth/sdk":"1.0.3-alpha-202110081200","@types/bip32":"^1.0.2","@types/chai":"^4.2.9","@types/mocha":"^5.2.7","chai":"^4.1.2","coveralls":"^3.0.9","mocha":"^8.2.1","nyc":"^14.1.1","ts-node":"^7.0.0","tslint":"^6.0.0","typedoc":"^0.15.0","typemoq":"^2.1.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","lint:fix":"tslint --fix --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","doc":"typedoc --out \"ts-docs/$(npm run version --silent)\" src","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-hd-wallets.git"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/dhealthproject/dhealth-hd-wallets/issues"},"homepage":"https://github.com/dhealthproject/dhealth-hd-wallets#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"3d07bd9c305de0a20e55760a2402347c3522d57a","_id":"@dhealth/hd-wallets@1.1.1","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Hz5jfPyaGcnxt6C4sIHOIi1YxPUXCsWMJOigCzJm/Ibem1TXR2NspP/PbRiH7+IAnSYwDH1Qc8jf8wmMP2l/EQ==","shasum":"db6d2efb3a04e7ef03be967d9cebd54349cd73e8","tarball":"https://registry.npmjs.org/@dhealth/hd-wallets/-/hd-wallets-1.1.1.tgz","fileCount":52,"unpackedSize":363728,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoqnrCRA9TVsSAnZWagAADjYP/2CwfFohoQEMOkL5CPyJ\nZycNUov8qfYh/fB/MRWOXW2UMjG12B1grX1YcLAxmaF2D4B9OosjXyjm9Eo3\npC5SG+9sjDypjVKVTuqkg0OqXnL3KdqomgJB8Mmo7dBBztOLe40q8WJxrPl2\nmaqQBEbs/39uFoMhK7TVdu1G0TaXPImuwHwbkO4p+0yON3Oz0Asp4FcS41k+\nhjzllzv5elunXNlHGN6ISJw3xC1oHocMsBx/FAmQ652OK0XY5BSol67AxO8n\nbu8TL5IX1dQvnmP1hZF9oYKB+d+6/jSsIySj3rpGf2jOmp9WYGzFthIeK40V\n3laSc2ct5dC5N0dsiqJg3s2AnG98XjPlOsQMc2lFIkOcjiAdwHP3uEhN22N3\nB+UfnCRmRxG84Q6UqdZ9YrJeHFaiVClMq9nDSerzi2xy8stdicvQiIOn1MhA\nIHiM3PCeyOeb6zeFO2CtHv0bfY7hsyFSvAeK2rZV6lJKSKdaBwoKDNczhIcV\n9AHv7gHZ5f3ehcdDc2fOLSgyftXAAcR0uPCTSAr8OFibi9LHg7r2IyWlEowU\nij/QEmaDDM1qbGiJNdpN7/9ClaUtTnRvRs1XuA0oiapvL41wDGTmnLpwpQ4A\nGautvFLCUEZdpafhYGUs7OO5JIhTC7V94Gdg+Ns2zAz9mXBX2ClgOe/9XQ2b\nfhKs\r\n=bk8k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEmQElpU1tRtvR3sdxnFz3zv9Mvad6s7N30zDp+naYt1AiAn6RUE5iQjn7dUha61qYwrRr5CpuwR2dlsrXD4Lpm8Jg=="}]},"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hd-wallets_1.1.1_1638050283322_0.920365850132628"},"_hasShrinkwrap":false},"1.1.2":{"name":"@dhealth/hd-wallets","version":"1.1.2","description":"dHealth library to handle hierarchical deterministic wallets","author":{"name":"Grégory Saive from Using Blockchain Ltd","email":"greg@ubc.digital"},"main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"bip32":"^1.0.4","bip39":"^3.0.2","bip44-constants":"^8.0.5","bs58check":"^2.1.2","create-hash":"^1.2.0","create-hmac":"^1.1.7","crypto-js":"^4.0.0","js-sha3":"^0.8.0","tiny-secp256k1":"^1.1.3","tweetnacl":"^1.0.3","secp256k1":"^4.0.2"},"devDependencies":{"@dhealth/sdk":"1.0.3-alpha-202110081200","@types/bip32":"^1.0.2","@types/chai":"^4.2.9","@types/mocha":"^5.2.7","chai":"^4.1.2","coveralls":"^3.0.9","mocha":"^8.2.1","nyc":"^14.1.1","ts-node":"^7.0.0","tslint":"^6.0.0","typedoc":"^0.15.0","typemoq":"^2.1.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","lint:fix":"tslint --fix --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","doc":"typedoc --out \"ts-docs/$(npm run version --silent)\" src","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-hd-wallets.git"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/dhealthproject/dhealth-hd-wallets/issues"},"homepage":"https://github.com/dhealthproject/dhealth-hd-wallets#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"986abe2f1b55855b9a78a5958d15b3b4b4b126ed","_id":"@dhealth/hd-wallets@1.1.2","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-KletiEaqIjKIpyvk6F/6cAPzbZmnVh8yNzR8j8VOJosE82g6L2gJzOvAL44OnyedHVZcdpEhLsn6Xcz2HTdUdA==","shasum":"c83fd7c1a984e54feb8b66a1cd90738aacbc6195","tarball":"https://registry.npmjs.org/@dhealth/hd-wallets/-/hd-wallets-1.1.2.tgz","fileCount":52,"unpackedSize":364982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpuoTCRA9TVsSAnZWagAA12cQAJp5qAofDZYwPNz22mtc\nU7E0Zrq3+wUTManaCRlaA5A9X7TF/T7LVYVNUrRZhOa351Aax/FiFlBJLNZQ\nybCRrg76/llt5IUrpxM6SDPG62z94unXWlIejQ5TKGNxjHVsyDjN2pK/KOi+\nslzyo0SiXr4yhFrqmyNs9mOjv724Jxx0Blefu0tI132JYHkQK3VQY7nhbC3K\nFD1Alxcs/4WH2MgICW9iUq6YF6dtjNINV9Uxs4Qgql7joikuyR2LFEqEGgxv\n2wiuOWJ0UFUTTp4E1ND8gd6a8FJ+cvpugIGlNG2W6/CBZkF2btnvkwypKnMB\nIGcOrMPeOdqWq7GqsVzKklTE9rv6LxLGwSjBevqFwoPpNppVGftL5Ad1+JOu\nbs2SAM3e101hlqhwUSUzNN202wQksDcQOLSKHEbLUq6eQ6ZCO8XRC+XSCuuf\nOj7nEzD5szZ5Z4UdU8VBioldzHpi5ZQiuX4LGh1E+nuouW7xbmtbnhPKT3N6\n22x/tGxjWe6XZmmesjHwaxGYd4wIMu+NgEaTDPvDyfAzCbtVIMry5jzPH6X7\nMfohOI0+DcxczLkaVpi6KzOlGe66i+PzceyIQ4egiXhvHmLZqdh85Plb4rJo\n3Iq5IIksZySRH2pD/TdHaqdPL3Ttjo8viyc+KdBCwN8kyjRtGs+rJs861Yib\n/ZkR\r\n=S8HV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPcfY8z/fsv70LljBpTAMBQmVCJoZqVJivHXroGz5lwAIhAIGNFiPv2B9sprtFFofVr75S9T4VogDryzqfaS9QXEcc"}]},"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hd-wallets_1.1.2_1638328851254_0.3855420177928719"},"_hasShrinkwrap":false},"1.1.3":{"name":"@dhealth/hd-wallets","version":"1.1.3","description":"dHealth library to handle hierarchical deterministic wallets","author":{"name":"Grégory Saive from Using Blockchain Ltd","email":"greg@ubc.digital"},"main":"dist/index.js","typings":"dist/index.d.ts","directories":{"test":"test"},"dependencies":{"bip32":"^1.0.4","bip39":"^3.0.2","bip44-constants":"^8.0.5","bs58check":"^2.1.2","create-hash":"^1.2.0","create-hmac":"^1.1.7","crypto-js":"^4.0.0","js-sha3":"^0.8.0","tiny-secp256k1":"^1.1.3","tweetnacl":"^1.0.3","secp256k1":"^4.0.2"},"devDependencies":{"@dhealth/sdk":"1.0.3-alpha-202110081200","@types/bip32":"^1.0.2","@types/chai":"^4.2.9","@types/mocha":"^5.2.7","chai":"^4.1.2","coveralls":"^3.0.9","mocha":"^8.2.1","nyc":"^14.1.1","ts-node":"^7.0.0","tslint":"^6.0.0","typedoc":"^0.15.0","typemoq":"^2.1.0","typescript":"^3.8.3"},"scripts":{"pretest":"npm run build","build":"rm -rf dist/ && tsc","lint:all":"tslint --project .","lint:fix":"tslint --fix --project .","test":"mocha --ui bdd --recursive ./dist/test","test:cov":"nyc --reporter=lcov --reporter=text-summary npm t","test:coveralls":"npm run test:cov | coveralls","coveralls-report":"cat ./coverage/lcov.info | coveralls","doc":"typedoc --out \"ts-docs/$(npm run version --silent)\" src","version":"echo $npm_package_version"},"repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-hd-wallets.git"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/dhealthproject/dhealth-hd-wallets/issues"},"homepage":"https://github.com/dhealthproject/dhealth-hd-wallets#readme","nyc":{"exclude":["**/*.spec.js"]},"gitHead":"c927a66361d689e403c40c268c51be20cb75a16c","_id":"@dhealth/hd-wallets@1.1.3","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-KVR/Oy5hdrkI3dLQVrIMgzIkKa/v2l383xHk0KDfxRvgYVq01i1GRFMzDFKbtQsuonCE0WKw5o7N+kzJMTwE/g==","shasum":"b04140409626a61f483da84492a639b0c2b971b4","tarball":"https://registry.npmjs.org/@dhealth/hd-wallets/-/hd-wallets-1.1.3.tgz","fileCount":52,"unpackedSize":365198,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHr4aU7xgst3n39SGcviUVPCA5lH5F5d2FQHf+v9HkCAiEAui2nAQNbWVMLbGNP/QGN8QMQsA0l2mq2qbwReswy9pI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWXhwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxnA/9EIWoemYZXrshmNXzHFOkwzNqD0HNP6vWV4XbRA9Xec47OjrQ\r\njDgj+K3LD1Bp2Cecx2MhhCJefIa6Ke4H1SUnRZ/xZG04XBugG1YVZqcs0llN\r\n0ELf+qC6LlzsKPBAquj6/vLTp+Yq0rkpcSFx4WNXQP3ZTQSZ5vYLeQr3FrX1\r\n58ElOf+nWY8NcruGl51vZSML9xz9XG2neBP2yvzRFXJWLzi1oFEZx2efmau0\r\nWmwHFsVAYloS7IZYWfFgFD6Qn/bCRcZT0CVAPOaEwPXVa7BbNyFSVcpmhiTh\r\n3N71n5IHTVP81qM9lG17oTjqxgpLpefxqgQ3Mk/TyenneT+vtcUm3AixFC40\r\nHZ3D9WuOoivDyDd+VMiLMeved0A/GzPzF9IU0WIV7f/U7GEZPag4tz3XVVs0\r\ni5D9ovK6pF0H+dwlZHc0ZaGx12LL4EO5J+KLP/Hzr94pDdoPpefKh0uTT2uZ\r\nn0RJ6MlH/X76+jqQPhUge8fnwAumS0/ZmWqVfD15TCTQuwJAQXWicF1n6qgN\r\nyaMKfp16mBHRSxwRKYZSWKW7nJAKNGVpaPEqnkbZXwfa84zLDlHBW5G0NagE\r\nxzMoL8wkRO1Xr8+i7CuBzfLzWLTxTOYYBmuvDkmVqgHsg+RrFCHJf/LexGNu\r\ns331pjFwSjY1gZAr7gTn8JoUv5NQsvx4k2U=\r\n=pWkL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"maintainers":[{"name":"evias.be","email":"greg@evias.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hd-wallets_1.1.3_1650030704479_0.6977079748428188"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-18T13:25:59.055Z","1.0.0":"2021-10-18T13:25:59.283Z","modified":"2023-02-12T14:39:42.061Z","1.1.0":"2021-11-25T17:08:05.347Z","1.1.1":"2021-11-27T21:58:03.486Z","1.1.2":"2021-12-01T03:20:51.426Z","1.1.3":"2022-04-15T13:51:44.676Z"},"maintainers":[{"email":"greg@dhealth.foundation","name":"dhealthbot"},{"email":"greg@evias.be","name":"evias.be"}],"description":"dHealth library to handle hierarchical deterministic wallets","homepage":"https://github.com/dhealthproject/dhealth-hd-wallets#readme","repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-hd-wallets.git"},"author":{"name":"Grégory Saive from Using Blockchain Ltd","email":"greg@ubc.digital"},"bugs":{"url":"https://github.com/dhealthproject/dhealth-hd-wallets/issues"},"license":"BSD-2-Clause","readme":"# @dhealth/hd-wallets\n\n[![npm version](https://badge.fury.io/js/@dhealth%2Fhd-wallets.svg)][npm]\n[![Discord](https://img.shields.io/badge/chat-on%20discord-green.svg)][discord]\n\nHierarchical-deterministic (HD) wallets generator library for [dHealth Network](https://dhealth.network).\n\n**NOTE**: The author of this package cannot be held responsible for any loss of money or any malintentioned usage forms of this package. Please use this package with caution.\n\n## Requirements\n\n- Node.js 12 LTS\n\n## Installation\n\n`npm install @dhealth/hd-wallets`\n\n## Usage\n\n### Generating a mnemonic pass phrase\n\n```ts\n// examples/GeneratingAMnemonicPassPhrase.ts\n\nimport {MnemonicPassPhrase} from \"@dhealth/hd-wallets\";\n\n// random 24-words mnemonic\nMnemonicPassPhrase.createRandom();\n\n// random 12-words mnemonic\nMnemonicPassPhrase.createRandom('english', 128);\n\n// random 24-words mnemonic with french wordlist\nMnemonicPassPhrase.createRandom('french');\n\n// random 24-words mnemonic with japanese wordlist\nMnemonicPassPhrase.createRandom('japanese');\n\n```\n\n### Generating a password-protected mnemonic pass phrase seed (for storage)\n\n```ts\n// examples/GeneratePasswordProtectedSeedForRandomPassPhrase.ts\n\nimport {MnemonicPassPhrase} from \"@dhealth/hd-wallets\";\n\nconst mnemonic = MnemonicPassPhrase.createRandom();\nconst secureSeedHex = mnemonic.toSeed('your-password');\n\n```\n\n```ts\n// examples/GeneratePasswordProtectedSeedForRandomPassPhraseEmptyPassword.ts\n\nimport {MnemonicPassPhrase} from \"@dhealth/hd-wallets\";\n\n// Example 2: empty password for password-protected seed\nconst mnemonic = MnemonicPassPhrase.createRandom();\nconst secureSeedHex = mnemonic.toSeed(); // omit password means empty password: ''\n\n```\n\n### Generating a root (master) extended key\n\n```ts\n// examples/GeneratingARootMasterExtendedKeyForKnownPassPhrase.ts\n\nimport {MnemonicPassPhrase} from \"@dhealth/hd-wallets\";\n\n// Example 2: generate BIP32 master seed for known pass phrase\nconst words = 'alpha pattern real admit vacuum wall ready code '\n    + 'correct program depend valid focus basket whisper firm '\n    + 'tray fit rally day dance demise engine mango';\nconst mnemonic = new MnemonicPassPhrase(words);\n\n// the following seed can be used with `ExtendedKey.createFromSeed()`\nconst bip32Seed = mnemonic.toSeed(); // using empty password\n\n```\n\n```ts\n// examples/GeneratingARootMasterExtendedKeyForRandomPassPhrase.ts\n\nimport {MnemonicPassPhrase} from \"@dhealth/hd-wallets\";\n\n// Example 1: generate BIP32 master seed for random pass phrase\nconst mnemonic = MnemonicPassPhrase.createRandom();\nconst bip32Seed = mnemonic.toSeed();\n\n```\n\n### Generating a HD wallet (SYMBOL **mijin** and **mijinTest** compatible)\n\n```ts\n// examples/GeneratingAHDWalletPrivateNetworkCompatible.ts\n\nimport {NetworkType} from '@dhealth/sdk';\nimport {ExtendedKey, Network, Wallet} from \"@dhealth/hd-wallets\";\n\nconst xkey = ExtendedKey.createFromSeed('000102030405060708090a0b0c0d0e0f', Network.SYMBOL);\nconst wallet = new Wallet(xkey);\n\n// get master account\nconst masterAccount = wallet.getAccount();\n\n// get DEFAULT ACCOUNT\nconst defaultAccount = wallet.getChildAccount();\n\n// derive specific child path\nconst childAccount = wallet.getChildAccount('m/44\\'/4343\\'/0\\'/0\\'/0\\'', NetworkType.MIJIN_TEST);\n\n// get read-only wallet\nconst readOnlyWallet = new Wallet(xkey.getPublicNode());\nconst readOnlyAccount = readOnlyWallet.getPublicAccount(NetworkType.MIJIN_TEST);\n\n// get read-only DEFAULT ACCOUNT\nconst readOnlyDefaultAccount = readOnlyWallet.getChildPublicAccount();\n\n```\n\n### Generating a HD wallet (SYMBOL **public** and **publicTest** compatible)\n\n```ts\n// examples/GeneratingAHDWalletPublicNetworkCompatible.ts\n\nimport {NetworkType} from '@dhealth/sdk';\nimport {ExtendedKey, Network, Wallet} from \"@dhealth/hd-wallets\";\n\nconst xkey = ExtendedKey.createFromSeed('000102030405060708090a0b0c0d0e0f', Network.SYMBOL);\nconst wallet = new Wallet(xkey);\n\n// get master account\nconst masterAccount = wallet.getAccount();\n\n// get DEFAULT ACCOUNT\nconst defaultAccount = wallet.getChildAccount();\n\n// derive specific child path\nconst childAccount = wallet.getChildAccount('m/44\\'/4343\\'/0\\'/0\\'/0\\'', NetworkType.TEST_NET);\n\n// get read-only wallet\nconst readOnlyWallet = new Wallet(xkey.getPublicNode());\nconst readOnlyAccount = readOnlyWallet.getPublicAccount(NetworkType.TEST_NET);\n\n// get read-only DEFAULT ACCOUNT\nconst readOnlyDefaultAccount = readOnlyWallet.getChildPublicAccount();\n\n```\n\n### Signing with a HD wallet (SYMBOL compatible)\n\n```ts\n// examples/SigningWithAHDWalletPrivateNetworkCompatible.ts\n\nimport {Account, Deadline, EmptyMessage, NetworkType, TransferTransaction} from \"@dhealth/sdk\";\nimport {ExtendedKey, Network, Wallet} from \"@dhealth/hd-wallets\";\n\nconst xkey = ExtendedKey.createFromSeed('000102030405060708090a0b0c0d0e0f', Network.SYMBOL);\nconst wallet = new Wallet(xkey);\n\n// derive specific child path\nconst childAccount = wallet.getChildAccount('m/44\\'/4343\\'/0\\'/0\\'/0\\'', NetworkType.TEST_NET);\n\n// create a transfer object\nconst transfer = TransferTransaction.create(\n    Deadline.create(),\n    Account.generateNewAccount(NetworkType.TEST_NET).address,\n    [],\n    EmptyMessage,\n    NetworkType.TEST_NET);\n\n// sign the transaction with derived account\nconst generationHash = ''; // replace with network generation hash\nconst signedTx = childAccount.sign(transfer, generationHash);\n\n```\n## Getting help\n\nUse the following available resources to get help:\n\n- [dHealth Documentation][docs]\n- [Package Documentation][self-docs]\n- Join the community on [Discord][discord] \n- If you found a bug, [open a new issue][issues]\n\n## Contributing\n\nContributions are welcome and appreciated. \nCheck [CONTRIBUTING](CONTRIBUTING.md) for information on how to contribute.\n\n## License\n\nCopyright (c) 2019-2020, Grégory Saive for NEM.\nCopyright (c) 2021-present, Grégory Saive for dHealth Network, All rights reserved.\n\nLicensed under the [BSD-2 License](LICENSE).\n\n[self]: https://github.com/dhealthproject/dhealth-hd-wallets\n[self-docs]: https://dhealthproject.github.io/dhealth-hd-wallets/1.1.3\n[npm]: https://www.npmjs.com/package/@dhealth/hd-wallets\n[docs]: https://docs.dhealth.com\n[issues]: https://github.com/dhealthproject/dhealth-hd-wallets/issues\n[discord]: https://discord.gg/P57WHbmZjk\n","readmeFilename":"README.md"}