aureleoules / lumiere

💡 lumière is a simple self-hosted bitcoin block explorer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lumière

Simple Bitcoin block explorer

Get started

Here is the process to install lumière.

Need a new BTCD node? (Recommended)

Create a .env file from the .env.sample template.
Leave the HOST variable as btcd.

Checkout Environment Variables for more informations.

Make sure to create a volume containing the chain data and a volume containing TLS certificates.

$ docker volume create btcd_data
$ docker volume create btcd_certs

Now run the app.

$ docker-compose up

Checkout localhost:8000.

Already have a BTCD node?

If you already have a btcd node running, make sure it has the --txindex and --addrindex parameters.

Create a .env file from the .env.sample template. Checkout Environment Variables for more informations.

Make sure to create a volume containing TLS certificates to connect to your node.

$ docker volume create btcd_certs

Now run the app.

$ docker-compose -f docker/docker-compose.lumiere.yml up

Check out localhost:8000.

Development

Copy .env.sample to .env.

$ cp .env.sample .env

Make sure to create a volume containing the chain data and a volume containing TLS certificates.

$ docker volume create btcd_data
$ docker volume create btcd_certs

Now run the development environment.

$ docker-compose -f docker/docker-compose.dev.yml up

This will start a BTCD node on the test network, the Go API and the UI.

The API is available at localhost:8000/api.
The UI is available at localhost:3000.

Environment variables

  • RPC_USER # RPC username
  • RPC_PASS # RPC password
  • RPC_HOST # RPC host or ip
  • RPC_PORT # RPC port (optional)
  • TESTNET # Use testnet (TESTNET=1)
  • CERTS_LOCATION # Location of TLS certificates (optional)

About

💡 lumière is a simple self-hosted bitcoin block explorer

License:MIT License


Languages

Language:TypeScript 64.3%Language:Go 21.7%Language:CSS 10.7%Language:HTML 2.7%Language:Dockerfile 0.6%