Skip to content

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

License

Notifications You must be signed in to change notification settings

aureleoules/lumiere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published