### Build Spectre Stratum Bridge from Source Source: https://github.com/spectre-project/spectre-stratum-bridge/blob/main/README.md Instructions to build the Spectre Stratum Bridge executable from source. Ensure you have Go 1.23 or later installed. ```bash cd cmd/spectrebridge go build . ``` -------------------------------- ### Run All-in-One Docker Setup Source: https://github.com/spectre-project/spectre-stratum-bridge/blob/main/README.md Use this command to build and run the Spectre Stratum Bridge with all components, including monitoring tools. Ensure you have Docker installed and the repository cloned. ```bash git clone https://github.com/spectre-project/spectre-stratum-bridge.git cd spectre-stratum-bridge docker compose -f docker-compose-all-src.yml up -d --build ``` -------------------------------- ### Start All Services with Docker Compose Source: https://github.com/spectre-project/spectre-stratum-bridge/blob/main/docs/monitoring-setup.md Use this command to build and start all necessary services, including the bridge, Prometheus, and Grafana, in detached mode. ```bash docker compose -f docker-compose-all-src.yml up -d --build ``` -------------------------------- ### Run Pre-built Bridge-Only Docker Image Source: https://github.com/spectre-project/spectre-stratum-bridge/blob/main/README.md This command runs a pre-built Docker image for the bridge. It's a quicker option but may not be the latest version. Ensure Docker is installed. ```bash docker run -p 5555:5555 spectrenetwork/spectre_bridge:latest ``` -------------------------------- ### Run Bridge-Only Docker Setup Source: https://github.com/spectre-project/spectre-stratum-bridge/blob/main/README.md Use this command to build and run only the Spectre Stratum Bridge component using Docker. This is suitable if you already have Prometheus and Grafana set up. ```bash git clone https://github.com/spectre-project/spectre-stratum-bridge.git cd spectre-stratum-bridge docker compose -f docker-compose-bridge-src.yml up -d --build ``` -------------------------------- ### Run Spectre Stratum Bridge Source: https://github.com/spectre-project/spectre-stratum-bridge/blob/main/README.md Command to run the Spectre Stratum Bridge after building from source. Ensure your configuration file is set up correctly. ```bash ./spectrebridge ``` -------------------------------- ### Mining Statistics Display Source: https://github.com/spectre-project/spectre-stratum-bridge/blob/main/README.md This is a sample output showing mining statistics, including worker name, average hashrate, accepted/stale/invalid shares, blocks mined, and uptime. It also displays the network hashrate. ```text =============================================================================== worker name | avg hashrate | acc/stl/inv | blocks | uptime ------------------------------------------------------------------------------- ghostface | 12.62KH/s | 6/0/0 | 6 | 17h36m38s ------------------------------------------------------------------------------- Total | 12.62KH/s | 6/0/0 | 6 | 17h36m46s ------------------------------------------------------------------------------- Network Hashrate: 138.40MH/s ======================================================== spr_bridge_v0.3.18 === ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.