Run a Glittr Node
Last updated
Last updated
This guide is written for running a Glittr node on testnet4, on a linux-based system.
Make sure you have access to testnet bitcoin, read the following guide on running bitcoin node
Install system dependencies (Ubuntu/Debian):
Install Rust toolchain (https://doc.rust-lang.org/cargo/getting-started/installation.html):
Clone the repository
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.