Skip to content

JamestheDon/ledgerd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

legerd

Ledgerd is a human readable cli interface for bitcoin nodes.

What is Ledgerd?

"Building on Bitcoin"

A collection of programs and scripts designed to help bitcoin developers and node operators.

//                       /)      /)              /)
//                      //  _  _(/ _    _  __  _(/
//                     (/__(/_(_(_(_/__(/_/ (_(_(_
//                               .-/
//                              (_/

Branch

Heads up!

Bitcoin Core nodes are safest to use as "hot wallets" storing small amouts of btc for short amounts of time.

Current Support

Darwin (Mac) Linux

Bitcoin Core Sources

Run CLI Instructions

# command `ledgerd` needs to be linked to access glodally.
# from inside the repo run:
$ npm link
$ ledgerd

# Without linking run:
$ node index.js

Scripts:

  • scripts/coreVersions.js: curl available bin/pkgs for bitcoin-core and write to file versions.json.
  • scripts/coreInit.js: build all important urls and env details.
  • scripts/coreInit.js: Auth implementation.
  • scripts/coreInit.js: bitcoin.conf creation.
  • utils/auth.js
  • scripts/operations {analyze}: tailing the debug.log and grep for progress status, shutdown info, errors.

Get bitcoin-core binary files

  • download desired bitcoin version pkgs
$ wget https://bitcoincore.org/bin/bitcoin-core-0.21.1/bitcoin-0.21.1-osx.dmg

Validate binary file integrity.

  • Validate SHASUMs (MacOS)
# (MacOS)
# Validate SHASUMs example

$ gpg --keyserver
$ find SHASUMS.asc
$ gpg --verify SHASUMS.asc
/**
 *  BONUS: How "clean" is the env?
 * 
 *  Having the peace of mind knowing that 
 *   some basic explotis are accounted for.
 *   what are some basic exploits/concerns?
 *   Dangerous ports open? 
 */

About

Bitcoin Core Tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published