Run a Glittr Node
Last updated
Last updated
This guide is designed for running a Glittr Node locally.
Make sure you have access to Bitcoin RPC, read the following guide on running bitcoin node
Install Rust toolchain ()
Clone the repository
Checkout testnet
if you want to run on testnet4. Use the main
branch for local development.
Build the project
The compiled binary will be available at ./target/release/glittr
Create a settings.yaml
file in your project directory:
btc_rpc_url
Bitcoin RPC endpoint URL
http://127.0.0.1:48332
btc_rpc_username
Bitcoin RPC authentication username
-
btc_rpc_password
Bitcoin RPC authentication password
-
rocks_db_path
Local storage path for the node database
db_data
api_url
Glittr node API listening address
127.0.0.1:3001
Start the Glittr node:
If you can see "Indexing block ..." then you have successfully run the Glittr node.