{"_id":"@dojo-tools/next-block-estimator-cli","_rev":"2-3e9b253c5ef103384f1bae479564bf90","name":"@dojo-tools/next-block-estimator-cli","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@dojo-tools/next-block-estimator-cli","version":"1.0.0","keywords":["bitcoin","fees","calculator","estimator","cli"],"author":{"name":"Katana Cryptographic Ltd."},"license":"LGPL-3.0","_id":"@dojo-tools/next-block-estimator-cli@1.0.0","maintainers":[{"name":"pajasevi","email":"pavel.sevcik@protonmail.com"}],"homepage":"https://github.com/Dojo-Open-Source-Project/dojo-tools","bugs":{"url":"https://github.com/Dojo-Open-Source-Project/dojo-tools/issues"},"bin":{"next-block-estimator":"dist/bin.js"},"dist":{"shasum":"ab89233d1e7f3bcf68e08953bbf5584bac57fe1b","tarball":"https://registry.npmjs.org/@dojo-tools/next-block-estimator-cli/-/next-block-estimator-cli-1.0.0.tgz","fileCount":5,"integrity":"sha512-NPULHQU2DYNalz0SIQIUx6oPlsbLjDVd4mAACW+J/ylcxAyCVYTcj1wZYgQNI+hpRvQKpc1ogzuxG2Vllzgy4Q==","signatures":[{"sig":"MEUCICgGIQjt9KqhP+ahY79SXrYKQ99wuxm8Ayg9TvPSTvbDAiEA8Zanvu+4a5PSk0ot9dpMsg+QkEcXipFHzGbHP/wPRAI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14620},"type":"module","_from":"file:dojo-tools-next-block-estimator-cli-1.0.0.tgz","engines":{"node":">=24"},"scripts":{"lint":"pnpm exec biome lint src","build":"pnpm run build:clean && pnpm run build:esm && chmod +x ./dist/bin.js","check":"pnpm exec biome check --write src","format":"pnpm exec biome format --write src","lint:fix":"pnpm exec biome lint --write src","build:esm":"pnpm exec esbuild \"src/**/*.ts\" --format=esm --platform=node --target=es2020 --sourcemap --outdir=dist","typescript":"tsc --noEmit","build:clean":"rm -rf dist"},"_npmUser":{"name":"pajasevi","email":"pavel.sevcik@protonmail.com"},"_resolved":"/private/var/folders/ry/rx5jctws6tj1npd85yrttkqm0000gn/T/b9d44fd68b35c2d9f2bd4d2f543f86d8/dojo-tools-next-block-estimator-cli-1.0.0.tgz","_integrity":"sha512-NPULHQU2DYNalz0SIQIUx6oPlsbLjDVd4mAACW+J/ylcxAyCVYTcj1wZYgQNI+hpRvQKpc1ogzuxG2Vllzgy4Q==","repository":{"url":"git+https://github.com/Dojo-Open-Source-Project/dojo-tools.git","type":"git"},"_npmVersion":"11.12.1","description":"A CLI tool estimating the minimum feerate required for the inclusion of a bitcoin transaction into the next block.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@dojo-tools/next-block-estimator":"1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/next-block-estimator-cli_1.0.0_1776722368685_0.13016984748601046","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"_id":"@dojo-tools/next-block-estimator-cli@1.0.1","bin":{"next-block-estimator":"dist/bin.js"},"bugs":{"url":"https://github.com/Dojo-Open-Source-Project/dojo-tools/issues"},"dist":{"shasum":"8739364078adfbe7606208fed371a636cdbc871f","tarball":"https://registry.npmjs.org/@dojo-tools/next-block-estimator-cli/-/next-block-estimator-cli-1.0.1.tgz","fileCount":5,"integrity":"sha512-JIczniHRO1QLHdti36g7EdaznSEJCX8ZG209kWI4pqqDn91AH3EqJX+SLepAb1Ht4g0uTyW1kcxQtmmd8ASOVw==","signatures":[{"sig":"MEYCIQCbB358vm0MRGOUd92uniDVS3YY6Zpsz5MiwpN3GijPLAIhAKI1J9AmrQEClRbg9RxzKfBuKHnJ0ahLAwDw/TYOgxpk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDndBSDZgUbzHKX8BR8+88SeORX+Nncb1n43E4mUmpCfwIhAJtFmz3Cm41MtZDMC1E1yzCszSCL4yWEAn8bXIo3fj7s"}],"unpackedSize":14654},"name":"@dojo-tools/next-block-estimator-cli","type":"module","author":"Katana Cryptographic Ltd.","engines":{"node":">=24"},"license":"LGPL-3.0","scripts":{"lint":"pnpm exec biome lint src","build":"pnpm run build:clean && pnpm run build:esm && chmod +x ./dist/bin.js","check":"pnpm exec biome check --write src","format":"pnpm exec biome format --write src","lint:fix":"pnpm exec biome lint --write src","build:esm":"pnpm exec esbuild \"src/**/*.ts\" --format=esm --platform=node --target=es2020 --sourcemap --outdir=dist","typescript":"tsc --noEmit","build:clean":"rm -rf dist"},"version":"1.0.1","_npmUser":{"name":"pajasevi","email":"pavel.sevcik@protonmail.com"},"homepage":"https://github.com/Dojo-Open-Source-Project/dojo-tools","keywords":["bitcoin","fees","calculator","estimator","cli"],"repository":{"url":"git+https://github.com/Dojo-Open-Source-Project/dojo-tools.git","type":"git"},"description":"A CLI tool estimating the minimum feerate required for the inclusion of a bitcoin transaction into the next block.","directories":{},"maintainers":[{"name":"pajasevi","email":"pavel.sevcik@protonmail.com"}],"_nodeVersion":"26.0.0","dependencies":{"@dojo-tools/next-block-estimator":"1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/next-block-estimator-cli_1.0.1_1787674289593_0.5037791456306584"}}},"time":{"created":"2026-04-20T21:59:28.568Z","modified":"2026-08-25T16:11:29.991Z","1.0.0":"2026-04-20T21:59:28.810Z","1.0.1":"2026-08-25T16:11:29.704Z"},"bugs":{"url":"https://github.com/Dojo-Open-Source-Project/dojo-tools/issues"},"author":"Katana Cryptographic Ltd.","license":"LGPL-3.0","homepage":"https://github.com/Dojo-Open-Source-Project/dojo-tools","keywords":["bitcoin","fees","calculator","estimator","cli"],"repository":{"url":"git+https://github.com/Dojo-Open-Source-Project/dojo-tools.git","type":"git"},"description":"A CLI tool estimating the minimum feerate required for the inclusion of a bitcoin transaction into the next block.","maintainers":[{"name":"pajasevi","email":"pavel.sevcik@protonmail.com"}],"readme":"# The $1 Fee Estimator CLI\n## @dojo-tools/next-block-estimator-cli\n\nThis is a CLI tool for users that want to run [The $1 Fee Estimator](../next-block-estimator) locally in terminal\n\n## Requirements\n- Node.js v18 or newer\n- NPM (or yarn or pnpm)\n- Synchnonized Bitcoin Core with accessible RPC\n\n## Installation\n```shell\n# install globally\nnpm i -g @dojo-tools/next-block-estimator-cli\n```\n\n## Usage\n\n### Node.js\n\nSee [@dojo-tools/next-block-estimator](../next-block-estimator)\n\n### CLI\n\n```shell\n# when installed via NPM globally\n\nnext-block-estimator --connection <host>:<port> --username <username> --password <password> [--mode <mode>] [--refresh <delay>]\n\n# OR using NPX\n\nnpx @dojo-tools/next-block-estimator-cli@latest --connection <host>:<port> --username <username> --password <password> [--mode <mode>] [--refresh <delay>]\n\n[-c OR --connection] = Connection string to bitcoind RPC API. Must be of the form <host>:<port>\n\n[-u OR --username] = Username used to access bitcoind RPC API.\n\n[-p OR --password] = Password used to access bitcoind RPC API.\n\n[-k OR --cookie] = Cookie used to access bitcoind RPC API instead of username and password.\n\n[-m OR --mode] = Mode used for the estimate (value = txs | bundles).\n\n[-r OR --refresh] = Delay in seconds between 2 iterations of the computation.\n\n[--debug] = Display debug information in logs\n ```\n","readmeFilename":""}