Guides
Mine and validate on Unidroid
Miners
- Sign up and enter the code emailed to you, then create an API key under Account → API keys.
- Install the CLI. Log in, or pass
--api-keyon any command (it also selects another account without replacing a saved login):pip install "unidroid-cli[wallet]" udcli auth login udcli account balance --api-key unidroid_...
- Save a Hugging Face read token. Use a fine-grained, read-only token scoped to the repos you submit: validators receive it to download your model.
udcli auth hf set
- Register your coldkey and fund your balance. Submission fees come from this prepaid balance. The first upload from an account costs the challenge base fee (0.1 TAO by default). Another upload to the same challenge within 6 hours costs more, up to 0.5 TAO, then the fee falls back to the base. Every hotkey on the account shares that clock. Each challenge keeps its own. Send TAO from that coldkey to the platform address, then claim the extrinsic id:
udcli account coldkey register --wallet miner udcli account coldkey remove <ss58> # or the Remove button on Account udcli account balance # shows the platform deposit address udcli account claim 9092713-0006 # extrinsic id from the block explorer
The same claim flow is on Account → Balance. - Clone the brain's submission template. This is the first step of every submission. Each brain has one,
template-<brain>in the Unidroid-AI GitHub organization. The exact git URL is on the challenge's Brain tab, with a copy button:git clone https://github.com/Unidroid-AI/template-<brain> my-submission
Or let the CLI fetch the same template for you:udcli submission init --brain <brain-id> --path ./my-submission
Then copy your trained weights into itsweights/folder. - Find the challenge id, then hash, check and submit your folder:
udcli challenge list udcli submission hash --path ./my-submission udcli submission check --path ./my-submission --challenge <id> udcli submission submit --path ./my-submission --hf-repo you/weights --challenge <id> --wallet miner --hotkey default
- Follow the evaluation. Open the submission from Account → Submissions or the leaderboard to see each validator's status, score and error, and the success rate and episode count it reported:
udcli submission show <submission-id>
We email you when the submission is accepted, when the first score or failure arrives in each phase, if it is disqualified, and 12 hours before uploads close. Turn the emails off on your Account page.
A submission is a folder. The weights stay in your Hugging Face account; the rest goes to Unidroid as one ZIP. Submitting pins the commit SHA and signs the file manifest and ZIP hash with your hotkey. Keep that commit unchanged until Review ends, or you are disqualified. If you win, the model at that commit is published to Unidroid's public Hugging Face org before rewards are paid. Only your latest submission per hotkey counts, and your score is the stake-weighted average of the validators' scores.
Refused: pickle files, code the brain does not allow, and weights someone already submitted. One coldkey can hold only one podium place. A challenge's Brain tab lists its base checkpoint, action space and agent.yaml settings.
The submission folder
It holds agent.yaml (with the sha256 of every file in weights/), brain/, train/, optional tests/ and docs/, and weights/. Start from the brain's template, template-<brain> in Unidroid-AI(pi05, groot17, flux), or run udcli submission init --brain <brain-id>. Change the code freely, copy your weights into weights/, then:
udcli submission hash --path ./my-submission # write the weights hashes into agent.yaml udcli submission check --path ./my-submission --challenge <id> udcli submission submit --path ./my-submission --hf-repo you/weights --challenge <id> --wallet miner --hotkey default
submit pushes weights/ to your Hugging Face repo, pins the commit and uploads the ZIP. Pushing needs a write token for the repo's owner (--hf-token, HF_TOKEN or hf auth login). Push earlier with udcli submission push, or push yourself and pass --skip-upload (read access is enough). Validators use the read-only token from udcli auth hf set. Resume an interrupted upload within 24 hours with udcli submission resume <upload-id>; the fee is charged when the upload completes.
Unidroid can re-check a submission against what you signed at any time. An unavailable commit or token is reported as such; any differing byte is a mismatch an admin reviews. The result shows on your submission page.
Challenge periods
| Contest | Uploads open until Evaluation starts; validators score with the public eval config. |
|---|---|
| Evaluation | Uploads closed; validators score with the hidden private eval config. |
| Review | An admin approves the podium; winners are hash-checked and published. |
| Reward | Validators set weights to the published podium. |
Validators
- Sign up and ask an admin to grant the validator role and link your hotkey. It must be on the subnet metagraph with an alpha weight of at least 1,000 (the same rule as subnet 49). The list, including each hotkey's UID and name, refreshes every 5 minutes. Scores use that hotkey's share of the linked validators' alpha.
- Run the validator from the
unidroid-subnetrepo. The GPU validator polls signed jobs, downloads each model from Hugging Face at its pinned SHA, checks out the challenge's pinned task and eval commits, pulls the challenge's digest-pinned sandbox image, runs it next to the brain image with no network, and posts signed scores. It also sets weights every 30 minutes.cp .env.example .env # work dir, API key, wallet, netuid docker compose run --rm validator check docker compose up -d validator
- No GPU? Set
UNIDROID_MODE=weightsin.envto run the weights-only validator.
Hidden benchmark bundles can only be downloaded during their active window, and the validator deletes them when the window ends. See the BenchHub access rules.
Bundle submissions carry a ZIP next to the Hugging Face commit. Check its sha256, the agent.yaml hash and the weights digest from the job before running anything, then run brain-comm check, which re-hashes the weights against agent.yaml. Downloading a ZIP and the miner's read token is done only with udcli validator fetch, signed by a validator hotkey linked to your account, and only for active challenges. Links expire after ten minutes and every request is shown to admins. Only an admin can give an account the validator role.
When a job fails or the model cannot be downloaded, post the result with a short error reason. The miner sees it, so leave out secrets, host paths and hidden benchmark details. An admin can send the job back to you once the cause is fixed.
Benchmark teams
- Sign up and ask an admin for the team role.
- Put a
manifest.yamlat the root of the bundle folder withid,name,category,formatanddescription, and optionallyrobotandrobot_type. The id is permanent: a newer bundle needs a new id, so put the revision in it (for examplefranka-tabletop-v13). - Upload it. Choose public for a benchmark miners train against, or private for a hidden one:
udcli bench upload ./franka-tabletop-v13 --visibility private --thumbnail cover.png udcli bench status franka-tabletop-v13
- An admin reviews the upload and links it to a challenge. A private benchmark can only be downloaded by validators and your team during its active window, usually the challenge's Evaluation period. Miners never get it. Your uploads and their review notes are under Account → Benchmark uploads.
Datasets
Robot datasets for training models are listed on Datasets. Anyone can read the description, license, size and the free Hugging Face sample. Buying and downloading need an account, and the price is taken from your balance.
udcli dataset list --search franka udcli dataset info franka-pick-place-v1 udcli dataset buy franka-pick-place-v1 udcli dataset download franka-pick-place-v1 --out ./data --extract
A download resumes if it stops, and the CLI checks the sha256 before it finishes. Datasets you bought stay under Account → Datasets, including after one is taken off sale.
Admins upload one archive (.zip, .tar or .tar.gz) from the Admin console or the CLI. A super admin's upload goes on sale once the archive is verified. An admin's upload waits for a super admin to approve it. Admins set the price; 0 makes the dataset free.
udcli dataset upload ./my-dataset --id franka-pick-place-v1 --license CC-BY-4.0 --price 25 \ --preview-url https://huggingface.co/datasets/org/name --info episodes=1200 udcli dataset set-price franka-pick-place-v1 30