{"name":"bitcore-client","version":"8.25.38","author":{"name":"Justin Langston","email":"nitsujlangston@gmail.com"},"_id":"bitcore-client@8.25.38","dist":{"shasum":"9d9321d726b8a334ca2a455e887c3a97c93445ac","tarball":"http://registry-npm.ywwl.com/bitcore-client/download/bitcore-client-8.25.38.tgz","fileCount":77,"integrity":"sha512-Vs/xaDa6fJOZA6Bjidq5cFz1JC7tuNUPj9DJ9RxdBzAu+D3SuDnQzaz7qDwZS5cWpU7ZgM5D0Hc7ae/Vj/Os4g==","signatures":[{"sig":"MEYCIQDbOfD6fCDCUyYCtle5A8qONU8oSulshrZqHwVtwaJitAIhALLvMrsZ0dh7qDcUihHBHt+BKwfwDMPwo4+7U3bMpfQR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIe/+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqW1Q//ZSSvqGH39hU9kjw9ccsbO+Nb8JdYYG1OzEgnu+j+sKFEpR3E\r\nS4jSCt0DqVyXhHdkdUdGPraKEkiqS7f6ZX3L/CKQ4JlmfvoHIL94drxf3vWr\r\nVqF+xzDnjAOaHYUouCYJnrNoPJSFV829qUZctjjzhzeKGMGo2hHTIwPtqFDZ\r\nKMtYVVoXPggZ5Cwr7xZ0xnxDHYZafvWq+MhKYTf5JmNz70Nb45BiA2L/ExhY\r\nqlM4pgqC0HlmxXl0qvu+coee/cCb1mo3kuv1YBold5aBwCJQUcxaJcb0wKox\r\n2sNHpPVVk+J+10QnrGF9XCLLRJC8PX7IznyKw9cHGmlyRyajDQqhLA90PnNV\r\nWiA+nSXhSN4fXoH3NDC3vkK3G8v2RcYUB1CKmH32NFzmgjxB8vLBqMiLPXbc\r\noKS+g6qBT1q+7xoERc82r7hBnN5g90XAY8CqDKVTx/j5l43neTZBixZpzFVr\r\nrBQQxwuUxFah76P5RqpBABmSJ+S39PZ50SLMiWHulkbXrA5reW63mpHv+bkM\r\nuC9qbr6zFm0zGhnlSb/6xPYzqj4cHSqr5rur4ixzYLEgShmJnmZNvhLLnuaN\r\nggJ+gbKOoYnLmFDFyNBTwX4nR+T1MRS/sokleVAXsDZWwVQ7uRGH7ajvP7Lw\r\nCkLh3h4Kldvi1rRV3P0l5uTLg15+is8YWfA=\r\n=S3+h\r\n-----END PGP SIGNATURE-----\r\n","size":51488,"noattachment":false,"key":"/bitcore-client/-/bitcore-client-8.25.38.tgz"},"main":"./ts_build/index.js","types":"./ts_build/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"a3ab2165c1c3133f3963afb200e3f2ff0f81a0fa","scripts":{"fix":"npm run fix:lint && npm run fix:style","pub":"npm run compile && npm  publish","lint":"npm run lint:ts && npm run lint:style","test":"mocha ./test/unit","build":"npm run compile","clean":"rm -rf ./ts_build","watch":"tsc --watch","compile":"npm run clean && tsc","lint:ts":"tslint -c ../../tslint.json 'src/**/*.ts'","fix:lint":"tslint --fix -c ../../tslint.json 'src/**/*.ts'","fix:style":"prettier --write 'src/**/*.ts'","precommit":"npm run fix && npm run lint","lint:style":"prettier --check 'src/**/*.ts'"},"_npmUser":{"name":"nitsujlangston","email":"nitsujlangston@gmail.com"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Wallet client for Bitcore node","directories":{},"_nodeVersion":"12.22.7","dependencies":{"async":"2.5.0","bcrypt":"3.0.8","mkdirp":"0.5.1","levelup":"4.3.2","mongodb":"^3.6.0","request":"2.87.0","elliptic":"^6.5.3","level-js":"4.0.2","progress":"2.0.0","promptly":"3.0.3","commander":"2.15.1","leveldown":"5.4.1","secp256k1":"3.7.1","JSONStream":"~1.3.1","bitcore-mnemonic":"^8.25.38","crypto-wallet-core":"^8.25.38","source-map-support":"0.5.13","request-promise-native":"1.0.5"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"5.0.5","sinon":"4.4.8","typescript":"3.3.4000","@types/node":"10.12.15","@types/bcrypt":"3.0.0","@types/mongodb":"3.3.8","@types/request":"2.48.1","@types/bcryptjs":"2.4.2","@types/elliptic":"6.4.3","@types/secp256k1":"3.5.0","eslint-plugin-import":"2.8.0","@types/ethereumjs-util":"5.2.0","eslint-config-airbnb-base":"12.1.0","@types/request-promise-native":"1.0.15"},"_npmOperationalInternal":{"tmp":"tmp/bitcore-client_8.25.38_1663168510456_0.07973710252127875","host":"s3://npm-registry-packages"},"readme":"# Bitcore Client\n\n**A helper to create a wallet using the bitcore-v8 infrastructure.**\n\n## Purpose\n\nThis repo should allow you to create a wallet using the bitcore-v8 infrastructure.\n\nCurrently we have the following features\n\n- Wallet Creation\n- Importing Addresses to the Wallet\n- View Only\n- Send Enabled by including the privKey\n- Instant balance checking\n- Transaction Creation\n- Transaction Signing\n- Transaction Broadcasting\n- Multi-Sig address derive/importing\n\n## Commands\n\n### Wallet Create\n\nNo baseUrl flag will automatically create a wallet that points to https://api.bitcore.io/api.\n\n```sh\n./wallet-create --name TestWalletBTC --chain BTC --network mainnet\n```\n\nTo create a wallet to point to local bitcore-node.\n\n```sh\n./wallet-create --name myregtestwallet --chain BCH --network regtest --baseUrl http://localhost:3000/api\n```\n\n### Register an Existing Wallet\n\nRegister an existing wallet to point to custom Bitcore API url.\n\n```sh\n./wallet-register --name myregtestwallet --baseUrl https://api.bitcore.io/api\n```\n\nOr a local Bitcore-node\n\n```sh\n./wallet-register --name myregtestwallet --baseUrl http://localhost:3000/api\n```\n\n### Wallet Address Import\n\nYou can import a jsonl file. privKey and pubKey are optional.\nIf you provide privKey, pubKey must be provided as well.\n\n```sh\n//~/Desktop/export.jsonl\n{\"address\": \"mXy1234\", privKey: \"xxxxxxx\", pubKey: \"yyyyyyyy\"}\n{\"address\": \"mXy1234\", privKey: \"xxxxxxx\", pubKey: \"yyyyyyyy\"}\n{\"address\": \"mXy1234\", privKey: \"xxxxxxx\", pubKey: \"yyyyyyyy\"}\n```\n\n```sh\n./wallet-import --name TestWalletBTC --file ~/Desktop/export.jsonl\n```\n\nYou can also import an address in json format in the command line.\n\n```sh\n./wallet-import --name myregtestwallet --parse '[{\"address\":\"mXy1234\"}]'\n```\n\n### Balance Checking\n\n```sh\n./wallet-balance --name TestWalletBTC\n```\n\n### Balance Checking at Specific Date or Time\n\n```sh\n./wallet-balance --name TestWalletBTC --time 01-15-2019\n```\n\nValid types of time (no slash marks allowed):\n\n```sh\n1-14-2019\n\"Wed Jan 16 2019 13:34:20 GMT-0500 (Eastern Standard Time)\"\n\"2019-01-16T18:47:33.396Z\"\n```\n\n### Wallet UTXOS\n\n```sh\n./bin/wallet-utxos --name TestWalletBTC\n```\n\n### Transaction Creation\n\n```sh\n./bin/wallet-tx --addresses '[{\"address\": \"moVf5Rf1r4Dn3URQHumEzvq3vtrFbaRvNr\", \"satoshis\": 2500000000}]' --fee 100 --utxos '[{\"txid\":\"28321f501ce47db1fd40d9ad461624bf9fe6cb581ac0177d17304ff128b86d61\",\"vout\":0,\"address\":\"mhwfzHhBdpUKLTzGkUEUpJWa3ipTYZHjF8\",\"script\":\"21033a3c1aa3fb35e07fe7ff44423c8d378c2d4610ffac8b08c4e6747d7573566937ac\",\"value\":5000000000}]' --change \"mz21R16FYXfA6G4EJdCrTsduvX9BHHecvv\" --name TestWalletBTC --amount 2500000000\n```\n\n### Transaction Signing\n\n```sh\n./bin/wallet-sign --name TestWalletBTC --tx 0100000001616db828f14f30177d17c01a58cbe69fbf241646add940fdb17de41c501f32280000000000ffffffff0200f90295000000001976a914578237b9848cc709ced0e098417e0494415add1488ac9cf80295000000001976a914caf0ee682de3daa9b3640da1f6d47cc04ce2c99e88ac00000000\n```\n\n### Transaction Broadcast\n\n```sh\n./bin/wallet-broadcast --name TestWalletBTC --tx 0100000001616db828f14f30177d17c01a58cbe69fbf241646add940fdb17de41c501f32280000000048473044022052cf595274c422c37d140989c8cc31c95b39d326b5eac8d4feb8bcceebdebc3f02205635c798c24ae1d44d0871e6938dbfd76293e695131d890838654816f28b942401ffffffff0200f90295000000001976a914578237b9848cc709ced0e098417e0494415add1488ac9cf80295000000001976a914caf0ee682de3daa9b3640da1f6d47cc04ce2c99e88ac00000000\n```\n\n### Paypro Payment\n\n```sh\n./bin/wallet-paypro --name TestWalletBTC --payProUri 'https://bitpay.com/i/Dd8q13AnnVyYM7pcMBHfv'\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/bitpay/bitcore/blob/master/Contributing.md) on the main bitcore repo for information about how to contribute.\n\n## License\n\nCode released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).\n\nCopyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.\n","publish_time":1663168510692,"maintainers":[{"name":"gasteve","email":"stephen@pairhome.net"},{"name":"nitsujlangston","email":"nitsujlangston@gmail.com"},{"name":"unusualbob","email":"unusualbob@gmail.com"}],"_cnpm_publish_time":1663168510692,"dist-tags":{"beta":"11.5.2","latest":"10.10.15"}}