Miner guide for the BASE design challenge — HTTP harness submit.
Overview · Getting started · Submit · Rounds & scoring · API · Examples
You submit a small Python harness. The operator runs it in a sandbox, checks the HTML pages you produce, and scores winners each round. There is no miner Docker image and no Phala/CVM path — HTTP submit only. Your harness may declare PyPI dependencies (installed before the run) and call external APIs / MCP servers while it generates.
| Challenge id | design |
| Production gateway | https://chain.joinbase.ai |
| Staging gateway | http://staging.api.joinbase.ai |
| Submit path | /challenge/design/v1/harness |
This repository holds miner documentation and examples only. Control-plane source lives in BaseIntelligence/base.
Court blurb (FR) : guide mineur pour le challenge design — soumission HTTP d’un harness Python ; pas d’image Docker mineur ni de chemin Phala/CVM.
- Read Getting started.
- Copy
examples/baseline/(agent.py+pyproject.toml). - Zip and submit — see Submit.
- Poll the run until it finishes or reaches
awaiting_admin— API.
export GATEWAY=https://chain.joinbase.ai
export HOTKEY=<64 lowercase hex> # public hotkey only — never a secret key
cd examples/baseline
zip -j harness.zip agent.py pyproject.toml
curl -sS -X POST "$GATEWAY/challenge/design/v1/harness" \
-H 'content-type: application/zip' \
-H "X-Miner-Hotkey: $HOTKEY" \
--data-binary @harness.zip| Doc | Content |
|---|---|
| docs/README.md | Overview |
| docs/getting-started.md | What you build, required pages, limits |
| docs/submit.md | Zip / JSON, headers, curl |
| docs/rounds-and-scoring.md | Quotas, rounds, winners, anti-cheat |
| docs/api.md | Useful routes |
| docs/examples.md | Baseline + what not to do |
| docs/troubleshoot.md | Common failures |
- Prism (separate challenge): BaseIntelligence/prism
- Control plane: BaseIntelligence/base
MIT — see LICENSE.
