Skip to content

SatoshiPortal/bull-bitcoin-fee-multiple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bull Bitcoin Fee Multiple

This service consists of the componenets:

  1. BTC Fee Estimate Watcher Back End
  2. BTC Fee Estimate Charter Front End
  3. Postgres Database for Watcher

Prerequisites

Linux host with docker

Usage

For first time install:

Download current last 1 year history of api specific fee estimates (1-2 block/fastest) for mempool.space as CSV from txstats and rename file as per Watcher ENV var CSV_FILE_PATH (default: fee_estimate_history.csv). Rename csv headers to "time", "satsPerByte" (ensure using CSV UTF-8 format to edit file or else expected and actual headers will give mismatch error even if they visually appear same), and place in ./btc-fee-watcher/assets/

If restarting with an existing data volume:

Place the pre-existing volume directory you have at the path specified in your .env file by the var POSTGRES_VOLUME_PATH

Then:

Prod

  1. cd ./deployment/config/
  2. cp config.sample.prod .env.prod and update .env.prod
  3. cd ./deployment/scripts
  4. ./build.prod.sh
  5. ./start.prod.sh

Dev / Local

  1. cd ./deployment/scripts/
  2. cp config.sample.local .env.local and update .env.local
  3. cd ./deployment/scripts
  4. ./build.local.sh
  5. ./start.local.sh

Update code in ./btc-fee-watcer/src and ./btc-fee-charter/ to get hot reload.

More info on service components:

  1. BTC Fee Estimate Watcher Back End
  2. BTC Fee Estimate Charter Front End

About

A service to track and chart btc fee estimate data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published