2019-03-29 11:04:51 +01:00
2019-03-25 16:21:47 +01:00
2019-03-14 16:13:38 +01:00
2019-03-14 16:13:38 +01:00
2019-03-14 15:19:30 +01:00
2019-03-26 11:46:18 +01:00

🍣 Nigiri Bitcoin

A dockerized environment hosting a bitcoin and liquid daemons in regtest network with an electrum server that indexes and keeps track of all UTXOs.

Utensils

Ingredients

Directions

Preparation Time: 20 min Cooking Difficulty: Easy

Clone the repo:

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

Create and start nigiri (only the first time or after cleaning):

$ bash scripts/create

At the moment bitcoind, liquidd and electrs are started on regtest network.

Start nigiri:

$ bash scripts/start

This will start 4 containers that run the following services respectevely:

  • bitcoin daemon (regtest)
  • liquid daemon
  • electrs REST server
  • API passthrough with optional faucet and mining capabilities (nigiri-chopsticks)

Stop nigiri:

$ bash scripts/stop

Stop and uninstall nigiri:

$ bash scripts/clean

When setup is completed, you can call any endpoint at http://localhost:3000/.

Nutrition Facts

The list of all available endpoints has been extended with one more POST /send which expects a body { "address": <receiving_address> }

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
  • faucet
Description
No description provided
Readme MIT 8 MiB
Languages
Go 95.8%
Makefile 3.3%
Shell 0.9%