Install prerequisites (example for ubuntu/debian)
sudo apt install clang build-essential
Install rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Clone the glittr-core repo:
git clone https://github.com/Glittrfi/glittr-core
Build
cargo build --release
The glittr
binary will be on ./target/release/glittr
Set your node settings on settings.yaml
.
btc_rpc_url: http://127.0.0.1:18443
btc_rpc_username: user
btc_rpc_password: password
rocks_db_path: db_data
api_url: 127.0.0.1:3001
- btc_rpc_url - URL for your local Bitcoin RPC (you can run your own or check
./local_env.sh
) - btc_rpc_username - Username for the Bitcoin RPC
- btc_rpc_password - Password for the Bitcoin RPC
- rocks_db_path - Local storage path for glittr node database (you can leave it as is)
- api_url - Your glittr node API URL
After preparing all of the above, run the glittr node ./target/release/glittr