Nigiri provides a command line interface that manages a selection of docker-compose
batteries included to have ready-to-use bitcoin regtest
development environment, with a bitcoin node, electrum explorer both backend and frontend user interface.
It offers a JSON HTTP proxy passtrough that adds to the explorer handy endpoints like /faucet
and automatic block generation when calling the /tx
pushing a transaction.
You can have Lightning with --ln
flag and/or Elements with the --liquid
flag.
- Download and install
nigiri
command line interface
$ curl https://getnigiri.vulpem.com | bash
This will also install several configurable files, such as bitcoin.conf
and elements.conf
, that can be edited. These can be found browsing the following directory:
POSIX (Linux/BSD): ~/.nigiri
macOS: $HOME/Library/Application\ Support/Nigiri
Windows: %LOCALAPPDATA%\Nigiri
Plan 9: $home/nigiri
- Lauch Docker daemon (Mac OSX)
$ open -a Docker
You may want to Manage Docker as a non-root user
- Close and reopen your terminal, then start Bitcoin and Liquid