/bitcoin-fee-notifier

Receive a notification when Bitcoin transaction fees are cheap

Primary LanguageNushellThe UnlicenseUnlicense

bitcoin-fee-notifier

Receive a notification when Bitcoin transaction fees are cheap.

Requirements

You should install Nushell if you want to run it standalone, a standard Docker installation is required otherwise.

You'll need a ntfy.sh topic to receive the notifications.

Configuration

Configuration is done through the following environment variables.

NTFY_TOPIC

The ntfy topic which will receive these notifications.

Required.

Example:

NTFY_TOPIC=nzmJdHAjFgVw8DOm

CHEAP_FEE

The sat/vB lower limit which will enable sending the cheap fees notification.

Defaults to 15.

Example:

CHEAP_FEE=35

RISING_TRIGGER

The percentage (in decimal form) upper limit from the last reported fee to trigger a rising fees notification.

Defaults to 1.5.

Example:

RISING_TRIGGER=1.618

Usage (standalone)

NTFY_TOPIC=nzmJdHAjFgVw8DOm CHEAP_FEE=10 ./bitcoin-fee-notifier.nu

Usage (Docker)

docker build -t bitcoin-fee-notifier .
docker run -d --rm --name bitcoin-fee-notifier -e "NTFY_TOPIC=nzmJdHAjFgVw8DOm" bitcoin-fee-notifier

License

The Unlicense