{"_id":"@abcpros/minimal-xpi-slp-wallet","_rev":"8-6665679247b527dff9abf0418cda8b38","name":"@abcpros/minimal-xpi-slp-wallet","dist-tags":{"latest":"3.0.10"},"versions":{"3.0.4":{"name":"@abcpros/minimal-xpi-slp-wallet","version":"3.0.4","description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","main":"dist/minimal-slp-wallet.min.js","scripts":{"start":"node index.js","test":"TEST=unit nyc mocha test/unit/","test:integration":"mocha --timeout 25000 test/integration/","test:temp":"mocha --timeout 25000 -g '#UTXOs' test/integration/","lint":"standard --env mocha --fix","docs":"apidoc -i lib/ -o docs","coverage":"nyc report --reporter=text-lcov | coveralls","coverage:report":"nyc --reporter=html mocha test/unit/ --exit","build":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","build-debug":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js"},"keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"license":"MIT","apidoc":{"title":"minimal-slp-wallet","url":"localhost:5000"},"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"dependencies":{"@abcpros/xpi-js":"^4.0.2","apidoc":"^0.25.0","bch-donation":"^1.1.1","crypto-js":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.2.0","coveralls":"^3.1.0","eslint":"7.11.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1","husky":"^6.0.0","lodash.clonedeep":"^4.5.0","mocha":"^8.2.0","nyc":"^15.1.0","semantic-release":"^17.4.3","sinon":"^9.2.0","standard":"^14.3.4","tinyify":"^3.0.0"},"release":{"publish":[{"path":"@semantic-release/npm","npmPublish":true}]},"husky":{"hooks":{"pre-commit":"npm run lint && npm run build"}},"gitHead":"ad36a3e092a164ed413cd57e3f2362c6b91a2632","bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","_id":"@abcpros/minimal-xpi-slp-wallet@3.0.4","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-TrCkfM3+Yzjpaw4psbtDm5sqJPysmInppCOTDM9Ioz8mDDaf6QiruZVA8hHC9LXdEGviBJA1A/LvMr8Ruer8EA==","shasum":"4976bcd0c6f3f8075c8091327922d78cd4c4c625","tarball":"https://registry.npmjs.org/@abcpros/minimal-xpi-slp-wallet/-/minimal-xpi-slp-wallet-3.0.4.tgz","fileCount":26,"unpackedSize":1511271,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdIqdP6EI/TfLhIUxsU4scWPycpM2f6fG7zGRlahB+IAiANCqAMalVE61BTNYKGKLdB2+Fd1ggSuMS+7BsdJnmq4g=="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-xpi-slp-wallet_3.0.4_1632660522747_0.7626482355278947"},"_hasShrinkwrap":false},"3.0.5":{"name":"@abcpros/minimal-xpi-slp-wallet","version":"3.0.5","description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","main":"dist/minimal-slp-wallet.min.js","scripts":{"start":"node index.js","test":"TEST=unit nyc mocha test/unit/","test:integration":"mocha --timeout 25000 test/integration/","test:temp":"mocha --timeout 25000 -g '#UTXOs' test/integration/","lint":"standard --env mocha --fix","docs":"apidoc -i lib/ -o docs","coverage":"nyc report --reporter=text-lcov | coveralls","coverage:report":"nyc --reporter=html mocha test/unit/ --exit","build":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","build-debug":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js"},"keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"license":"MIT","apidoc":{"title":"minimal-slp-wallet","url":"localhost:5000"},"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"dependencies":{"@abcpros/xpi-js":"^4.0.3","apidoc":"^0.25.0","bch-donation":"^1.1.1","crypto-js":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.2.0","coveralls":"^3.1.0","eslint":"7.11.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1","husky":"^6.0.0","lodash.clonedeep":"^4.5.0","mocha":"^8.2.0","nyc":"^15.1.0","semantic-release":"^17.4.3","sinon":"^9.2.0","standard":"^14.3.4","tinyify":"^3.0.0"},"release":{"publish":[{"path":"@semantic-release/npm","npmPublish":true}]},"husky":{"hooks":{"pre-commit":"npm run lint && npm run build"}},"gitHead":"ad36a3e092a164ed413cd57e3f2362c6b91a2632","bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","_id":"@abcpros/minimal-xpi-slp-wallet@3.0.5","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-T4OcBYc1AY2/EDqvvxWPKgmQziIvyg7Vw8nKXiOG8BRUZUWF8rZ705TXucvWcSMDOqKWQdglb69NyYuukJpprA==","shasum":"889262ad55cc1ad965e616f5592d882cac5dddce","tarball":"https://registry.npmjs.org/@abcpros/minimal-xpi-slp-wallet/-/minimal-xpi-slp-wallet-3.0.5.tgz","fileCount":26,"unpackedSize":1511244,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5s2qsiGKrkKav7CTj458ih374qZ1K734a3v8kJtP8CgIgbKdLXLtpENdh1YYpb1f+weXfrROfumSAuGVdkIMlJMM="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-xpi-slp-wallet_3.0.5_1632730572900_0.24254653543284665"},"_hasShrinkwrap":false},"3.0.6":{"name":"@abcpros/minimal-xpi-slp-wallet","version":"3.0.6","description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","main":"dist/minimal-slp-wallet.min.js","types":"types/index.d.ts","scripts":{"start":"node index.js","test":"TEST=unit nyc mocha test/unit/","test:integration":"mocha --timeout 25000 test/integration/","test:temp":"mocha --timeout 25000 -g '#UTXOs' test/integration/","lint":"standard --env mocha --fix","docs":"apidoc -i lib/ -o docs","coverage":"nyc report --reporter=text-lcov | coveralls","coverage:report":"nyc --reporter=html mocha test/unit/ --exit","build":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","build-debug":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","ts:defs":"tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types"},"keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"license":"MIT","apidoc":{"title":"minimal-slp-wallet","url":"localhost:5000"},"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"dependencies":{"@abcpros/xpi-js":"^4.0.3","apidoc":"^0.25.0","bch-donation":"^1.1.1","crypto-js":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.2.0","coveralls":"^3.1.0","eslint":"7.11.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1","husky":"^6.0.0","lodash.clonedeep":"^4.5.0","mocha":"^8.2.0","nyc":"^15.1.0","semantic-release":"^17.4.3","sinon":"^9.2.0","standard":"^14.3.4","tinyify":"^3.0.0","typescript":"^4.4.3"},"release":{"publish":[{"path":"@semantic-release/npm","npmPublish":true}]},"husky":{"hooks":{"pre-commit":"npm run lint && npm run build"}},"gitHead":"8bbc74634a8413c2dc075c4223f655b262e1b3cd","bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","_id":"@abcpros/minimal-xpi-slp-wallet@3.0.6","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-PVohAbaYO9TBtU3Qa0/gj8G9NNeU/Q2PF1H8Z33MtQnB4D7B+4U5xzE/brT23VGz2KP+cCcVCG6Drd+b2kijvQ==","shasum":"a6c83e364347adf992a9a6b71ce236a00e1625a5","tarball":"https://registry.npmjs.org/@abcpros/minimal-xpi-slp-wallet/-/minimal-xpi-slp-wallet-3.0.6.tgz","fileCount":32,"unpackedSize":1526884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw9/UruPp6KzIXRATaLznDGlKaLcvwieuaWSTgM5BtyAIhAJsfbWiAmc9NUHoI/jMi/KsxHsTRsTSJm2fUxQec10ou"}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-xpi-slp-wallet_3.0.6_1633069309062_0.33852077199170205"},"_hasShrinkwrap":false},"3.0.7":{"name":"@abcpros/minimal-xpi-slp-wallet","version":"3.0.7","description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","main":"dist/minimal-slp-wallet.min.js","types":"types/index.d.ts","scripts":{"start":"node index.js","test":"TEST=unit nyc mocha test/unit/","test:integration":"mocha --timeout 25000 test/integration/","test:temp":"mocha --timeout 25000 -g '#UTXOs' test/integration/","lint":"standard --env mocha --fix","docs":"apidoc -i lib/ -o docs","coverage":"nyc report --reporter=text-lcov | coveralls","coverage:report":"nyc --reporter=html mocha test/unit/ --exit","build":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","build-debug":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","ts:defs":"tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types"},"keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"license":"MIT","apidoc":{"title":"minimal-slp-wallet","url":"localhost:5000"},"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"dependencies":{"@abcpros/xpi-js":"^4.0.4","apidoc":"^0.25.0","bch-donation":"^1.1.1","crypto-js":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.2.0","coveralls":"^3.1.0","eslint":"7.11.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1","husky":"^6.0.0","lodash.clonedeep":"^4.5.0","mocha":"^8.2.0","nyc":"^15.1.0","semantic-release":"^17.4.3","sinon":"^9.2.0","standard":"^14.3.4","tinyify":"^3.0.0","typescript":"^4.4.3"},"release":{"publish":[{"path":"@semantic-release/npm","npmPublish":true}]},"husky":{"hooks":{"pre-commit":"npm run lint && npm run build"}},"gitHead":"8f6608de902e4c8008a6a27ce5865f843dcbabc7","bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","_id":"@abcpros/minimal-xpi-slp-wallet@3.0.7","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-v+zMLF9KaW25teCIugxXj8os6d2DeL5ME/bNXKBYB/rljuhOLqr37lYuDxZqUzLirmwqFQQjUaCV/nuufKxY4A==","shasum":"9512fc00c18dfeee6594248195e2062efcc8bd8a","tarball":"https://registry.npmjs.org/@abcpros/minimal-xpi-slp-wallet/-/minimal-xpi-slp-wallet-3.0.7.tgz","fileCount":32,"unpackedSize":1526884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjOugEgVtjK0X+QOyztwRXm1GJjafI2FvHjr6SKrD2VQIgRyC2LPFOkZcQ/Qv9pC+YojkBTc9AYDwDAA5BpPG16RQ="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-xpi-slp-wallet_3.0.7_1634138047672_0.4654143925814991"},"_hasShrinkwrap":false},"3.0.8":{"name":"@abcpros/minimal-xpi-slp-wallet","version":"3.0.8","description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","main":"dist/minimal-slp-wallet.min.js","types":"types/index.d.ts","scripts":{"start":"node index.js","test":"TEST=unit nyc mocha test/unit/","test:integration":"mocha --timeout 25000 test/integration/","test:temp":"mocha --timeout 25000 -g '#UTXOs' test/integration/","lint":"standard --env mocha --fix","docs":"apidoc -i lib/ -o docs","coverage":"nyc report --reporter=text-lcov | coveralls","coverage:report":"nyc --reporter=html mocha test/unit/ --exit","build":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","build-debug":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","ts:defs":"tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types"},"keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"license":"MIT","apidoc":{"title":"minimal-slp-wallet","url":"localhost:5000"},"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"dependencies":{"@abcpros/xpi-js":"^4.0.5","apidoc":"^0.25.0","bch-donation":"^1.1.1","crypto-js":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.2.0","coveralls":"^3.1.0","eslint":"7.11.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1","husky":"^6.0.0","lodash.clonedeep":"^4.5.0","mocha":"^8.2.0","nyc":"^15.1.0","semantic-release":"^17.4.3","sinon":"^9.2.0","standard":"^14.3.4","tinyify":"^3.0.0","typescript":"^4.4.3"},"release":{"publish":[{"path":"@semantic-release/npm","npmPublish":true}]},"husky":{"hooks":{"pre-commit":"npm run lint && npm run build"}},"gitHead":"8f6608de902e4c8008a6a27ce5865f843dcbabc7","bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","_id":"@abcpros/minimal-xpi-slp-wallet@3.0.8","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-61Lin+2r+TxCBYcsLPE8AITL7f/fmQZQElYlZaw5wvt5ttYnUiAQ0suBt7kPFXlmDCahPuUy/UaTI7wAbJz6Mw==","shasum":"b8519bf0c9869c6b466491fb241b712e1dc60b0e","tarball":"https://registry.npmjs.org/@abcpros/minimal-xpi-slp-wallet/-/minimal-xpi-slp-wallet-3.0.8.tgz","fileCount":32,"unpackedSize":1526884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLs/5KNaZ2zdP0/mN0/xS/2moBBTrzVvnQ1EUtN8tFeQIgOf5EKeihjTsvPU+7mkQ3/HYl/K+n7tWHk0zAPS0I7Bc="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-xpi-slp-wallet_3.0.8_1634286759776_0.6194519778592167"},"_hasShrinkwrap":false},"3.0.9":{"name":"@abcpros/minimal-xpi-slp-wallet","version":"3.0.9","description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","main":"index.js","browser":"dist/minimal-slp-wallet.min.js","types":"types/index.d.ts","scripts":{"start":"node index.js","test":"TEST=unit nyc mocha test/unit/","test:integration":"mocha --timeout 25000 test/integration/","test:temp":"mocha --timeout 25000 -g '#UTXOs' test/integration/","lint":"standard --env mocha --fix","docs":"apidoc -i lib/ -o docs","coverage":"nyc report --reporter=text-lcov | coveralls","coverage:report":"nyc --reporter=html mocha test/unit/ --exit","build":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","build-debug":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","ts:defs":"tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types"},"keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"license":"MIT","apidoc":{"title":"minimal-slp-wallet","url":"localhost:5000"},"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"dependencies":{"@abcpros/xpi-js":"^4.0.5","apidoc":"^0.25.0","bch-donation":"^1.1.1","crypto-js":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.2.0","coveralls":"^3.1.0","eslint":"7.11.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1","husky":"^6.0.0","lodash.clonedeep":"^4.5.0","mocha":"^8.2.0","nyc":"^15.1.0","semantic-release":"^17.4.3","sinon":"^9.2.0","standard":"^14.3.4","tinyify":"^3.0.0","typescript":"^4.4.3"},"release":{"publish":[{"path":"@semantic-release/npm","npmPublish":true}]},"husky":{"hooks":{"pre-commit":"npm run lint && npm run build"}},"gitHead":"8f6608de902e4c8008a6a27ce5865f843dcbabc7","bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","_id":"@abcpros/minimal-xpi-slp-wallet@3.0.9","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-CwhKAjz0ifr0xktJ5K+xaXL4wtsQyES/hh6yI1zyr8ZVbWdAuH8lEQxEg3DxnGxeS8k1ZxOxYMbsNb3GsYYCCw==","shasum":"87504522abf3753a2c27b7b34925b67346de8abd","tarball":"https://registry.npmjs.org/@abcpros/minimal-xpi-slp-wallet/-/minimal-xpi-slp-wallet-3.0.9.tgz","fileCount":32,"unpackedSize":1526429,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmYEj5UD/rlIfA/i9owyqPmxlLmS+l21AVHwKxiVHFAAiAysVN7ZSKpIYXygdY2Tc+AGHWo7FjIrtnrSSLpkdVusQ=="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-xpi-slp-wallet_3.0.9_1635245811084_0.3150704768925945"},"_hasShrinkwrap":false},"3.0.10":{"name":"@abcpros/minimal-xpi-slp-wallet","version":"3.0.10","description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","main":"index.js","browser":"dist/minimal-slp-wallet.min.js","types":"types/index.d.ts","scripts":{"start":"node index.js","test":"TEST=unit nyc mocha test/unit/","test:integration":"mocha --timeout 25000 test/integration/","test:temp":"mocha --timeout 25000 -g '#UTXOs' test/integration/","lint":"standard --env mocha --fix","docs":"apidoc -i lib/ -o docs","coverage":"nyc report --reporter=text-lcov | coveralls","coverage:report":"nyc --reporter=html mocha test/unit/ --exit","build":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","build-debug":"browserify index.js -p tinyify --s SlpWallet -o dist/minimal-slp-wallet.min.js","ts:defs":"tsc index.js --declaration --allowJs --emitDeclarationOnly --outDir types"},"keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"license":"MIT","apidoc":{"title":"minimal-slp-wallet","url":"localhost:5000"},"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"dependencies":{"@abcpros/xpi-js":"^4.0.5","apidoc":"^0.25.0","bch-donation":"^1.1.1","crypto-js":"^4.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.2.0","coveralls":"^3.1.0","eslint":"7.11.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-standard":"^4.0.1","husky":"^6.0.0","lodash.clonedeep":"^4.5.0","mocha":"^8.2.0","nyc":"^15.1.0","semantic-release":"^17.4.3","sinon":"^9.2.0","standard":"^14.3.4","tinyify":"^3.0.0","typescript":"^4.4.3"},"release":{"publish":[{"path":"@semantic-release/npm","npmPublish":true}]},"husky":{"hooks":{"pre-commit":"npm run lint && npm run build"}},"gitHead":"5e7b1d7a3a317031ef7ce85aa2092380c52b1e7f","bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","_id":"@abcpros/minimal-xpi-slp-wallet@3.0.10","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-qsKKTGUWfPi+LcxpEQ4tpGoa4qKwI9GgafJPfEGRY9dbd1JnM0lkd6MfhsBxRVPI0gXkn5KRoi7LCGQZLip/mg==","shasum":"61675d66b8ddb08d85eb90029a2bfc7ebfc19888","tarball":"https://registry.npmjs.org/@abcpros/minimal-xpi-slp-wallet/-/minimal-xpi-slp-wallet-3.0.10.tgz","fileCount":32,"unpackedSize":1526917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhux4ECRA9TVsSAnZWagAAfWMQAIEVjY5mijfixwua0WIg\n+IQpEQI7ADWLHPXjNXcZGSG7dY5htXQbdJKo5DfnujsKtfuo8aKp5Da3iWzl\nQto5NXfwozp2zTfW16cQ5cwqyc+m8EGXt1/5GQPCOPVzzTTeZ9TNjhy+LoGI\n0pcv2LPPIdxx8xY+BO63NrBh+XsQp99DNgkvJFS+0lPp0KOBJO6G/Uzvb6lN\ntTK00EK1IiHnU/dYV0ZDe051TZ3wflfdCMnL6lvLfZ9RmERjiq9UTd3+m5o0\nheVEP0cyjdjrXkMJg1NxLqEukHAxf00i8+NlXhvP+0/ISUJ5qZjhje1hlspx\nExU+SYOekhIDAs2PUaohfE/ddewQzv5E2wDPYSJk1SGnjIavYW1dwaTVzImv\nMoiCn87aoZW3Gbc4RbCl6rNtCTVnKxbNdlh4miQMht1j4JjyQIIS1484j4Ch\n4hGlwjenMZ4aXXLonRfKBCZWmztHVH0SajQ6rzDeOiTPx7oIUEPDbv9UoYDD\noAzmtaxmDlRBb5WAoi9APXGp9TpdGa3iSF3ml3s3n8C5WT2qt1NnFf58taei\nsbKHm7EepaoGT4+BTueLFM+CZxZcNDIYA2/q8T/L7IkJ6ZVHBAY8q+jg6We6\nU4uq2VYd5OxNaGNUCrfEepFW7PjOK5b4dn725vUzl+GdVUZUgmQVxW8Z7E2u\nKVdh\r\n=ChkP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmX2ADunllKrXNS+DDn1mSXltxtDGTv3Ew2dknw2T5yAiA8/TaYi7qV7nGPfYg/1Le5QobJXLMYagpT9C1v/3e4ng=="}]},"_npmUser":{"name":"ngocviet","email":"vince.tran8x@gmail.com"},"directories":{},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-xpi-slp-wallet_3.0.10_1635318616102_0.8422069648157611"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-26T12:48:42.689Z","3.0.4":"2021-09-26T12:48:42.941Z","modified":"2022-04-04T10:58:11.611Z","3.0.5":"2021-09-27T08:16:13.197Z","3.0.6":"2021-10-01T06:21:49.281Z","3.0.7":"2021-10-13T15:14:07.862Z","3.0.8":"2021-10-15T08:32:39.984Z","3.0.9":"2021-10-26T10:56:51.300Z","3.0.10":"2021-10-27T07:10:16.309Z"},"maintainers":[{"name":"ngocviet","email":"vince.tran8x@gmail.com"}],"description":"A minimalist Bitcoin Cash (BCH) wallet npm library, for use in a web apps.","homepage":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet#readme","keywords":["bitcoin","bitcoin cash","wallet","javascript","cryptocurrency","react","front end","client","apidoc","slp","tokens"],"repository":{"type":"git","url":"git+https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet.git"},"author":{"name":"Chris Troutner","email":"chris.troutner@gmail.com"},"bugs":{"url":"https://github.com/Permissionless-Software-Foundation/minimal-slp-wallet/issues"},"license":"MIT","readme":"# minimal-slp-wallet\n\nThis is a minimalist Bitcoin Cash (BCH) wallet for use with front end web apps.\nIt's token aware, unlike the wallet the code is forked from: [minimal-bch-wallet](https://github.com/Permissionless-Software-Foundation/minimal-bch-wallet).\nIt's intended to be used with the [gatsby-ipfs-web-wallet](https://github.com/Permissionless-Software-Foundation/gatsby-ipfs-web-wallet) web-based wallet, and the [bch-js](https://www.npmjs.com/package/@chris.troutner/bch-js) JavaScript library provided by [FullStack.cash](https://fullstack.cash)\n\nThe default derivation path for the wallet keypair is `m/44'/245'/0'/0/0`. This is the BIP44 standard for SLP token-aware BCH wallets.\n\n## Examples\nThe [examples](./examples) directory shows how to write node.js JavaScript apps that use this library to work with BCH:\n\n- [Create a wallet](./examples/create-wallet.js)\n- [Send BCH](./examples/send-bch.js)\n- [List Tokens](./examples/list-tokens.js)\n- [Send Tokens](./examples/send-tokens.js)\n\n## How to use it?\n\n### Import\n#### Add to your HTML scripts\n```js\n<script src=\"https://unpkg.com/minimal-slp-wallet\"></script>\n```\n\n#### Node module\n```bash\nnpm install minimal-slp-wallet --save\n```\n\n```js\n// module import\nimport BchWallet from \"minimal-slp-wallet\";\n\n// nodejs modules\nconst BchWallet = require(\"minimal-slp-wallet\");\n```\n\n### Create new wallets\n```js\nconst bchWallet = new BchWallet();\nawait bchWallet.walletInfoPromise // Wait for wallet to be created.\n\n// 12 words seed phrase for the wallet\nconsole.log(bchWallet.walletInfo.mnemonic);\n\n// cash address derived from the seed (derivation path: m/44'/245'/0'/0/0)\nconsole.log(bchWallet.walletInfo.cashAddress);\n\n// legacy address derived from the seed (derivation path: m/44'/245'/0'/0/0)\nconsole.log(bchWallet.walletInfo.legacyAddress);\n\n// private key for the BCH address derived from the seed (derivation path: m/44'/245'/0'/0/0)\nconsole.log(bchWallet.walletInfo.privateKey);\n```\n\n### Mnemonic encryption\n```js\nconst bchWallet = new BchWallet(null, {\n  password: \"myStrongPassword\"\n});\n\n// 12 words seed phrase for the wallet\nconsole.log(bchWallet.walletInfo.mnemonic);\n\n// encrypted mnemonic\nconsole.log(bchWallet.walletInfo.mnemonicEncrypted);\n\nconst bchWallet2 = new BchWallet(bchWallet.walletInfo.mnemonicEncrypted, {\n  password: \"myStrongPassword\"\n});\n\n// decrypted mnemonic\nconsole.log(bchWallet2.walletInfo.mnemonic);\n```\n\n### Initialize wallet with mnemonic\n```js\n// initialize with 12 words seed phrase for the wallet\nconst bchWallet = new BchWallet(\"minor bench until split suffer shine series bag avoid cruel orient aunt\");\n\n// initialize for specific HD derivation path\nconst bchWallet2 = new BchWallet(\"minor bench until split suffer shine series bag avoid cruel orient aunt\", {\n    HdPath: \"m/44'/245'/0'/1'\"\n});\n```\n\n### Send transactions\nYou can send funds to other BCH wallets. You can distribute funds to N users by simply extending the receiver array.\n```js\nconst bchWallet = new BchWallet();\n\nconst receivers = [\n    {\n        address: \"bitcoincash:qp2rmj8heytjrksxm2xrjs0hncnvl08xwgkweawu9h\",\n        // amount in satoshis, 1 satoshi = 0.00000001 Bitcoin\n        amountSat: 100000\n    }\n];\n\nconst txid = await bchWallet.send(receivers);\n\n// Transaction ID\n// you can then see the transaction in one of the explorers\n// example: `https://explorer.bitcoin.com/bch/tx/${tx.txid}`;\nconsole.log(txid);\n```\n\n### Send Tokens\nYou can send tokens in a similar way:\n```js\n\nconst receiver = {\n  address: \"simpleledger:qpeq7xx5x3a2jfa0x0w8cjqp4v9cm842vgsjqwzvfk\",\n  tokenId: \"a4fb5c2da1aa064e25018a43f9165040071d9e984ba190c222a7f59053af84b2\",\n  qty: 1.25\n}\n\nconst txid = await bchWallet.sendTokens(receiver);\n\n// Transaction ID\nconsole.log(txid);\n```\n\n*Note:* Only single token sends are supported at the moment. i.e. One token type\nper receiver per transaction.\n\n\n### Get Wallet Balance\nGets balance (confirmed + unconfirmed) for an BCH address\n\n```js\n// will get a balance for bchWallet.cashAddress\nconst myBalance = await bchWallet.getBalance();\n\n// will get a balance for any address\nconst balanceOfOtherAddress = await bchWallet.getBalance(\"bitcoincash:qp2rmj8heytjrksxm2xrjs0hncnvl08xwgkweawu9h\");\n```\n\n### List Tokens\nList the SLP tokens held by an address.\n```js\n// will get token balance for bchWallet.cashAddress\nconst myBalance = await bchWallet.listTokens();\n\n// will get a balance for any address\nconst balanceOfOtherAddress = await bchWallet.listTokens(\"simpleledger:qpeq7xx5x3a2jfa0x0w8cjqp4v9cm842vgsjqwzvfk\");\n```\n\n### Get Wallet Transaction History\nGet an array of TXIDs of the transactions involving this wallet.\n\n```js\n// will get transaction history for bchWallet.cashAddress\nconst myTransactions = await bchWallet.getTransactions();\n\n// will get transaction history for any address\nconst txHistoryOfOtherAddress = await bchWallet.getTransactions(\"bitcoincash:qp2rmj8heytjrksxm2xrjs0hncnvl08xwgkweawu9h\");\n```\n\n\n### Error Handling\n```js\ntry {\n    tx = await bchWallet.send([\n        { address: \"bitcoincash:qrlhkg4d9z3y88j246a6482xzregxaxnfsagmd2kh3\", amountSat: 1000 }\n    ]);\n} catch (err) {\n    console.error(err);\n\n    if (err.message && err.message.indexOf(\"Insufficient\") > -1) {\n        return alert(\"Insufficient balance on your BCH account.\");\n    }\n\n    return alert(\"Error. Try again later.\");\n}\n```\n\n### Save keys in the browser\nWhile developing BCH apps, remember to never send the private keys / mnemonic / seed phrase to your servers.\n1. Your servers can be hacked\n2. Depending on your jurisdiction you may not have the allowance to manage the funds of your users\n```js\nconst bchWallet1 = new BchWallet();\n\n// save the mnemonic for later\nlocalStorage.setItem(\"BCH_MNEMONIC\", bchWallet1.walletInfo.mnemonic);\n\n// retrieve mnemonic to initialize the wallet\nconst bchWallet2 = new BchWallet(localStorage.getItem(\"BCH_MNEMONIC\"));\n```\n\n\n# Licence\n[MIT](LICENSE.md)\n\n\ntest\n","readmeFilename":"README.md"}