{"_id":"@aidpproject/aidpcoin-key","_rev":"6-240af8f4e0a2df8ae386c7ce453f8070","name":"@aidpproject/aidpcoin-key","dist-tags":{"latest":"2.8.6"},"versions":{"2.8.0":{"name":"@aidpproject/aidpcoin-key","version":"2.8.0","keywords":["Aidpcoin","BIP44","BIP39"],"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","_id":"@aidpproject/aidpcoin-key@2.8.0","maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"homepage":"https://github.com/aidpproject/aidpcoin-key#readme","bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"dist":{"shasum":"0ab95f93099d875ad7a7b41752c44b4e25e5a047","tarball":"https://registry.npmjs.org/@aidpproject/aidpcoin-key/-/aidpcoin-key-2.8.0.tgz","fileCount":6,"integrity":"sha512-v+SZvbNAzuVKUOjX85CJdZaka2dw3BbSpZzAPc0KYT94dcpQkTDN2hx3dJU4GY1JKYNp8yTq1dKI9WlVfRG6Yw==","signatures":[{"sig":"MEQCIC1ZXXckR5KqDvDnb5ZWYM6AtaQKmVUc7Pt7pEEENDCsAiAAkJKleNDplnKZRPhAMEaLOQmnm1Ou0iWKu1CkgswJ/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17362},"main":"dist/main.js","types":"dist/types.d.ts","module":"dist/module.js","source":"index.ts","gitHead":"66cc605de1a2f4d0d4bb8f954d610e589942538a","scripts":{"test":"jest ./test.js","build":"npx parcel build && npm run browserify","browserify":"browserify ./dist/main.js  --standalone AidpcoinKey -o ./dist/AidpcoinKey.js"},"_npmUser":{"name":"loloadsl","email":"loloadsl@hotmail.fr"},"repository":{"url":"git+https://github.com/aidpproject/aidpcoin-key.git","type":"git"},"_npmVersion":"10.2.4","description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","directories":{},"_nodeVersion":"20.11.1","dependencies":{"bip39":"^3.0.4","hdkey":"^2.0.1","coinkey":"^3.0.0","@hyperbitjs/chains":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.0","parcel":"^2.10.3","browserify":"^17.0.0","typescript":"^4.9.4","@types/node":"^18.14.0","@types/hdkey":"^2.0.3","@parcel/packager-ts":"^2.10.3","@parcel/transformer-typescript-types":"^2.10.3"},"_npmOperationalInternal":{"tmp":"tmp/aidpcoin-key_2.8.0_1709950227843_0.522159202064006","host":"s3://npm-registry-packages"}},"2.8.1":{"name":"@aidpproject/aidpcoin-key","version":"2.8.1","keywords":["Aidpcoin","BIP44","BIP39"],"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","_id":"@aidpproject/aidpcoin-key@2.8.1","maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"homepage":"https://github.com/aidpproject/aidpcoin-key#readme","bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"dist":{"shasum":"68c8a7ef3e40258bf7c8cc6e750fb1b2885e3fe1","tarball":"https://registry.npmjs.org/@aidpproject/aidpcoin-key/-/aidpcoin-key-2.8.1.tgz","fileCount":6,"integrity":"sha512-DZhmoHfE1bVa43AYdSY4rsKA5xiXD00nGsNREClST6ckqUR+LL4MTWYe6VtH73Y6U23VlQ9QTFEjMagXOQDQEw==","signatures":[{"sig":"MEUCIFnjEv7ATzZUCvB+osuBb1mm3rjD9Jexwv+jqrd7MJnKAiEA4YxWDhfhto+DN0E3quodZUQEYrNnODr94VfGHS4XcGA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17362},"main":"dist/main.js","types":"dist/types.d.ts","module":"dist/module.js","source":"index.ts","gitHead":"66cc605de1a2f4d0d4bb8f954d610e589942538a","scripts":{"test":"jest ./test.js","build":"npx parcel build && npm run browserify","browserify":"browserify ./dist/main.js  --standalone AidpcoinKey -o ./dist/AidpcoinKey.js"},"_npmUser":{"name":"loloadsl","email":"loloadsl@hotmail.fr"},"repository":{"url":"git+https://github.com/aidpproject/aidpcoin-key.git","type":"git"},"_npmVersion":"10.2.4","description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","directories":{},"_nodeVersion":"20.11.1","dependencies":{"bip39":"^3.0.4","hdkey":"^2.0.1","coinkey":"^3.0.0","@hyperbitjs/chains":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.0","parcel":"^2.10.3","browserify":"^17.0.0","typescript":"^4.9.4","@types/node":"^18.14.0","@types/hdkey":"^2.0.3","@parcel/packager-ts":"^2.10.3","@parcel/transformer-typescript-types":"^2.10.3"},"_npmOperationalInternal":{"tmp":"tmp/aidpcoin-key_2.8.1_1709993780978_0.8337900652515444","host":"s3://npm-registry-packages"}},"2.8.2":{"name":"@aidpproject/aidpcoin-key","version":"2.8.2","keywords":["Aidpcoin","BIP44","BIP39"],"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","_id":"@aidpproject/aidpcoin-key@2.8.2","maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"homepage":"https://github.com/aidpproject/aidpcoin-key#readme","bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"dist":{"shasum":"efdcfdc0440784bbc683eb8e1b06951cb385a163","tarball":"https://registry.npmjs.org/@aidpproject/aidpcoin-key/-/aidpcoin-key-2.8.2.tgz","fileCount":13,"integrity":"sha512-7v9/yE2jnv9dF7fiziOTvJdq5t3zP5GvE4r7lf4gCI8gwr+u/meVXpAblHyT6AybFWCrOvAZCH8zFq/ye8L4tQ==","signatures":[{"sig":"MEUCIAHrUH062+PQoOI2+Y7N1XhNly91xEssL7qlYhPJofcbAiEA+GEIVHcQAXo77niEdijlKEcY4GmGjC/MoY/UeG1vCr4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1284195},"main":"dist/main.js","types":"dist/types.d.ts","module":"dist/module.js","source":"index.ts","gitHead":"66cc605de1a2f4d0d4bb8f954d610e589942538a","scripts":{"test":"jest ./test.js","build":"npx parcel build && npm run browserify","browserify":"browserify ./dist/main.js  --standalone AidpcoinKey -o ./dist/AidpcoinKey.js"},"_npmUser":{"name":"loloadsl","email":"loloadsl@hotmail.fr"},"repository":{"url":"git+https://github.com/aidpproject/aidpcoin-key.git","type":"git"},"_npmVersion":"10.2.4","description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","directories":{},"_nodeVersion":"20.11.1","dependencies":{"bip39":"^3.0.4","hdkey":"^2.0.1","coinkey":"^3.0.0","@hyperbitjs/chains":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.0","parcel":"^2.10.3","browserify":"^17.0.0","typescript":"^4.9.4","@types/node":"^18.14.0","@types/hdkey":"^2.0.3","@parcel/packager-ts":"^2.10.3","@parcel/transformer-typescript-types":"^2.10.3"},"_npmOperationalInternal":{"tmp":"tmp/aidpcoin-key_2.8.2_1710035029401_0.7594760632473965","host":"s3://npm-registry-packages"}},"2.8.3":{"name":"@aidpproject/aidpcoin-key","version":"2.8.3","keywords":["Aidpcoin","BIP44","BIP39"],"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","_id":"@aidpproject/aidpcoin-key@2.8.3","maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"homepage":"https://github.com/aidpproject/aidpcoin-key#readme","bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"dist":{"shasum":"2825f31879e7142fde6e37eb22a395aad56ebf13","tarball":"https://registry.npmjs.org/@aidpproject/aidpcoin-key/-/aidpcoin-key-2.8.3.tgz","fileCount":13,"integrity":"sha512-+lHJvtdtvPbSAT5DtaRVeSZt1CtBI4piwo/1q+Bq9Af4YvOG8RtyZsUyUB8JkoPAe2kSb3qvJQRV85MlJbyPng==","signatures":[{"sig":"MEQCIAb1dpNcp/37n2ZZuLtHjX1yRJx1Gh9vB6jtZq7dL545AiBVFgotARxK8lXNBTnh8qb8/fwKBERSMpmuGrXv88lHuw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1284198},"main":"dist/main.js","types":"dist/types.d.ts","module":"dist/module.js","source":"index.ts","gitHead":"66cc605de1a2f4d0d4bb8f954d610e589942538a","scripts":{"test":"jest ./test.js","build":"npx parcel build && npm run browserify","browserify":"browserify ./dist/main.js  --standalone AidpcoinKey -o ./dist/AidpcoinKey.js"},"_npmUser":{"name":"loloadsl","email":"loloadsl@hotmail.fr"},"repository":{"url":"git+https://github.com/aidpproject/aidpcoin-key.git","type":"git"},"_npmVersion":"10.2.4","description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","directories":{},"_nodeVersion":"20.11.1","dependencies":{"bip39":"^3.0.4","hdkey":"^2.0.1","coinkey":"^3.0.0","@hyperbitjs/chains":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.0","parcel":"^2.10.3","browserify":"^17.0.0","typescript":"^4.9.4","@types/node":"^18.14.0","@types/hdkey":"^2.0.3","@parcel/packager-ts":"^2.10.3","@parcel/transformer-typescript-types":"^2.10.3"},"_npmOperationalInternal":{"tmp":"tmp/aidpcoin-key_2.8.3_1710102115829_0.5663514788628927","host":"s3://npm-registry-packages"}},"2.8.4":{"name":"@aidpproject/aidpcoin-key","version":"2.8.4","keywords":["Aidpcoin","BIP44","BIP39"],"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","_id":"@aidpproject/aidpcoin-key@2.8.4","maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"homepage":"https://github.com/aidpproject/aidpcoin-key#readme","bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"dist":{"shasum":"b67d8f952a6c0daf085ea595443f67fb48a6fc05","tarball":"https://registry.npmjs.org/@aidpproject/aidpcoin-key/-/aidpcoin-key-2.8.4.tgz","fileCount":13,"integrity":"sha512-n6+sHFJqvUzGfNZu2+XkM9zLEH5kYZBSVTNeB/xO5QMDk3xEfLECaeBQRzUGD405Jh7phqafUOvEKt/MUqF53Q==","signatures":[{"sig":"MEUCIQDmE3hzcqvN9Si7AAUCEi7V8om353NcyFvjJwdFPBq32QIgAr/Hr7FR1884p93S7plyQCHBaIszL8ou8r7lpUqUHRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1488560},"main":"dist/main.js","types":"dist/types.d.ts","module":"dist/module.js","source":"index.ts","gitHead":"380aa79c0dfd3d0e12eff683a3f31fb65f79f722","scripts":{"test":"jest ./test.js","build":"npx parcel build && npm run browserify","browserify":"browserify ./dist/main.js  --standalone AidpcoinKey -o ./dist/AidpcoinKey.js"},"_npmUser":{"name":"loloadsl","email":"loloadsl@hotmail.fr"},"repository":{"url":"git+https://github.com/aidpproject/aidpcoin-key.git","type":"git"},"_npmVersion":"10.8.2","description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","directories":{},"_nodeVersion":"20.17.0","dependencies":{"bip39":"^3.0.4","hdkey":"^2.0.1","coinkey":"^3.0.0","@aidpproject/chains":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.0","parcel":"^2.10.3","browserify":"^17.0.0","typescript":"^4.9.4","@types/node":"^18.14.0","@types/hdkey":"^2.0.3","@parcel/packager-ts":"^2.10.3","@parcel/transformer-typescript-types":"^2.10.3"},"_npmOperationalInternal":{"tmp":"tmp/aidpcoin-key_2.8.4_1726410320903_0.6549285169533783","host":"s3://npm-registry-packages"}},"2.8.5":{"name":"@aidpproject/aidpcoin-key","version":"2.8.5","keywords":["Aidpcoin","BIP44","BIP39"],"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","_id":"@aidpproject/aidpcoin-key@2.8.5","maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"homepage":"https://github.com/aidpproject/aidpcoin-key#readme","bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"dist":{"shasum":"e1b1e0fb15b506afcf993b8b1dd75ac14c7ab753","tarball":"https://registry.npmjs.org/@aidpproject/aidpcoin-key/-/aidpcoin-key-2.8.5.tgz","fileCount":6,"integrity":"sha512-Bgwy3l84YC6lCvncv4DzxLXYnTqbSl80lmqti2jxhjHL+AI6L91I3tNDn5YO6TBAXzxRq4AWgAgK1GspQ533aw==","signatures":[{"sig":"MEQCIAdqpyzHkV4NyYKoNzBOtdCmAgANBXS7v5dTkeNnro/vAiBuYSM6DYepu0y1bdXtX6QJ/JTM9u4+8pGKJSoQb7Ps8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17364},"main":"dist/main.js","types":"dist/types.d.ts","module":"dist/module.js","source":"index.ts","gitHead":"c6b2f6351bec3a2ecbe81ac4d412862facba05f1","scripts":{"test":"jest ./test.js","build":"npx parcel build && npm run browserify","browserify":"browserify ./dist/main.js  --standalone AidpcoinKey -o ./dist/AidpcoinKey.js"},"_npmUser":{"name":"loloadsl","email":"loloadsl@hotmail.fr"},"repository":{"url":"git+https://github.com/aidpproject/aidpcoin-key.git","type":"git"},"_npmVersion":"10.7.0","description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","directories":{},"_nodeVersion":"18.20.4","dependencies":{"bip39":"^3.0.4","hdkey":"^2.0.1","coinkey":"^3.0.0","@aidpproject/chains":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.4.0","parcel":"^2.10.3","browserify":"^17.0.0","typescript":"^4.9.4","@types/node":"^18.14.0","@types/hdkey":"^2.0.3","@parcel/packager-ts":"^2.10.3","@parcel/transformer-typescript-types":"^2.10.3"},"_npmOperationalInternal":{"tmp":"tmp/aidpcoin-key_2.8.5_1726931358672_0.17700098770892936","host":"s3://npm-registry-packages"}},"2.8.6":{"name":"@aidpproject/aidpcoin-key","version":"2.8.6","description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","source":"index.ts","main":"dist/main.js","module":"dist/module.js","types":"dist/types.d.ts","scripts":{"browserify":"browserify ./dist/main.js  --standalone AidpcoinKey -o ./dist/AidpcoinKey.js","build":"npx parcel build && npm run browserify","test":"jest ./test.js"},"repository":{"type":"git","url":"git+https://github.com/aidpproject/aidpcoin-key.git"},"keywords":["Aidpcoin","BIP44","BIP39"],"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"homepage":"https://github.com/aidpproject/aidpcoin-key#readme","dependencies":{"@aidpproject/chains":"^1.6.1","bip39":"^3.0.4","coinkey":"^3.0.0","hdkey":"^2.0.1"},"devDependencies":{"@parcel/packager-ts":"^2.10.3","@parcel/transformer-typescript-types":"^2.10.3","@types/hdkey":"^2.0.3","@types/node":"^18.14.0","browserify":"^17.0.0","jest":"^29.4.0","parcel":"^2.10.3","typescript":"^4.9.4"},"_id":"@aidpproject/aidpcoin-key@2.8.6","gitHead":"c6b2f6351bec3a2ecbe81ac4d412862facba05f1","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-H5XUXfXIAOHU/hhw4w+CUwe9h9nAqgU8+dU/6UhLRuNO1XC+Da1ll8ElLS3Kq8q1cfHyEUrCwfziJ/9dMphinQ==","shasum":"f8617fc8c249abf87b3664243d2f827f4d212106","tarball":"https://registry.npmjs.org/@aidpproject/aidpcoin-key/-/aidpcoin-key-2.8.6.tgz","fileCount":13,"unpackedSize":1488560,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqoH3YqCDvt+8Emd0V+fV6L1kWn/v5j26zC7I3og/2BgIhAMwjLinICIuI+O683bM0C30obt8x9Ps6GHmjqCAzONgL"}]},"_npmUser":{"name":"loloadsl","email":"loloadsl@hotmail.fr"},"directories":{},"maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aidpcoin-key_2.8.6_1726932010656_0.3062436755936391"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-09T02:10:27.753Z","modified":"2024-09-21T15:20:11.238Z","2.8.0":"2024-03-09T02:10:28.018Z","2.8.1":"2024-03-09T14:16:21.139Z","2.8.2":"2024-03-10T01:43:49.556Z","2.8.3":"2024-03-10T20:21:56.056Z","2.8.4":"2024-09-15T14:25:21.100Z","2.8.5":"2024-09-21T15:09:18.857Z","2.8.6":"2024-09-21T15:20:11.005Z"},"bugs":{"url":"https://github.com/aidpproject/aidpcoin-key/issues"},"author":{"name":"Aidp Rebels / Dick Henrik Larsson"},"license":"MIT","homepage":"https://github.com/aidpproject/aidpcoin-key#readme","keywords":["Aidpcoin","BIP44","BIP39"],"repository":{"type":"git","url":"git+https://github.com/aidpproject/aidpcoin-key.git"},"description":"Generate Aidpcoin addresses from mnemonic code. BIP32, BIP39, BIP44","maintainers":[{"name":"loloadsl","email":"loloadsl@hotmail.fr"}],"readme":"# aidpcoin-key\n\nGenerate Aidpcoin addresses from a mnemonic phrase following the standards BIP32, BIP39, BIP44.\n\nThat is, use your 12 words to get addresses for Aidpcoin mainnet and testnet.\nThe library also support Evrmorecoin EVR, both mainnet and testnet.\n\n\n## Example get external and internal (change) addresses by path\n\nA simple and \"spot on\" way to generate/derive addresses.\n\nIf you need brutal performance check out getAddressByPath example below.\n\n```\nimport AidpcoinKey from \"@aidpproject/aidpcoin-key\";\n//Or import as CommonsJS module\n//const AidpcoinKey = require(\"@aidpproject/aidpcoin-key\");\n\nconst mnemonic = AidpcoinKey.generateMnemonic();\nconst ACCOUNT = 0; //default is zero\nconst POSITION = 0; //the first address for this wallet\nconst network = \"aidp\"; //or aidp-test for testnet\nconst addressPair = AidpcoinKey.getAddressPair(\n  network,\n  mnemonic,\n  ACCOUNT,\n  POSITION\n);\n\nconsole.info(\"Mnemonic\", mnemonic);\n\nconsole.log(addressPair);\n```\n\nOutputs\n\n```\nMnemonic wrong breeze brick wrestle exotic erode news clown copy install marble promote\n{\n  internal: {\n    address: 'RC7Vn28tGaNrJtBm8MX5RCeCvzMpqZ1MgG',\n    path: \"m/44'/175'/0'/1/0\",\n    privateKey: 'a2c71a4284ed6792debd68d830a10515051fd166ce00535bf9fd19573ed5413b',\n    WIF: 'L2g8U3ZNBLBQcy5f6C67h2eosps3MGkNmeNnk6Y8fZiMdSB9TuCJ'\n  },\n  external: {\n    address: 'RE8YxTSYYcftnbX56rnAEwaiddqaqt8UgX',\n    path: \"m/44'/175'/0'/0/0\",\n    privateKey: 'b998a218e6bfde7162460893f79afc14b82b14e368507f5a85de28848ea96439',\n    WIF: 'L3SV871B2mpUPTvj4U38UEp3Ah3wCVukF7tG2btHgjkiUSXRftSw'\n  },\n  position: 0\n}\n```\n\n## Example get the first public address for a wallet by BIP44 path\n\nNote this is the fastest way to generate/derive addresses since we can re-use the hdKey object.\n\nBUT its more technical since you have to provide the full BIP44 path.\n\n```\nimport AidpcoinKey from \"@aidpproject/aidpcoin-key\";\n\n//use AidpcoinKey.generateMnemonic() to generate mnemonic codes\nconst mnemonic =\n  \"Mnemonic erosion total live dial hamster helmet top response cash obey anger balcony\";\nconst path = \"m/44'/175'/0'/0/0\";\nconst network = \"aidp\"; //or aidp-test for testnet\nconst hdKey = AidpcoinKey.getHDKey(\"aidp\", mnemonic);\n\nconst address = AidpcoinKey.getAddressByPath(network, hdKey, path);\n\nconsole.log(address);\n\n```\n\nOutputs\n\n```\n{\n  address: 'RWj697pj6PijkEcJLW3BLPG4GKre3BtgRP',\n  path: \"m/44'/175'/0'/0/0\",\n  privateKey: 'a5592434532a09a73350906f7846d272135a56b5a34d900659b31d2bb1aa6dfe',\n  WIF: 'L2m8GmGYVAkvUEtLdhbFidQW2Zn3fULpE7sbWgmXChygNEBPd1PK'\n}\n```\n\n## How to import into your project\n\n### ES6 module\n\n```\n//As ES6 module\nimport AidpcoinKey from \"@aidpproject/aidpcoin-key\";\n```\n\n### CommonsJS module\n\n```\n//As CommonsJS module\nconst AidpcoinKey = require(\"@aidpproject/aidpcoin-key\");\n```\n\n### Browserify\n\n```\n//A browseriy:d version, with all the dependencies bundled for the web\n<html>\n  <body>\n    <script src=\"./node_modules/@aidpproject/aidpcoin-key/dist/AidpcoinKey.js\"></script>\n    <script>\n      alert(AidpcoinKey.generateMnemonic());\n    </script>\n  </body>\n</html>\n```\n\n## install\n\n` npm install @aidpproject/aidpcoin-key`\n\n## build\n\n` npm run build`\n\n## test\n\n`npm test`\n\nNote, the tests run on the built version, so you need to build before you run the tests\n\n## BIP32\n\n> BIP32 is the specification which introduced the standard for hierarchical deterministic (HD) wallets and extended keys to Bitcoin. Deterministic wallets can generate multiple \"child\" key pair chains from a master private \"root\" key in a deterministic way.[5][6] With the adoption of this standard, keys could be transferred between wallet software with a single extended private key (xprv), greatly improving the interoperability of wallets.\n\nQuote from: https://en.m.wikipedia.org/wiki/Bitcoin_Improvement_Proposals#BIP32\n\nSource: https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki\n\n## BIP39\n\n> BIP39 is a proposal describing the use of plain language words chosen from a specific word list,[8] and the process for using such a string to derive a random seed used to generate a wallet as described in BIP32. This approach of utilizing a mnemonic phrase offered a much more user friendly experience for backup and recovery of cryptocurrency wallets.\n\nQuote from: https://en.m.wikipedia.org/wiki/Bitcoin_Improvement_Proposals#BIP39\n\nSource: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki\n\n## BIP44\n\n> BIP44 defines a logical hierarchy for deterministic wallets based on an algorithm described in BIP32 and purpose scheme described in BIP43. It allows the handling of multiple coins, multiple accounts, external and internal chains per account and millions of addresses per chain\n\nQuote from: https://en.m.wikipedia.org/wiki/Bitcoin_Improvement_Proposals#BIP44\n\nSource: https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki\n\n`m / purpose' / coin_type' / account' / change / address_index`\n\nSo in the case of Aidpcoin the path m/44'/175'/0'/0/0 says \"give me the first address\"\n\nThe first part m/44'/175' says that the purpose is to use BIP44 with Aidpcoin (175). Consider that static code.\n\nAccounts is deprecated and should be 0\n\nChange: should be 0 or 1, 0 for external addresses and 1 for the change address\n\n### Address gap limit\n\n> Address gap limit is currently set to 20. If the software hits 20 unused addresses in a row, it expects there are no used addresses beyond this point and stops searching the address chain. We scan just the external chains, because internal chains receive only coins that come from the associated external chains.\n>\n> Wallet software should warn when the user is trying to exceed the gap limit on an external chain by generating a new address.\n\nSource: https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki\n","readmeFilename":"README.md"}