Pietralberto Mazza d28302a2c7 Expose electrum RPC port and log service addresses at start (#26)
* move resources/ outside cli/ & expose electrs RPC port

* log service addresses when starting nigiri & minor fixes
2019-05-10 19:04:41 +02:00
2019-03-14 16:13:38 +01:00
2019-03-29 11:04:52 +01:00
2019-05-02 11:53:12 +02:00
2019-03-29 11:04:52 +01:00
2019-03-14 15:19:30 +01:00
2019-05-10 01:35:21 +02:00

🍣 Nigiri Bitcoin

Nigiri provides a selection of docker-compose batteries included to have ready-to-use bitcoin environment thats supports different networks and sidechains.

No time to make a Nigiri yourself?

  • Download and install nigiri command line interface
$ curl https://getnigiri.vulpem.com | bash
  • Lauch Docker daemon (Mac OSX)
$ open -a Docker
  • Start Bitcoin + Liquid
$ nigiri start

Utensils

Ingredients

Directions

Preparation Time: 5 min Cooking Difficulty: Easy

Clone the repo:

$ git clone https://github.com/vulpemventures/nigiri.git

Enter project directory and install dependencies:

$ bash scripts/install

This will create ~/.nigiri copying there the cli/resources/ directory.

Build binary (Mac version):

$ bash scripts/build darwin amd64

Tasting

At the moment bitcoind, liquidd and electrs are started on regtest network. testnet and mainnet compose files will be released soon.

  • Start nigiri:
$ nigiri start

Use the --liquid flag to let you do experiments with the Liquid sidechain. A liquid daemon and a block explorer are also started when passing this flag.

  • Stop nigiri:
$ nigiri stop

Use the --delete flag to not just stop Docker containers but also to remove them and delete the config file and any new data written in volumes.

Nigiri uses the default directory ~/.nigiri to store configuration files and docker-compose files. To set a custom directory use the --datadir flag.

Nutrition Facts

The list of all available endpoints can be extended with one more POST /faucet which expects a body { "address": <receiving_address> } by enabling faucet.

Footnotes

If you really do love Sathoshi's favourite dish like us at Vulpem Ventures, check the real recipe out and enjoy your own, delicious, hand made nigiri sushi.

Roadmap

  • router
  • electrum server
  • bitcoin daemon
  • liquid daemon
  • esplora UI
  • [regtest] faucet
  • [regtest] auto-mining
Description
No description provided
Readme MIT 8 MiB
Languages
Go 95.8%
Makefile 3.3%
Shell 0.9%