{"_id":"@dhealth/paper-wallet","_rev":"2-4753aca597e2357b267b1ef46d10e051","name":"@dhealth/paper-wallet","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@dhealth/paper-wallet","version":"1.0.0","description":"dHealth paper wallet library","main":"index.js","scripts":{"prepare":"npm run build","build":"tsc"},"author":{"name":"Adrià Carrera","email":"acarrera@peersyst.com"},"bugs":{"url":"https://github.com/dhealthproject/dhealth-paper-wallet/issues"},"repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-paper-wallet.git"},"homepage":"https://github.com/dhealthproject/dhealth-paper-wallet#readme","license":"MIT","dependencies":{"@pdf-lib/fontkit":"1.0.0","pdf-lib":"1.10.0","symbol-qr-library":"^0.13.1-alpha-202010241730","typescript":"^3.7.4"},"devDependencies":{"@types/node":"^13.1.7","rxjs":"^6.5.4"},"gitHead":"ad36be0e4c41c38fa7a7c5dd337aad92a2180603","_id":"@dhealth/paper-wallet@1.0.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ji8XPkOxRyCcAsvKmFpjBu/BTz8EZ1c3UcauKzpA8HsuBF+z9ziTvbzkNv5HPkI29Wj+yQk6iZ7WgeG9xZ0t/g==","shasum":"90dbc18c184548667a6a2d6f2917b8913c328ade","tarball":"https://registry.npmjs.org/@dhealth/paper-wallet/-/paper-wallet-1.0.0.tgz","fileCount":9,"unpackedSize":656691,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqh5LcgRM+656gjL8vkgl8frXK2SIkpVCQYjygv83SHAiBvqWiudAYAyeakBMHR4jXobYzHwtrAlNWyvFKzRvYPKA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4lBNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmru0hAAi56f3OOks7CKME7V8wbY3I9Z96HVJD72J9H0jmnASA+iI8IQ\r\nJzL56iwpkWlkV85gMQSnVmb3A3oivs7L2nkbH4byMznvJch8JYu+dyuxKq2u\r\n0AVKz3UT/1udV1LdhMryjMTbeEYTBAx77jTJd70vwRB7ASnOSD+KJit2MCpm\r\nf9Fcgt3O8wmXAfv/Bk58QcNZj3ZgSPOKjnOiiC80wpJu7ZTuyi77i3R3O9pJ\r\nijzi/peKS1LLIIDJax2V+VClI6Z9K1PANEPrQ8YRWK3IJfg8V38GSX7vH2LA\r\neN52Oo7smIfAMitzcsNrTwBCfkNWRRFjbi4pdgjZ6AS4+qhkNlIutrSGsl2b\r\na1+n2slIZGyK77nrZi+YpKqnVtlWoi+iEMal3GAsZAy7g8Y7pWJlmE6Y6vee\r\nL8Ae9guQIjV1ASFOl4Dicesb74fwxW5FIpLmsOidH2eDuC0lLDY715arbuCq\r\nmfwNFVPuRF5/DRp1j1DVcSPU9pk3Lty3uACrGcTJyJBBvWzBL9EPhMtKsCoe\r\nTmaJF79SuFA/sZB3o9j/Drq29N1AVHV1Jvy1aUcS6M00cVamJiTWVWxsUThA\r\nBoH/TZzvD4ym8wLf326vqBOqHwGAINrbmHN3PpuPzeNXZIvkByOddBP3Z01R\r\njo8eRGhfC++TXOI2d/FQwxViy0FGNU1W1Gw=\r\n=NUXA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"directories":{},"maintainers":[{"name":"evias.be","email":"greg@evias.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/paper-wallet_1.0.0_1658998861711_0.517853981585999"},"_hasShrinkwrap":false},"1.1.0":{"name":"@dhealth/paper-wallet","version":"1.1.0","description":"dHealth paper wallet library","main":"index.js","scripts":{"prepare":"npm run build","build":"tsc"},"author":{"name":"Adrià Carrera","email":"acarrera@peersyst.com"},"bugs":{"url":"https://github.com/dhealthproject/dhealth-paper-wallet/issues"},"repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-paper-wallet.git"},"homepage":"https://github.com/dhealthproject/dhealth-paper-wallet#readme","license":"MIT","dependencies":{"@dhealth/qr-library":"1.0.0","@pdf-lib/fontkit":"1.0.0","pdf-lib":"1.10.0","typescript":"^3.7.4"},"devDependencies":{"@types/node":"^13.1.7","rxjs":"^6.5.4"},"gitHead":"08f37c6002e180ce2636b3368c6dfa9b1f36029d","_id":"@dhealth/paper-wallet@1.1.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Bor1rbXlCrYViwU7aQmd72t3Ps8fLykambbzsXGzWP/o4dLAMD3pFps7wiU5SCzsfK0ez24Mih7aZ+q/99kQMw==","shasum":"03c9c3d84b31dfb770c6ff33a776bcc158cbf007","tarball":"https://registry.npmjs.org/@dhealth/paper-wallet/-/paper-wallet-1.1.0.tgz","fileCount":9,"unpackedSize":656641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNiQN71gHPIf+MrArSJeG2Ez8kEhtivd1cdpRmot8tFQIgTIPOQtja63y5WYVSqigrWeXVECWGAg98y2xT7rVMu6I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNFqaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPKw/9FXznCn1/ZyS5fSNcw4rKY3ZXipIKVelxFaKSmgYJeXz/kRAq\r\nqK8A08DtrbpXIfPUsJ/CpFR0wiWRRspjgNhez7jzY5NcFoBc8YfNtUeEHf8J\r\nkvOQLmtIu9maptpFVRg0o0uI9PY1ctpam+n0GsW6HDACtUcpw5sahX04WpZj\r\nxZykwF3uKy0wuXXN1Hfm4Mgp8+DF4au7/03+eadlCAXeg1MNQ75dXbCfH8lK\r\n1wPJUgXShyb5Sg/Y5Ke24yNZRO0+ws0zOoKhhTFy6cdpYIEZH/UAzqGsdbJE\r\nr+rxxPGwgEDM6Zd5wnAirafz3BIBJyp61oQl8tTlDs1GoUelQl69kaL9KlXT\r\n/l2OwBCAv7u/4Eg5e5xxJF2gDSCw11Oxh0f8IRRqRNo+657m9+isBPGucRO7\r\nKv71oXQ/Q6C3V/4w1KR0l68xg1kQabKeOEvYvcHoTBIJX59MQ9X/sW+pHaTr\r\nUpkFfoMObgpd80AJ3YnhlhtvksWw9FH+T6Qn+OqF9fzb0xMq0oFNzaRzsiiw\r\nQR/BTAaehFQ1za5UMTCqW89J2bNkuvJWLiBHbs9c0NiOUdDlufHaY7ICA7xI\r\nYO0HyMjDIkeBFquvO121QuF1YTdn68oov09ix8A1+Xv8lnGEhOHeXXf17OMb\r\nsVIXdy0b5nF6pR+RQ1mTbzWBY5OUyJDsx5Q=\r\n=tGyT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"evias.be","email":"greg@evias.be"},"directories":{},"maintainers":[{"name":"evias.be","email":"greg@evias.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/paper-wallet_1.1.0_1664375450595_0.9823313496158756"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-28T09:01:01.661Z","1.0.0":"2022-07-28T09:01:01.875Z","modified":"2023-02-12T14:39:42.619Z","1.1.0":"2022-09-28T14:30:50.780Z"},"maintainers":[{"email":"greg@dhealth.foundation","name":"dhealthbot"},{"email":"greg@evias.be","name":"evias.be"}],"description":"dHealth paper wallet library","homepage":"https://github.com/dhealthproject/dhealth-paper-wallet#readme","repository":{"type":"git","url":"git+https://github.com/dhealthproject/dhealth-paper-wallet.git"},"author":{"name":"Adrià Carrera","email":"acarrera@peersyst.com"},"bugs":{"url":"https://github.com/dhealthproject/dhealth-paper-wallet/issues"},"license":"MIT","readme":"# @dhealth/paper-wallet\n\n[![License](https://img.shields.io/badge/License-LGPL%203.0%20only-blue.svg)][license]\n[![Discord](https://img.shields.io/badge/chat-on%20discord-green.svg)][discord]\n\ndHealth paper wallet generator for [dHealth Network][parent-url].\n\n- [Install notes](#install-notes)\n- [Getting help](#getting-help)\n- [Contributing](#contributing)\n- [License](#license)\n\n**NOTE**: The author(s) and contributor(s) of this package cannot be held responsible for any loss of money or for any malintentioned usage forms of this package. Please use this package with caution.\n\n## Install notes\n\nTo install the npm module on your typescript or node project run:\n\n`npm install @dhealth/paper-wallet --save`\n\nAnd install plugin dependencies:\n\n`npm install dhealth-sdk @dhealth/hd-wallets --save`\n\n## Usage <a name=\"usage\"></a>\n\nPrepare some constants for use the module:\n\n```javascript\nimport { dHealthPaperWallet } from '@dhealth/paper-wallet';\n\nconst hdRootAccount = {\n    mnemonic: \"guess welcome coconut forum cricket unfold welcome still ticket cluster buddy fan decrease cotton model drive student assault cloth protect random equal this congress\",\n    rootAccountPublicKey: \"TC6B74-FLJ5MR-PSXPEM-WDBWX5-VDIXA5-L5UI36-MEA\",\n    rootAccountAddress: \"1F032B727E910D69F1B6A3244AD1B065547AA0055BC41CF4285F662182DCC18A\"\n};\n\nconst privateKeyAccount = {\n    name: \"My private key account\",\n    address: \"TCHBDE-NCLKEB-ILBPWP-3JPB2X-NY64OE-7PYHHE-32I\",\n    publicKey: \"3B6A27BCCEB6A42D62A3A8D02A6F0D73653215771DE243A63AC048A18B59DA29\",\n    privateKey: \"0000000000000000000000000000000000000000000000000000000000000000\"\n};\n\nconst paperWallet = new dHealthPaperWallet(hdRootAccount, [privateKeyAccount], NetworkType.TEST_NET, '57F7DA205008026C776CB6AED843393F04CD458E0AA2D9F1D5F31A402072B2D6')\n\nconst uint8Array = await paperWallet.toPdf();\n\n```\n\n## Getting help\n\nUse the following available resources to get help:\n\n- [dHealth Documentation][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 2019 Peersyst Technology SL\n\nLicensed under the [MIT](LICENSE)\n\n[license]: https://opensource.org/licenses/LGPL-3.0\n[parent-url]: https://dhealth.com\n[docs]: https://docs.dhealth.com\n[issues]: https://github.com/dhealthproject/dhealth-paper-wallet/issues\n[discord]: https://discord.gg/P57WHbmZjk\n","readmeFilename":"README.md"}