Skip to content

Kelvinchen03/bittbridge

 
 

Repository files navigation

Bittbridge

License: MIT Ask DeepWiki


The Incentivized AI

DiscordNetwork


What is Bittbridge?

Bittbridge is a Bittensor subnet for New England energy demand (LoadMw) prediction. Miners serve predictions; Validators score them and set weights.

High-Level Flow

flowchart LR
    subgraph validators [Validators]
        V1[Validator]
    end
    subgraph miners [Miners]
        M1[Miner]
    end
    subgraph chain [Bittensor Chain]
        S[Subnet 183]
    end
    V1 -->|"Challenge"| M1
    M1 -->|"Prediction"| V1
    V1 -->|"Set weights"| S
    S -->|"Rewards"| M1
Loading

Validators send challenges to miners. Miners respond with predictions. Validators evaluate accuracy, set weights on-chain, and miners earn rewards based on their scores.


Quick start

You need: GitHub account, GCP free trial, tTAO (testnet tokens)

  1. Clone: git clone https://github.com/bittbridge/bittbridge.git
  2. ISO-NE: Create account → put username/password in .env (from .env.example)
  3. Check API: python scripts/check_iso_ne_api.py
  4. Follow steps 1–4 below (GCP VM + moving average miner). Next: 5. Update and restart when the repo changes, then 6. Advanced miner models to experiment with ML beyond the baseline, then 7. Custom models for export/train/deploy flow.

Guide

Step Topic
1 Before you start — ideas; clone URL
2 GCP VM setup — VM, firewall, clone, venv
3 Wallets and tokens — wallet, tTAO, register, save UID, .env
4 Run miner — moving average in neurons/miner.py
5 Update and restart — pull, pip install, restart miner
6 Advanced miner models — features & models in model_params.yaml
7 Custom models — export plugin folder, train externally, deploy custom model

Optional: Incentive mechanism (how rewards work). Optional: App workflow and Supabase (plain-language data + prediction flow).

More (validator, troubleshooting): docs/guide/advanced


Final Checklist

Task
Github repo forked
VM created
Repo cloned on VM, venv activated
Wallet created (miner); mnemonics stored
tTAO balance is positive
Miner hotkeys is registered to subnet 183; UID saved
ISO-NE credentials in .env (ISO_NE_USERNAME, ISO_NE_PASSWORD)
Miner running in tmux session (python -m neurons.miner)
Detached from tmux (Ctrl+b d) – Miner running 24/7
Logs show Metagraph sync and request/response traffic

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 76.7%
  • Jupyter Notebook 21.1%
  • Shell 2.2%