Setup

Devnet

Glittr's Devnet has several endpoints API that enables you to send transactions & query status information from nodes. First register on https://dev.glittr.fi and get your API key there. Use the API key by putting it on Authorization header as bearer token, .e.g. Authorization: Bearer <your-api-key>.

Bitcoin RPC:

https://devnet-rpc.glittr.fi

Glittr API:

https://devnet-core-api.glittr.fi

Electrum & Wallet API (broadcast Bitcoin Tx, get UTXOs, etc):

https://devnet-electrum.glittr.fi

Explorer:

https://devnet-explorer.glittr.fi

Localnet

If you're looking to run your own local node, you can follow steps below:

Prerequisites:

Install Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install build-essential & clang:

apt install build-essential clang

Building & Running Glittr Node

Clone glittr-core repository:

git clone https://github.com/Glittrfi/glittr-core-public

Build the code:

cd glittr-core && cargo build --release

Run you own local Bitcoin node:

chmod +x local_env.sh && ./local_env.sh

Run Glittr Node:

./target/release/glittr

You can update the node settings via settings.yaml file

Here's the default settings:

btc_rpc_url: http://127.0.0.1:18443 # URL for your Bitcoin
btc_rpc_username: user # username for Bitcoin RPC connection
btc_rpc_password: password # password for Bitcoin RPC connection
rocks_db_path: db_data # path do glittr node storage
api_url: 127.0.0.1:3001 # your glittr node API URL

Testnet

Coming soon

Mainnet

Coming soon

Last updated