@samouraiwallet/one-dollar-fee-estimator-cli

0.6.0 • Public • Published

The $1 Fee Estimator CLI

@samouraiwallet/one-dollar-fee-estimator-cli

This is a CLI tool for users that want to run The $1 Fee Estimator locally in terminal

Requirements

  • Node.js v16 or newer
  • NPM (or yarn or pnpm)
  • Synchnonized Bitcoin Core with accessible RPC

Installation

# install globally
npm i -g @samouraiwallet/one-dollar-fee-estimator-cli

Usage

Node.js

See @samouraiwallet/one-dollar-fee-estimator

CLI

# when installed via NPM globally

one-dollar-fee-estimator --connection <host>:<port> --username <username> --password <password> [--mode <mode>] [--refresh <delay>]

# OR using NPX

npx @samouraiwallet/one-dollar-fee-estimator-cli@latest --connection <host>:<port> --username <username> --password <password> [--mode <mode>] [--refresh <delay>]

[-c OR --connection] = Connection string to bitcoind RPC API. Must be of the form <host>:<port>

[-u OR --username] = Username used to access bitcoind RPC API.

[-p OR --password] = Password used to access bitcoind RPC API.

[-k OR --cookie] = Cookie used to access bitcoind RPC API instead of username and password.

[-m OR --mode] = Mode used for the estimate (value = txs | bundles).

[-r OR --refresh] = Delay in seconds between 2 iterations of the computation.

[--debug] = Display debug information in logs

Package Sidebar

Install

npm i @samouraiwallet/one-dollar-fee-estimator-cli

Weekly Downloads

1

Version

0.6.0

License

LGPL-3.0

Unpacked Size

13.6 kB

Total Files

5

Last publish

Collaborators

  • pajasevi