Skip to content

Mining Guide

Solo Mining (Native CPU)

1. Get a Challenge

bash
curl -X POST https://pot.rpc.gateway.tribewarez.com/challenge \
  -H "Content-Type: application/json" \
  -d '{"slot": 12345, "slot_hash": "abcdef..."}'

The response contains the challenge ID, operation type, input tensor, difficulty, MML threshold, and path distance max.

2. Compute and Submit

Your miner software (or the validator itself) executes the tensor operation, finds a valid nonce, and submits:

bash
curl -X POST https://pot.rpc.gateway.tribewarez.com/submit \
  -H "Content-Type: application/json" \
  -d '{
    "proof": {
      "challenge_id": "...",
      "challenge_hash": "...",
      "tensor_result_hash": "...",
      "mml_score": 0.72,
      "path_signature": "...",
      "path_distance": 3,
      "computation_nonce": 42,
      "computation_hash": "...",
      "miner_pubkey": "your_solana_pubkey"
    }
  }'

3. Check Status

bash
curl https://pot.rpc.gateway.tribewarez.com/status
curl https://pot.rpc.gateway.tribewarez.com/miners/your_solana_pubkey

Difficulty

Difficulty scales with slot height. Higher difficulty means:

  • Tighter MML threshold (lower max compression ratio)
  • Smaller Hamming distance tolerance for neural path matching
  • More nonce iterations needed to find a valid proof

TribeWarez Blockchain Ecosystem