# UR > UR is an open-source, decentralized privacy network: user traffic distributed > across independent miners with multi-hop routing and layered encryption, > coordinated on Bittensor (SN25). ur.xyz is the protocol's information site, > hosted by UR Foundation. The commercial network built on it lives at https://ur.io. ## Machine-readable - [Litepaper](https://ur.xyz/docs/litepaper) - [Litepaper (raw markdown)](https://ur.xyz/litepaper.md) - [Whitepaper](https://github.com/urfoundation/sn/blob/main/WHITEPAPER.md): the full subnet whitepaper, in the source repository - [Source code](https://github.com/urfoundation/sn): the UR subnet repository, with the miner, the validator and the mainnet runbooks - [Everything in one file](https://ur.xyz/llms-full.txt): this file, the litepaper, the three role guides and the investor materials - [Network operator list (YAML)](https://ur.xyz/operators.yml): the network operators miners and validators serve; they refresh it hourly - [Price sheet (YAML)](https://ur.xyz/price.yml): the published demand deposits, in alpha per GiB and per user for each 7-day block, by staked-alpha tier - [Price sheet changes (RSS)](https://ur.xyz/price.rss): a feed of changes to the published price sheet - [Settlement amendments (YAML)](https://ur.xyz/amendments.yml): the signed changes to how SN25 settles from an epoch on, each one line signed with the price sheet's key - [Security contact](https://ur.xyz/.well-known/security.txt): report vulnerabilities to [security@ur.xyz](mailto:security@ur.xyz) under the [disclosure policy](https://ur.xyz/vdp) - For connecting an agent to the network itself (MCP server, x402): [ur.io agents guide](https://ur.io/agents.md) ## Pages - [Home](https://ur.xyz/) ([markdown](https://ur.xyz/index.md)): UR is an open-source, decentralized privacy network on Bittensor SN25: miners carry encrypted traffic, validators measure it, and operators bring the demand. - [Operators](https://ur.xyz/operators) ([markdown](https://ur.xyz/operators.md)): Network operators run UR privacy servers and the /verify endpoint, deposit alpha as a revenue-backed demand signal, and report their miners' usage. - [Miners](https://ur.xyz/miners) ([markdown](https://ur.xyz/miners.md)): How to mine Bittensor SN25 as a UR miner: what you run, the hardware, install steps for Linux, macOS and Windows, how rewards are set, and troubleshooting. - [Validators](https://ur.xyz/validators) ([markdown](https://ur.xyz/validators.md)): UR validators stake their own UR, walk operator-assigned chains of miners to prove real-time transit, and earn Bittensor dividends for accurate scoring. - [Research](https://ur.xyz/research): UR research in the open: routing, matching, transfer and reward algorithms with source and anonymized data, the Apex SN1 latency competition, and audits. - [August–October 2026 Research Report](https://ur.xyz/research/2026-q3-report): Why UR’s network research matters, its gigabit-class milestone, and 39 measured changes from August 24 to October 24, 2026, with how far each kind of gain went. - [Self-improving research loops](https://ur.xyz/research/methodology): How UR’s research improves the network and its own measurements: three loops, the lab, an open competition and volunteer field nodes, sharing one discipline. - [Build on UR](https://ur.xyz/build): Build products on UR as a Network Operator using shared residential capacity, measured service quality, and the SN25 incentive layer. - [Network Capacity Reserve](https://ur.xyz/reserve): Reserve for ongoing capacity optimisations: the SN25 miner emissions momentum leaves, paying providers for verified network capacity. Read live from Bittensor. - [Mainnet](https://ur.xyz/mainnet): The SN25 mainnet launch by payout epoch: version 1 from October 8, settlement v2 from epoch 4 (October 30), and capture the flag from epoch 8 (November 27). - [Investor Centre](https://ur.xyz/investors): UR investor updates, materials, and public research: letters, the litepaper, and third-party audits, with live network dashboards. - [UR (SN25) launches open competition on Apex (SN1)](https://ur.xyz/investors/apex-competition): UR (SN25) opens its routing and provider-matching problem to the Bittensor research community in an open competition on Apex (SN1), run by Macrocosmos. - [Funding network capacity for UR’s operator ecosystem](https://ur.xyz/investors/funding-network-capacity) ([PDF](https://ur.xyz/investors/ur-network-capacity-letter.pdf)): Introducing the Network Capacity Reserve, which retains excess emissions to fund the capacity UR’s operators need. - [September Letter to Tokenholders](https://ur.xyz/investors/letter-to-tokenholders-september-2026) ([PDF](https://ur.xyz/investors/ur-letter-to-tokenholders-september-2026.pdf)): Brien and Jack on preparing UR's mainnet launch, the next phase of SN25, Project Meridian, and making privacy an expected property of the internet. - [Our Letter to Bittensor](https://ur.xyz/investors/our-letter-to-bittensor) ([PDF](https://ur.xyz/investors/our-letter-to-bittensor.pdf)): A letter from Jack and Brien on launching UR (SN25), growing a global network of residential operators, and building a free and open internet together. - [UR team locks 550,000 alpha in perpetual conviction](https://ur.xyz/investors/conviction-lock) ([PDF](https://ur.xyz/investors/ur-conviction-lock-announcement.pdf)): UR's management team has locked 550,000 alpha under perpetual conviction, taking total locked alpha behind SN25 to 27.1 per cent of circulating supply. - [Introduction to UR (SN25)](https://ur.xyz/investors/deck) ([PDF](https://ur.xyz/investors/ur-investor-deck.pdf)): How UR works, what is live today, the projects in research, and the opportunity for network operators to build on the subnet to compound demand. - [About](https://ur.xyz/about): UR is an open-source protocol for private internet applications on a global network of independent bandwidth providers. Meet its core contributors. - [UR (SN25) Live Network Stats and Payouts](https://ur.xyz/dashboard): Live URnetwork and SN25 stats: users, providers online, data carried, epochs, payouts and the Network Capacity Reserve, read from Grafana and Bittensor mainnet. - [Usage Cost](https://ur.xyz/price): Operators fund the network with demand deposits: α deposited each block (7 days) for the data and users they serve. ## Capture the flag - [Capture the flag](https://ur.xyz/ctf): Five provider and five extender reward slots in every country, every week. Capture the flag starts with epoch 8 on November 27, 2026: see every country's slots. - Each country's page: https://ur.xyz/ctf/, for each of the 249 lowercase ISO 3166-1 alpha-2 codes (https://ur.xyz/ctf/ke is Kenya's) - Capture the flag is part of the SN25 protocol: every network operator of [the operator list](https://ur.xyz/operators.yml) runs its own pool and draw, serves its state as JSON (public, CORS-open, amounts in alpha and rao, times in UTC), and the pages add every operator's up - [bringyour.com: capture the flag state (JSON)](https://api.bringyour.com/sn/ctf): every country's slots, pots and chance to win at this operator, this epoch and last; one country: https://api.bringyour.com/sn/ctf/country/, with its history since the first epoch; the open pots ranked: https://api.bringyour.com/sn/ctf/top?role=provider|extender|any; the API's document: https://api.bringyour.com/sn/openapi.yml - [Operator API (OpenAPI 3.1)](https://github.com/urfoundation/sn/blob/main/api/operator.yml): the routes and their fields - [Design](https://github.com/urfoundation/sn/blob/main/CAPTURETHEFLAG.md): how the slots, the draw and the pots work ## Docs - [Documentation index](https://ur.xyz/docs) - [How to run a miner](https://ur.xyz/docs-md/miner.md): Start mining on UR in a few steps. What a miner does, what you need, a quick start, and where each part of the miner guide lives. - [Install the miner](https://ur.xyz/docs-md/miner/install.md): Install the UR miner. The installers for Linux, macOS and Windows with automatic updates, a manual download, building the provider from source, and the Docker image. - [Run and monitor the miner](https://ur.xyz/docs-md/miner/run.md): Run the UR miner day to day. Start and stop it, choose an operator, keep it running in the background, read its logs and status page, and back it up. - [Run an extender](https://ur.xyz/docs-md/miner/extender.md): Run the UR miner's extender. The ports to open, firewalls, cloud security groups and port forwarding, the Linux privilege for port 443, and how to check it. - [Keep the miner up to date](https://ur.xyz/docs-md/miner/updates.md): Keep the UR miner up to date: how installers and its own service update it, how to change or turn off updates, how to stay on one version, and how to update Docker. - [Get paid for mining](https://ur.xyz/docs-md/miner/rewards.md): Get paid for mining on UR. Set the payout wallet your miner earns to, understand how pool rewards are counted per epoch, and claim them to your coldkey. - [Miner troubleshooting](https://ur.xyz/docs-md/miner/troubleshooting.md): Fix common UR miner problems. Sign-in errors, a miner that stops straight away or keeps getting refused, wallet and claim errors, and where to ask for help. - [Advanced mining](https://ur.xyz/docs-md/miner/advanced.md): Advanced UR mining: mine every listed operator with one hotkey, run several exits on one host, automate or split claims, and claim a head-tier miner UID. - [Miner reference](https://ur.xyz/docs-md/miner/reference.md): UR miner reference. The provider commands and options, the installers' urnet-tools commands, the files the miner keeps, environment variables and a glossary. - [How to run a validator](https://ur.xyz/docs-md/validator.md): Install and run the current SN25 validator, provision its keys and production configuration, monitor validation, and withdraw native validator rewards. - [How to become a network operator](https://ur.xyz/docs-md/operator.md): Run a URnetwork operator in one binary, configure PostgreSQL, Redis and Warp resources for main, and operate the SN25 reward pipeline. - [UR Litepaper: A privacy network coordinated on Bittensor](https://ur.xyz/docs-md/litepaper.md): How UR works: a decentralized privacy network on Bittensor SN25 where miners carry encrypted traffic, validators measure it, and operators bring the demand. - [Bandwidth-Sharing Networks Compared for Miners](https://ur.xyz/docs-md/compare.md): A UR miner beside Mysterium, Grass, Sentinel, Orchid, Honeygain and Pawns.app: what you run, how rewards are set, payout, open source and consent. - [UR Miner vs Mysterium Node, Compared](https://ur.xyz/docs-md/compare/mysterium.md): A UR miner on Bittensor SN25 beside a Mysterium node: what you run, how rewards are set, payout, open source, whose traffic you carry and your data. - [UR Miner vs Grass, Compared](https://ur.xyz/docs-md/compare/grass.md): A UR miner on Bittensor SN25 beside Grass: what you run, how rewards are set, payout, open source, whose traffic you carry and what data is kept. - [UR Miner vs Sentinel dVPN Node, Compared](https://ur.xyz/docs-md/compare/sentinel.md): A UR miner on Bittensor SN25 beside a Sentinel dVPN node: what you run, how rewards are set, payout, open source and whose traffic you carry. - [UR Miner vs Orchid Provider, Compared](https://ur.xyz/docs-md/compare/orchid.md): A UR miner on Bittensor SN25 beside an Orchid provider: what you run, how rewards are set, staking, open source and whose traffic you carry. ## Optional - [MASA L2 2025 audit (PDF): third-party peer audit](https://ur.xyz/audits/masa-l2-2025.pdf) - [Terms of Service](https://ur.xyz/terms) ([markdown](https://ur.xyz/terms.md)): The Terms of Service for ur.xyz, the UR protocol information site hosted by UR Foundation. - [Privacy Policy](https://ur.xyz/privacy) ([markdown](https://ur.xyz/privacy.md)): How UR Foundation collects, uses and protects information about visitors to ur.xyz, including wallet addresses, and how to exercise your privacy rights. - [Vulnerability Disclosure Policy](https://ur.xyz/vdp) ([markdown](https://ur.xyz/vdp.md)): How to report security vulnerabilities in UR Foundation assets, and the safe harbor extended to good-faith research. # A privacy network, coordinated on Bittensor Source: https://ur.xyz/docs/litepaper · Markdown: https://ur.xyz/docs-md/litepaper.md · Updated: 2026-11-18 > Own ur privacy. Own the network. ## I. A decentralized privacy network UR is a decentralized privacy network. It distributes user traffic across a global network of independent miners using multi-hop routing and layered encryption, so that no single miner sees both who a user is and what they are doing. The transport is designed to resemble ordinary HTTPS, with N-layer TLS encryption, SNI spoofing, and traffic indistinguishability, so the network stays reachable almost everywhere. The UR Subnet, Bittensor SN25 (netuid 25), coordinates this network through on-chain incentives. Network operators run the servers; independent miners carry the ingress and egress traffic; and independent validators continuously walk operator-assigned chains of miners to prove real-time transit and measure which miners are the weakest links. That measurement is the core signal the network pays for. Bittensor's Yuma Consensus turns the validators' measurements into token emission, and a smart contract on the Subtensor EVM settles the payouts. The protocol is open source, and running a miner or a validator is permissionless. ## II. Roles Network operators run the privacy servers and the verification endpoint. An operator deposits into the subnet, co-signs each measured path, and commits a payout list that splits its rewards among the miners attached to it. An operator reports the usage its rewards follow but never holds anyone else's funds. Miners are the ingress and egress of the network. They run a safe-by-default security model, block known-malicious IPs, and route only encrypted traffic. A miner carries traffic for one or more operators and is paid for the traffic it carries and, in the top fleets, for the routable capacity it contributes. Validators are independent. Each stakes its own UR, runs the routing-verification protocol, and scores every operator's pool by demand and measured quality. Validators earn the network's native dividends for accurate, consensus-aligned scoring. No operator owns a validator, and the set is permissionless. The Subnet Owner governs the settlement contracts' upgradeable coordinators, not the immutable vaults that hold miners' rewards, and operates the network's reserve. That role is transitional: control begins centralized but bounded and progressively decentralizes, as described in clause V. ## III. The UR token UR is the subnet's native token, the unit of account for deposits, emission, and settlement. It is a utility token for coordinating and paying for network resources; it is not designed to represent or provide any right to profits, income, or returns. New UR is emitted by Bittensor's coinbase each cycle and split three ways: | Stream | Share | Recipients | | --- | ---: | --- | | Owner | 18% | Subnet Owner | | Miners | 41% | Providers receive the momentum share, 10% at launch, through operator pools and top-level miner slots; the Network Capacity Reserve receives the rest | | Validators | 41% | Independent validators, receiving native dividends for accurate scoring | Operators fund the network by depositing UR sized to their real usage, at a published reference rate. A deposit is a revenue-backed signal of real demand: the contract moves every deposit into the subnet reserve. An operator's cumulative deposits lower the rate it must post, so committed operators can onboard with less up-front capital. During the initial period the published rate is 0, no deposits are required, and every operator pool is given equal demand, so measured quality alone steers the pool channel. Miners are paid from emission, not from deposits. Because deposits accumulate in the reserve rather than being recycled into payouts, real usage adds demand for the token, while emission follows a fixed schedule with halvings. ## IV. How do miners earn? A single operator can serve well over 100,000 miners, far more than a subnet's roughly 256 on-chain slots, so the network pays miners through two tiers that run in parallel. The pool is the on-ramp. Every operator holds one on-chain slot for all of its miners; validators weight that pool by the operator's demand and its measured quality, and each miner claims its share directly from the settlement contract with a cryptographic proof. There is no slot to win and nothing to burn. It is where a miner starts and earns a baseline reward. Beside the pool, in the same tier, each operator also has a capture the flag pool from epoch 8, with ten reward slots in every country: five for providers and five for extenders. The operator's miners enter it with the pool's registration and burn nothing. Each epoch a public draw fills the slots from the miners that were online, passing the operator's checks and in the country for at least half of the epoch, and active at its end; a slot nobody wins carries forward into that country's pot for its role. Capture the flag takes a tenth of the providers' share. Top-level miners are the supply apex. The roughly 200 largest fleets, ranked by how many distinct, routable exit IPs they actually serve rather than by traffic volume, each claim their own on-chain slot and are paid directly by the network, with no operator in the payout path. A shared IP is split among the fleets that claim it, so breadth cannot be double-counted. The two tiers are one tournament: a miner starts in a pool, graduates to a top slot as its routable-IP breadth grows, and falls back to the pool if it slips. A governance-set share divides the providers' share of emission between the head and the tail. - Pool tier: the on-ramp. Join an operator with no slot and no registration cost; validators weight the pool by demand and quality; each miner's share accrues every settlement period and is claimed by proof (with settlement v2, into one account that never expires). - Top-level miners: the apex. The roughly 200 fleets with the broadest routable-IP coverage claim their own slot and are paid directly by the network, with no operator, pool, or intermediary. ## V. Custody, settlement, and decentralization Settlement runs on a seven-day cycle. The contract accrues each pool's emission over the period, then opens claims: miners pull their UR directly from the contract against their operator's committed payout list. With settlement v2 a payout root opens only after the validator approves it and a 14,400-block challenge window passes, and an account's balance never expires. Top-level miners need no settlement step because the chain pays their slot natively every cycle. No one holds anyone else's funds. The settlement contracts are the sole custodians of in-transit UR, every pool payout is a direct on-chain claim, and top-level miners are paid natively to their own keys. Operators and the owner never take custody of miners' rewards. Earned claims are final. Once a settlement period is finalized, the tokens backing its claims are committed. No contract upgrade, pause, or administrative action can block or reverse them; only the chain-level switch that disables stake transfers on SN25 can freeze claims, and it cannot take or redirect them. Control decentralizes over time. The network launches with its policy coordinators upgradeable behind an owner multisig, providing deliberate, bounded central control for early bug fixes, while the settlement vaults and the deposit reserve are immutable from day one and a pause-only guardian can stop an exploit but can never move funds or block finalized claims. It hardens in stages: a public timelock on every change and, in time, on-chain governance. --- _This is a living document. The live network will inform how it evolves, and the design described here, including the incentive mechanism, may change as we iterate._ # How to run a miner Source: https://ur.xyz/docs/miner · Markdown: https://ur.xyz/docs-md/miner.md · Updated: 2026-11-22 > **If `provider setup` or `provider service install` set up your miner's background service, update it by hand once.** Since release 2026.10.22, these miners haven't updated themselves, on Linux, macOS or Windows. The miner's updater accepted versions written like `2026.10.27-1083160450`, but releases are stamped `2026.10.27+1083160450`, so every release took itself for a development build: > > - `provider status` says "development build, never updates itself". > - `provider update`, and the automatic updates, refuse with "this is a development build … which never replaces itself with a release". > - The 10-minute check that rolls back a new version that doesn't come back connected never ran. > > The fix is in the first release after November 11, 2026, and your miner can't install it by itself. Once that release is out, download and unpack it as in [Manual download](https://ur.xyz/docs/miner/install#manual-download), and instead of installing it, run its update: `./linux/amd64/provider update` with your folder from the table (`sudo` in front for a system service), or on Windows `& "$env:TEMP\windows\$Arch\provider.exe" update`. Typing just `provider update` runs the miner you have, which still refuses. The update replaces the miner your service runs and restarts it. > > After that, updates are automatic again: spread over about 16 hours after each release, with the 10-minute connected check, a rollback, and a 7-day skip of a release that fails it. `provider status` then shows that updates are automatic, or that you're up to date. > > If you run the miner yourself, without that service, `provider update` refuses too: install the new release as in [Manual download](https://ur.xyz/docs/miner/install#manual-download) and restart the miner. > > **The Docker image `bringyour/community-provider` didn't update either.** A container never updates itself, and the image wasn't rebuilt from July until November 22, 2026, so every tag of it stayed on version 2026.7.2. It now carries the current release: pull it and recreate your containers, as in [Updates](https://ur.xyz/docs/miner/updates#docker). > > Not affected: the apps, and miners an installer set up, which update through `urnet-tools`. A UR miner shares your internet connection as an exit for a network operator. Validators check that it really carries traffic, and Bittensor SN25 (netuid 25) pays rewards for that work in the subnet's α token, branded $UR. For the whole role on one page, from requirements to rewards, see [mining Bittensor SN25 with UR](https://ur.xyz/miners). Prefer an app? URnetwork's [apps](https://ur.io/products) are an easy alternative for mining from a phone or computer: install one from [the ur.io download page](https://ur.io/install), and it mines in the background with URnetwork as its operator. This guide is for the miner program, which runs on Linux, macOS and Windows and can mine for any operator. This page gets you from nothing to a running miner. The rest of the miner guide goes deeper, one topic per page: | Page | What it covers | | --- | --- | | [Install](https://ur.xyz/docs/miner/install) | The installers for Linux, macOS and Windows, a manual download, and building from source. | | [Run and monitor](https://ur.xyz/docs/miner/run) | Starting and stopping, running in the background, logs and the status page, backups. | | [Run an extender](https://ur.xyz/docs/miner/extender) | The ports to open for the miner's extender, firewalls and port forwarding, and letting it listen on port 443 on Linux. | | [Updates](https://ur.xyz/docs/miner/updates) | How the miner stays up to date, and how to control that. | | [Get paid](https://ur.xyz/docs/miner/rewards) | Setting your payout wallet, how rewards are counted, and claiming them. | | [Troubleshooting](https://ur.xyz/docs/miner/troubleshooting) | The common errors and what to do about each one. | | [Advanced](https://ur.xyz/docs/miner/advanced) | Mining every operator, several exits on one host, automatic claims and the head tier for large fleets. | | [Reference](https://ur.xyz/docs/miner/reference) | Every everyday command, the files the miner keeps, environment variables and a glossary. | For the other roles, see [Run a validator](https://ur.xyz/docs/validator) and [Run a network operator](https://ur.xyz/docs/operator). ## How does a UR miner get paid? Most miners join an operator's **pool**. You don't need your own Bittensor registration: you sign in to the operator, your miner registers itself as a device, and the pool's rewards are paid to the Bittensor wallet you choose. Large fleets can instead claim their own miner UID; see [the head tier](https://ur.xyz/docs/miner/advanced#claim-your-own-miner-uid-head-tier). ```text your miner (provider) │ carries internet traffic for ↓ a network operator ←─ validators │ pays its pool measure it ↓ every epoch your Bittensor coldkey (α, $UR) ``` ## What you need - **A Linux, macOS or Windows computer that stays online.** A home PC, a server or a Raspberry Pi 2 or newer all work. On Windows the miner runs while you're signed in. - **One stable public internet address per miner.** To run more than one exit from a host, see [Several exits on one host](https://ur.xyz/docs/miner/advanced#several-exits-on-one-host). - **Open ports for the extender.** The miner also runs an extender, which earns a share of every contract it carries. It needs incoming TCP port 443; UDP ports 443 and 4053 are recommended, and UDP 53 is optional. On Linux it also needs permission to listen on port 443. See [Run an extender](https://ur.xyz/docs/miner/extender). - **An account with a network operator.** The miner uses the default operator, `bringyour.com`, unless you [choose another](https://ur.xyz/docs/miner/run#choose-an-operator). You'll get an **auth code** from your account to sign the miner in. - **A Bittensor wallet address (coldkey)** for your rewards. It's an ss58 address that starts with `5`. You can sign for it on another device; its secret never needs to be on the miner. ## Quick start The miner program is called `provider`. Install it, run `provider setup`, and check on it with `provider status`. ### 1. Install The installer is the easiest way. It puts the miner in your home folder, runs it in the background, and keeps it up to date automatically. On **Linux**: ```bash curl -fsSL https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_Linux.sh | sh ``` On **macOS**: ```bash curl -fsSL https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_macOS.sh | sh ``` On **Windows**, in PowerShell (not as administrator): ```powershell irm https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_Win32.ps1 | iex ``` Then open a new terminal. The installer asks for an auth code from your operator account (for the default operator, from your URnetwork account at [ur.io](https://ur.io)), registers this device and starts mining. The installer names the command `urnetwork`, not `provider`. If you used it, type `urnetwork` wherever this guide says `provider`, including in commands the miner prints for you to copy. To install without an installer, see [Manual download](https://ur.xyz/docs/miner/install#manual-download). ### 2. Run setup ```bash provider setup ``` It walks you through four steps, and you can stop and run it again at any time; it keeps the steps you've finished: 1. **Sign in.** Paste an auth code from your operator account. The prompt hides what you paste. 2. **Register this device.** A new device gets its own miner identity, saved in `~/.urnetwork`. 3. **Payout address.** Your Bittensor coldkey address. Setup prints a short message; sign it in your wallet app (Polkadot.js, Talisman or btcli) and paste the signature. You can press Enter to skip this and [set it later](https://ur.xyz/docs/miner/rewards#set-your-payout-wallet). 4. **Keep it running.** Starts the miner in the background now and again after every restart (on Windows, whenever you sign in), and keeps it up to date. If you used an installer, it already signed you in, registered this device and runs the miner in the background. Run `urnetwork setup --no-service` to add your payout address; `--no-service` keeps setup from adding a second background miner beside the installer's. ### 3. Check on it ```bash provider status ``` A minute after the miner starts, the Miner, Signed in, Device and Connected lines should each have a ✓. It exits with 0 when all is well, 3 when the device needs setup, and 4 when the miner isn't running or isn't connected, so scripts can check it too (`provider status --json` prints the details). When something isn't right, `status` prints the command to run next. `provider doctor` looks for the reason: the state folder, DNS, the connection, a proxy that inspects TLS, and the clock. See [Run and monitor](https://ur.xyz/docs/miner/run) for logs and stopping and starting. ### 4. Back up your miner Copy the folder `~/.urnetwork` somewhere private. It holds this device's identity and your signed wallet history. If you lose it, the device can't be recovered, even though you can still sign in to your account. See [Back up your miner](https://ur.xyz/docs/miner/run#back-up-your-miner). That's it. Rewards are counted per settlement epoch, about a week on mainnet, and are claimed after the epoch closes: see [Get paid](https://ur.xyz/docs/miner/rewards). If something didn't work, see [Troubleshooting](https://ur.xyz/docs/miner/troubleshooting). ### Step by step instead of setup `provider setup` runs these commands for you. To do it by hand: ```bash provider login # paste the auth code when asked provider start # the first start asks before registering this device provider wallet challenge '' provider service install # in a second terminal, after Ctrl-C in the first ``` `provider wallet challenge` prints a message to sign; then run the `provider wallet set` command it prints, with your signature. [Get paid](https://ur.xyz/docs/miner/rewards#set-your-payout-wallet) explains it. `login`, `start` and `network` are the same commands as `auth`, `provide` and `choose_network`. ## Where this guide comes from This guide follows the current [`sn/miner` implementation](https://github.com/urfoundation/sn/tree/main/miner) and its [`cli/miner` entry point](https://github.com/urfoundation/sn/tree/main/cli/miner). Many parts of it are refined in conversations [on our Discord](https://discord.gg/urnetwork), which is also the place to ask for help. # Install the miner Source: https://ur.xyz/docs/miner/install · Markdown: https://ur.xyz/docs-md/miner/install.md · Updated: 2026-11-22 The miner is a single program, `provider`. There are four ways to get it: | Way | Systems | Updates | Best for | | --- | --- | --- | --- | | [Installer](#the-installers) | Linux, macOS, Windows | Automatic | Most people | | [Manual download](#manual-download) | Linux, macOS, Windows | Automatic, with `provider setup` | Full control | | [Build from source](#build-from-source) | Linux, macOS, Windows | By hand | Developers and auditors | | [Docker](#docker) | Linux containers (amd64, arm64) | A new image, by hand | Containers | Whichever you choose, the miner keeps its identity in `~/.urnetwork` (`%USERPROFILE%\.urnetwork` on Windows), so you can switch later without registering again. Back that folder up first, and stop the old way's background job before starting the new one, so two copies never run at once. After installing, go back to [the quick start](https://ur.xyz/docs/miner#2-run-setup). The requirements are summed up in [what a UR miner needs](https://ur.xyz/miners). ## The installers Each installer puts the miner in your own user folder (no administrator rights needed), runs it in the background, keeps it up to date, and gives you one command to manage it all: `urnet-tools`. They live in the [`scripts` folder of urnetwork/connect](https://github.com/urnetwork/connect/tree/main/scripts). All three: - download the latest release for your processor, check it against the SHA-256 GitHub lists for it (that catches a damaged download), and install only your machine's program; - install the miner as **`urnetwork`**: type `urnetwork` wherever this guide says `provider`, including in commands the miner prints for you to copy; - ask for your auth code if you aren't signed in yet (press Enter to do it later; `--auth-code `, or `-AuthCode` on Windows, signs in without asking, but leaves the code in your shell history; `URNETWORK_AUTH_CODE` or the prompt don't); - register a new device on its first start, once you've signed in; - turn on [automatic updates](https://ur.xyz/docs/miner/updates), every 6 hours by default; - can be run again at any time: a second run updates in place and keeps your settings and your identity. ### Linux ```bash curl -fsSL https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_Linux.sh | sh ``` Then open a new terminal, or run the `export PATH=…` line it prints. It runs on 64-bit and 32-bit Intel, AMD and ARM, including a Raspberry Pi 2 or newer on a 32-bit OS (not a Pi Zero or Pi 1), and needs `curl` or `wget`, and `jq` or `python3` (most systems have one). It: - installs `urnetwork` and `urnet-tools` into `~/.local/share/urnetwork-provider/bin` and adds that folder to your `PATH` in `~/.bashrc` (creating it if needed) and in `~/.zshrc` if you have one. Pass `-B` to leave them alone. If a new terminal still can't find `urnetwork`, run the `export PATH=…` line the installer printed; - runs the miner as a systemd user service, `urnetwork.service`, with an update timer, and turns on lingering so the service keeps running after you log out (if that needs an administrator, it prints the `sudo loginctl enable-linger` command to run); - in a shell without a systemd user session (a `sudo su` shell, many containers, WSL), installs anyway, without a background service or automatic updates, and tells you how to run the miner in the foreground. Run `urnet-tools update` yourself from time to time. Run as root in such a shell, it installs a system service instead. `--interval 6h`, `daily`, `weekly` or `monthly` sets how often it checks for updates. A user service can't listen on TCP port 443, which the miner's [extender](https://ur.xyz/docs/miner/extender) needs. `--system` runs the miner as a system service instead, still as your user, with permission to listen on ports below 1024: ```bash curl -fsSL https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_Linux.sh | sh -s -- --system ``` Run it as yourself, not with `sudo`; it asks for your `sudo` password once. See [Let the miner listen on port 443](https://ur.xyz/docs/miner/extender#linux-let-the-miner-listen-on-port-443). Options go after `sh -s --`, for example `curl -fsSL … | sh -s -- --no-start`. Run it with `--help` for all of them. ### macOS ```bash curl -fsSL https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_macOS.sh | sh ``` Then open a new Terminal window. It needs macOS 12 or later and nothing else, and it works on Apple silicon and Intel Macs (from a Rosetta terminal too, it picks the native build). It: - installs `urnetwork` and `urnet-tools` into `~/.local/share/urnetwork-provider/bin` and adds that folder to your `PATH` in `~/.zshrc` (and in `~/.bash_profile` if you use bash). Pass `-B` to leave them alone; - runs the miner as a launchd agent that starts when you log in and restarts the miner if it crashes. macOS may show a "Background Items Added" notification; that's expected. It's listed as `urnet-tools` under System Settings → General → Login Items; - clears the download's quarantine flag for you, and refuses to run with `sudo`. On macOS, `--dry-run` prints everything it would do without changing anything, and `-y` answers every question itself. The miner's log is in `~/Library/Logs/urnetwork/`. ### Windows In a normal PowerShell window (not "Run as administrator"): ```powershell irm https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_Win32.ps1 | iex ``` It works in Windows PowerShell 5.1 and PowerShell 7, on 64-bit Intel or AMD and on ARM64. It: - installs `urnetwork.exe`, `urnet-tools` and the updater into `%LOCALAPPDATA%\urnetwork\provider` and adds that folder to your `PATH`. Open a new window afterwards; - once you're signed in, asks whether to run the miner in the background, now and whenever you sign in to Windows. It runs hidden, from shortcuts in your Startup folder, so it **stops when you sign out**. If you sign in later, run `urnet-tools auto-start on` and `urnet-tools start`; - installs `urnet-tools.cmd` beside `urnet-tools.ps1`. If PowerShell says "running scripts is disabled", type `urnet-tools.cmd` instead of `urnet-tools`. `urnetwork.exe` isn't code-signed, so SmartScreen or Defender may ask before running it. Windows options are PowerShell-style: `-Tag`, `-AuthCode`, `-NoStart`, `-NoAutoUpdate`, `-AddToStartup`, `-NoStartup`, `-NonInteractive`. Installing a particular version with `-Tag` leaves automatic updates off. They can't be passed through `irm … | iex`: save the script and run it, for example `powershell -ExecutionPolicy Bypass -File .\Provider_Install_Win32.ps1 -NoStart`, or set `$env:URNETWORK_AUTH_CODE` before the `irm` line. `Get-Help .\Provider_Install_Win32.ps1 -Detailed` lists them all. ### Manage it with urnet-tools | Command | What it does | | --- | --- | | `urnet-tools status` | Version, whether you're signed in, whether the miner runs, starts by itself and updates. | | `urnet-tools start`, `stop`, `restart` | Start, stop or restart the background miner. | | `urnet-tools logs` | Follow the miner's log; Ctrl-C to leave. | | `urnet-tools version` | The installed version, and the latest one if it's newer. | | `urnet-tools update` | Update now (the miner and `urnet-tools` itself). | | `urnet-tools auto-update`, `auto-update on`, `off` | Show or change automatic updates; see [Updates](https://ur.xyz/docs/miner/updates). | | `urnet-tools auto-start on`, `off` | Start the miner at boot or login, or not. | | `urnet-tools reinstall -t ` | Install a particular release. | | `urnet-tools uninstall` | Remove the miner, keeping your identity. | `urnet-tools --help` lists everything for your system (on Windows: `urnet-tools help`). Options take `--option value` or `--option=value`; on Windows they're PowerShell-style, such as `-Interval` and `-RemoveIdentity`. ### Uninstall ```bash urnet-tools uninstall ``` It removes the miner, its background job and its `PATH` entry, and **keeps** your identity in `~/.urnetwork`, so you can install again later as the same device. To delete the identity too, add `--remove-identity` (`-RemoveIdentity` on Windows); it asks you to type `delete` first. [Back it up](https://ur.xyz/docs/miner/run#back-up-your-miner) before you do: without it, the device can't be recovered. ## Manual download Every release on the [build releases page](https://github.com/urnetwork/build/releases) has a file named `urnetwork-provider-.tar.gz`. It's a large download (about 240 MB), because it holds one `provider` program for every system, at `//provider` (`provider.exe` on Windows). It also has MIPS builds for routers. | Your computer | Folder in the download | | --- | --- | | Linux PC or server (Intel or AMD, 64-bit) | `linux/amd64` | | Raspberry Pi 3, 4 or 5 on a 64-bit OS, or another 64-bit ARM Linux | `linux/arm64` | | Older 32-bit Intel or AMD Linux PC | `linux/386` | | Raspberry Pi 2, 3, 4 or 5, or another ARMv7 board, on a 32-bit OS (not a Pi Zero or Pi 1) | `linux/arm` | | Mac with Apple silicon (M1 or later) | `darwin/arm64` | | Mac with an Intel processor | `darwin/amd64` | | Windows PC (Intel or AMD, 64-bit) | `windows/amd64` | | Windows on ARM | `windows/arm64` | On Linux or macOS, download and install it into `~/.local/bin`, choosing your folder from the table: ```bash VERSION= # the latest tag on the releases page, without the leading v curl -fSsL -o urnetwork-provider.tar.gz \ "https://github.com/urnetwork/build/releases/download/v${VERSION}/urnetwork-provider-${VERSION}.tar.gz" tar -xzf urnetwork-provider.tar.gz linux/amd64/provider # your folder from the table mkdir -p "$HOME/.local/bin" install -m 755 linux/amd64/provider "$HOME/.local/bin/provider" # your folder from the table export PATH="$HOME/.local/bin:$PATH" provider --version ``` Add the `export PATH=…` line to your shell's startup file (`~/.bashrc` on most Linux systems, `~/.zshrc` on macOS) so the command is found in new terminals. On macOS, a file downloaded with a web browser (not with `curl` as above) is quarantined and won't run. Remove the quarantine once: ```bash xattr -d com.apple.quarantine "$HOME/.local/bin/provider" ``` On Windows, in PowerShell, put it in a folder you own, so updates can replace it: ```powershell $Version = "" # the latest tag on the releases page, without the leading v $Arch = "amd64" # or arm64, from the table $Dir = "$env:LOCALAPPDATA\Programs\urnetwork" New-Item -ItemType Directory -Force $Dir | Out-Null $ProgressPreference = "SilentlyContinue" Invoke-WebRequest -UseBasicParsing -OutFile "$env:TEMP\urnetwork-provider.tar.gz" "https://github.com/urnetwork/build/releases/download/v$Version/urnetwork-provider-$Version.tar.gz" tar -xzf "$env:TEMP\urnetwork-provider.tar.gz" -C $env:TEMP "windows/$Arch/provider.exe" Move-Item -Force "$env:TEMP\windows\$Arch\provider.exe" "$Dir\provider.exe" & "$Dir\provider.exe" --version ``` Run it as `& "$Dir\provider.exe"`, or add that folder to your `PATH` to type `provider`. `provider.exe` isn't code-signed, so SmartScreen or Defender may ask before running it. Then go back to [the quick start](https://ur.xyz/docs/miner#2-run-setup) and run `provider setup`. Its background service also keeps a manual install up to date; see [Updates](https://ur.xyz/docs/miner/updates). ## Build from source Use the Go version that `sn/go.mod` asks for (currently Go 1.27.3) and matching revisions of the sibling repositories its `replace` directives point to. The source folder must look like this: ```text urnetwork/ ├── sn/ # github.com/urfoundation/sn ├── connect/ # includes connect/sctp ├── sdk/ ├── server/ ├── warp/ ├── proxy/ ├── userwireguard/ ├── glog/ ├── goidenticons/ └── gvisor/ # matching generated Go source selected by the release ``` The local replacements are part of the build: use the matched source checkouts or source bundle for the release you are deploying. A checkout of `sn` alone is not enough. Get the matching generated `gvisor` source with that bundle; an arbitrary upstream revision is not a reproducible substitute. From the `sn` folder: ```bash mkdir -p "$HOME/.local/bin" go build -o "$HOME/.local/bin/provider" ./cli/miner export PATH="$HOME/.local/bin:$PATH" provider --help ``` A build of your own says `development build` and never updates itself. Update it by building again. ## Docker The image [`bringyour/community-provider`](https://hub.docker.com/r/bringyour/community-provider) runs the `provider` release in a container, for `linux/amd64` and `linux/arm64`. It takes the miner's commands: sign in once, then start it with `provide`, which registers the device on its first start. ```bash docker volume create urnetwork docker run --rm -it -v urnetwork:/root/.urnetwork bringyour/community-provider:latest auth docker run -d --name urnetwork --restart unless-stopped \ -v urnetwork:/root/.urnetwork bringyour/community-provider:latest provide ``` `auth` asks for your auth code, or takes it after `auth`. The miner keeps its identity in the container's `/root/.urnetwork`, here the named volume `urnetwork`. Give each container its own state directory like this one, owned by root and not writable by others, and the miner keeps its device when you recreate the container to update it. A state directory owned by another user (such as a folder of yours mounted with `-v ~/.urnetwork:/root/.urnetwork`), writable by everyone, read-only, or shared by several containers works too, but then each new container registers a new device, and the log says so when it starts. `docker exec urnetwork bringyour-provider status` shows whether it's signed in and connected. The extender needs the container's ports published; see [Run an extender](https://ur.xyz/docs/miner/extender#docker). A container never updates itself; see [Updates](https://ur.xyz/docs/miner/updates#docker). ## A binary from your operator You can also run a `provider` binary your operator builds from the same release source. # Run and monitor the miner Source: https://ur.xyz/docs/miner/run · Markdown: https://ur.xyz/docs-md/miner/run.md · Updated: 2026-11-18 This page assumes you've [installed](https://ur.xyz/docs/miner/install) the miner and [set it up](https://ur.xyz/docs/miner#2-run-setup). If you used an installer, type `urnetwork` wherever this page says `provider`. ## Start and stop To mine in a terminal: ```bash provider start ``` It shows a short live view (Connecting, Connected, ● Mining) and runs until you stop it with Ctrl-C. The detailed log goes to `miner.log` in `~/.urnetwork`; add `-v` to see it in the terminal instead. The first start on a new device asks before registering it, and saves its identity in `~/.urnetwork`. Every later start reuses that identity. In a script, where nobody can answer, add `--allow-client-registration` to the first start. `provider provide` is the same command with the full log output, for scripts and services. Only register a genuinely new device. Registering never replaces an identity the miner already has, but don't delete files to get past an error about a missing or mismatched identity: see [Troubleshooting](https://ur.xyz/docs/miner/troubleshooting#the-miner-stops-straight-away) instead. Run every miner command, and the background service, as the same user. Each user has their own `~/.urnetwork`. ## Choose an operator The miner serves the default operator, `bringyour.com` (`https://api.bringyour.com` and `wss://connect.bringyour.com`), unless you choose another. To serve a different operator, choose it **before** the first start, using the URLs it publishes: ```bash provider network use https://api.example.net wss://connect.example.net provider network ``` API URLs start with `https://` and connect URLs with `wss://` (plain `http://` and `ws://` work only for a local test server). `provider network` on its own shows the operator in effect, and `provider network reset` goes back to the default. The choice is saved and applies to every later command. Then run `provider setup`, or `provider login`, with an auth code from that operator. Changing the operator doesn't move a device that's already registered to the new one. Keep each operator in its own state and account. To serve every operator in the published list at once, see [Mine every listed operator](https://ur.xyz/docs/miner/advanced#mine-every-listed-operator). ## Run in the background ### With an installer The [installers](https://ur.xyz/docs/miner/install#the-installers) already run the miner in the background: a systemd user service on Linux (or, installed with `--system`, a [system service that runs as you](https://ur.xyz/docs/miner/extender#with-the-linux-installer)), a launchd agent on macOS and Startup shortcuts on Windows. Manage it with `urnet-tools`: ```bash urnet-tools start # start it (no error if it's already running) urnet-tools status # version, signed in, running, updates; exits 3 when it isn't running urnet-tools logs # follow its log; Ctrl-C to stop reading urnet-tools restart urnet-tools stop # stop it until you start it again, restart (Linux) or log in again (macOS, Windows) urnet-tools auto-update off # turn automatic updates off; `on` turns them back on ``` If you skipped signing in when you installed, run `urnetwork login`, then `urnet-tools start`: it registers the device and starts the miner. See [Updates](https://ur.xyz/docs/miner/updates) for how automatic updates work. On Linux and Windows, `provider service start`, `stop`, `status` and `logs` work on the installer's miner too. It starts by itself at boot on Linux (when lingering is on; the installer tries to turn it on), when you log in on macOS, and when you sign in on Windows, where it also **stops when you sign out**. `urnet-tools auto-start off` stops it starting by itself, and `urnet-tools auto-start on` turns that back on. If the miner crashes, systemd on Linux restarts it after 30 seconds and launchd on macOS after 60. On Windows, a miner that stops stays stopped until you run `urnet-tools start` or sign in again. A miner that stops cleanly, for example because the device [isn't registered](https://ur.xyz/docs/miner/troubleshooting#the-miner-stops-straight-away), stays stopped: `urnet-tools status` then says it isn't running. ### With provider service `provider setup` offers to set this up. To do it yourself, stop the miner if it's running in a terminal, then: ```bash provider service install ``` It starts the miner now, starts it again by itself, restarts it if it crashes, and checks for [updates](https://ur.xyz/docs/miner/updates) every 6 hours: - **Linux:** a systemd user service, `urnetwork-provider.service`, that starts at boot. It turns on lingering so the service keeps running after you log out, or prints the `sudo loginctl enable-linger` command to run. - **macOS:** a launchd agent that starts when you log in. Its log is `service.log` in `~/.urnetwork`. - **Windows:** a Startup app that starts the miner, hidden, when you sign in to Windows, and stops when you sign out. It needs no administrator rights. Its log is `service.log` in `%USERPROFILE%\.urnetwork`. To manage it: ```bash provider service status provider service logs --follow # Ctrl-C to stop reading provider service restart provider service stop provider service uninstall # your sign-in and identity are kept ``` On a server, or to mine for every user of the computer on Linux or macOS, use a system-wide service run as root, with its state in `/var/lib/urnetwork`: `sudo provider setup --system`, or `sudo provider service install --system`. Add `--system` to the other `provider service` commands to manage it. Windows has no system-wide service. On Linux, a user service can't listen on TCP port 443 for the miner's extender; `sudo "$(command -v provider)" service install --system --as="$USER"` runs it as a system service that stays your user and may listen on that port. See [Let the miner listen on port 443](https://ur.xyz/docs/miner/extender#linux-let-the-miner-listen-on-port-443). For many machines, `provider setup --yes --auth-code-file=` sets up without any questions; it skips the payout step, so [set the payout wallet](https://ur.xyz/docs/miner/rewards#set-your-payout-wallet) afterwards. On Linux and Windows, `provider service install` won't add a second miner beside an installer's. On macOS it can't see the installer's agent, so if you used the macOS installer, keep using `urnet-tools` and don't install a second service. ### A service of your own To run the miner with options of your own, or without systemd or launchd, run `provider provide` under your own service manager, `tmux` or `screen`. On Linux, for example, create `~/.config/systemd/user/ur-miner.service`: ```ini [Unit] Description=UR miner [Service] ExecStart=%h/.local/bin/provider provide Restart=on-failure RestartPreventExitStatus=3 RestartSec=10 UMask=0077 [Install] WantedBy=default.target ``` Stop the miner if it's running, then enable the service and follow its log: ```bash systemctl --user daemon-reload systemctl --user enable --now ur-miner.service journalctl --user -u ur-miner.service -f ``` To keep it running after you log out, turn on lingering once: `sudo loginctl enable-linger "$USER"`. Leave `--allow-client-registration` out of the service command, so a missing identity stops the service instead of registering a new device without you noticing. Don't run this and `provider service` at the same time. A service of your own doesn't update the miner; see [Updates](https://ur.xyz/docs/miner/updates#without-automatic-updates). ## Check it's working ### Status and doctor ```bash provider status ``` One line each for the miner, sign-in, the device's registration, the connection and updates, and the command to run next when something isn't right. It exits with 0 when all is well, 3 when the device needs setup and 4 when the miner isn't running or isn't connected. `provider status --json` prints the same for scripts and monitoring. ```bash provider doctor ``` Looks for why the miner can't sign in or connect: whether the state folder is private, DNS, the connection to the operator, a proxy or firewall that inspects TLS, the clock, and whether updates can install. It names the fix for each problem it finds. ### The log `provider start` writes its log to `miner.log` in `~/.urnetwork`. For a background miner, use `provider service logs --follow`, or `urnet-tools logs` with an installer. The miner writes a lot of log lines, in a few formats; most of them are routine. These lines are good signs: - `"event":"identity_available"`: it found or created this device's identity. - The miner keeps running. If it stops by itself within a few seconds, something is wrong, even when its exit looks clean. Warning signs: - A JSON line with `"event":"startup_recovery_required"`, then the program exits: see [Troubleshooting](https://ur.xyz/docs/miner/troubleshooting#the-miner-stops-straight-away). - The word `refused` repeating every few seconds: the operator isn't accepting the connection. See [Troubleshooting](https://ur.xyz/docs/miner/troubleshooting#the-log-keeps-saying-refused). Add `-v`, or `-vv` for more, to see more detail. ### The status page The miner can serve a small status page in JSON. It's off by default; turn it on with `--port`: ```bash provider provide --port=8080 ``` Then, on the same machine: ```bash curl -s http://127.0.0.1:8080/ ``` It shows the miner's `version` (release builds have one), its `host` name, and a `diagnostics` section with the latest outcome of sign-in (`authentication`), `keys`, `extender` and `runtime`. The top-level `"status":"ok"` only means the miner process is up; it doesn't mean it's connected or earning, so read the `diagnostics` too. The status page listens on every network interface, not just the local one. Block that port in your firewall, or allow only your monitoring network. ## Useful options | Option | What it does | | --- | --- | | `--max-memory=1gib` | A soft memory target, in bytes or with `b`, `kib`, `mib` or `gib`. Without it, the miner picks one from the computer's memory. | | `-v`, `-vv` | More log detail. | | `--port=` | Serve the [status page](#the-status-page) on that port. `0`, the default, turns it off. | `provider auth-provide` signs in and starts in one command. A new device still needs `--allow-client-registration`. All options are in `provider help all` and in the [Reference](https://ur.xyz/docs/miner/reference). ## Back up your miner Everything that makes this device *your* miner is in `~/.urnetwork`: its identity key, its registration, its sign-in and your signed wallet history. If you lose it, you can't recover the device, even though you can still sign in to your account. - Stop the miner (or its service) before you copy the folder, so nothing is half-written. - Copy the **whole** folder, keep the copy private, and restore it as one piece. - Never run two copies of the same folder at once, on one machine or two. The [Reference](https://ur.xyz/docs/miner/reference#files-the-miner-keeps) lists each file in the folder. # Run an extender Source: https://ur.xyz/docs/miner/extender · Markdown: https://ur.xyz/docs-md/miner/extender.md · Updated: 2026-11-18 An extender is a relay that lets people reach the network from places where the operator's own servers are blocked. Every miner runs one beside its exit, on by default. It only works when the internet can reach your computer on TCP port 443. If you used an installer, type `urnetwork` wherever this page says `provider`. An extender is a party to every contract that crosses it, so it earns a share of every contract it carries. ## The ports Open these ports for incoming connections from any address, on IPv4 and on IPv6: | Port | Protocol | Needed | What it's for | | --- | --- | --- | --- | | 443 | TCP | Required | The extender's main carrier. Without it the extender stays off, and the miner tries the port again every 3 minutes. | | 443 | UDP | Recommended | The QUIC carrier. | | 4053 | UDP | Recommended | The DNS carrier. | | 53 | UDP | Optional | DNS on its standard port. If the miner can't listen on it, it only loses this one port. | The operator tests TCP port 443 from the internet before it lists your extender. The UDP ports give clients more ways to reach it. Only one program on a computer can listen on TCP port 443. When several miner processes run on one host, for example with `--all-operators`, the first to take the port serves the extender for the host, and another takes over within 3 minutes of it stopping. A web server or any other program on port 443 keeps the extender off. ## Open the ports There can be three firewalls between the internet and the miner: the computer's own, the cloud provider's, and a home router. Each one has to let the ports in. ### The computer's firewall With ufw (Ubuntu, Debian): ```bash sudo ufw allow 443/tcp sudo ufw allow 443/udp sudo ufw allow 4053/udp ``` With firewalld (Fedora, RHEL, Rocky, AlmaLinux): ```bash sudo firewall-cmd --permanent --add-port=443/tcp --add-port=443/udp --add-port=4053/udp sudo firewall-cmd --reload ``` With nftables or iptables rules of your own, add accept rules for the ports to the input chain, before any rule that drops or rejects, and save them so they survive a restart. Oracle Cloud's Ubuntu images come with iptables rules that reject everything except SSH. Insert the accept rules above the reject rule, then save them: ```bash sudo iptables -I INPUT -p tcp --dport 443 -j ACCEPT sudo iptables -I INPUT -p udp --dport 443 -j ACCEPT sudo iptables -I INPUT -p udp --dport 4053 -j ACCEPT sudo netfilter-persistent save ``` For IPv6, run the same rules with `ip6tables`. On macOS and Windows, if the firewall is on, allow incoming connections for the miner (`provider`, or `urnetwork` from an installer) when it asks. ### Cloud firewalls and security groups A cloud server usually has a firewall in front of it too. Allow inbound TCP 443, UDP 443 and UDP 4053 from `0.0.0.0/0` and `::/0`: - **AWS:** the instance's security group (inbound rules), and the subnet's network ACL if you changed it. - **Google Cloud:** a VPC firewall rule for ingress that applies to the instance. - **Azure:** the network security group on the VM's network interface or its subnet. - **Oracle Cloud:** the VCN's security list or network security group, as well as the iptables rules above. - **Hetzner Cloud:** the Cloud Firewall, if one is attached to the server. - **DigitalOcean:** the Cloud Firewall, if one is attached to the Droplet. ### Home routers At home, the router keeps incoming connections out. In its settings (often called port forwarding, virtual servers or NAT), forward TCP 443, UDP 443 and UDP 4053 to the computer that runs the miner. Give that computer a fixed address on your network (a DHCP reservation), so the forward keeps pointing at it. Only one computer behind a public IPv4 address can have port 443. Some connections can't be forwarded. If the router's internet (WAN) address is between `100.64.0.0` and `100.127.255.255`, or isn't the address websites see for you, your internet provider puts you behind carrier-grade NAT (CGNAT). Ask your provider for a public IPv4 address, or use IPv6. Many routers give each device a public IPv6 address but block incoming IPv6 connections. Allow inbound TCP 443, UDP 443 and UDP 4053 to this computer in the router's IPv6 firewall. ### Docker A miner in a container needs its ports published: ```bash docker run -p 443:443/tcp -p 443:443/udp -p 4053:4053/udp … ``` The firewalls above still apply to the host. ## Linux: let the miner listen on port 443 Linux lets only privileged programs listen on ports below 1024. The installer and `provider service install` run the miner as your user, so its extender can't listen on TCP port 443 and stays off. The log then says `tcp_443_permission_denied`. A miner that already runs as root, such as one installed with `sudo provider service install --system`, or as root inside a container, can. macOS and Windows let any program listen on port 443, so there is nothing to grant there. The fix is a system service that runs the miner as your user, with one extra privilege: `CAP_NET_BIND_SERVICE`, which lets a program listen on ports below 1024. ### With the Linux installer Run the installer again with `--system`, as the user who mines (not with `sudo`). It asks for your `sudo` password once: ```bash curl -fsSL https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_Linux.sh | sh -s -- --system ``` An existing install can also switch with `urnet-tools reinstall --system`. It installs `/etc/systemd/system/urnetwork.service`, which runs the miner as you, stops and removes your own `urnetwork.service`, and keeps your update timer. From then on, `urnet-tools start`, `stop`, `restart`, `status`, `logs` and `uninstall` work on the system service, and `start`, `stop` and `uninstall` ask for `sudo`. Run as root without a systemd user session (a `sudo su` shell), the installer installs the system service by itself. ### With provider service ```bash sudo "$(command -v provider)" service install --system --as="$USER" ``` The full path is there because `sudo` doesn't look in `~/.local/bin`. This installs `urnetwork-provider.service` as a system service that runs the miner as that user, with their binary and their `~/.urnetwork`. First it stops and removes that user's own `provider service`, so two miners never run on one identity. Updates still install automatically, run as that user, and a small root-owned path unit restarts the service after each update. `provider service status` shows the service. To remove it: ```bash sudo "$(command -v provider)" service uninstall --system ``` A plain `sudo provider service install --system`, without `--as`, is unchanged: it runs the miner as root, with its state in `/var/lib/urnetwork`. ### What the unit grants The installer's unit, for a user named `alice`: ```ini [Unit] Description=URnetwork Provider Documentation=https://ur.xyz/docs/miner/extender Wants=network-online.target After=network-online.target [Service] User=alice ExecStart="/home/alice/.local/share/urnetwork-provider/bin/urnetwork" provide Restart=on-failure RestartSec=30 AmbientCapabilities=CAP_NET_BIND_SERVICE CapabilityBoundingSet=CAP_NET_BIND_SERVICE NoNewPrivileges=yes [Install] WantedBy=multi-user.target ``` The `provider service` unit has the same `User=` line and the same three capability lines, with `ExecStart=/provider start` and `Environment=URNETWORK_STATE_DIR=/home//.urnetwork`. Three lines make the whole grant: - `AmbientCapabilities=CAP_NET_BIND_SERVICE` gives the miner the one privilege. - `CapabilityBoundingSet=CAP_NET_BIND_SERVICE` keeps it from ever holding any other. - `NoNewPrivileges=yes` keeps it, and anything it starts, from gaining privileges, for example through a setuid program. The trade-off: while the service runs, the program it starts can listen on ports below 1024. The binary lives in your folder, so anyone who can replace it (you, or a program running as you) can run code that listens on low ports under this unit. That code gains no other privilege: it doesn't run as root, `NoNewPrivileges` is on, and the bounding set holds only that one capability. If that isn't acceptable on a shared computer, don't use `--system`. The miner still mines without its extender. Other ways to grant the port, and why the miner doesn't use them: - `setcap` on the binary: file capabilities are lost each time an update replaces the binary. - A setuid binary: far more privilege than one port needs. - `net.ipv4.ip_unprivileged_port_start`: it changes the rule for every program and every user on the computer. To go back to a user service: with the installer, run `urnet-tools uninstall`, then install again without `--system` (your identity in `~/.urnetwork` is kept). With `provider service`, run `sudo "$(command -v provider)" service uninstall --system`, then `provider service install`. ## Check it ```bash provider status provider doctor ``` `provider status` has an **Extender** line. `provider doctor` has an **Inbound 443** line: whether the miner holds TCP port 443, and the result of its last activation. In the log (`provider service logs --follow`, or `urnet-tools logs`), the `extender` record says what's wrong in `reason`, and how to fix it in `guidance`: | `reason` | What it means | What to do | | --- | --- | --- | | `tcp_443_permission_denied` | The miner isn't allowed to listen on port 443. | [Let the miner listen on port 443](#linux-let-the-miner-listen-on-port-443). | | `tcp_443_in_use` | Another program holds TCP port 443: another miner process, or a web server. | Only one program per computer can have it. The miner takes the port within 3 minutes of it coming free. | | `tcp_443_bind_failed` | Listening on port 443 failed for another reason. | Read the log lines around it. | | `unreachable_on_tcp_443` | The miner listens, but the operator's test couldn't reach it from the internet. | [Open the ports](#open-the-ports), then restart the miner. | An extender the internet can't reach tries to activate again once a day. After you open the ports, restart the miner to try at once: `provider service restart`, or `urnet-tools restart` with an installer. # Keep the miner up to date Source: https://ur.xyz/docs/miner/updates · Markdown: https://ur.xyz/docs-md/miner/updates.md · Updated: 2026-11-22 New miner releases fix problems and keep your miner compatible with the network, so it's best to run the latest one. If you used an [installer](https://ur.xyz/docs/miner/install#the-installers), or let `provider setup` install the background service, there's nothing to do: the miner is updated automatically. ## Automatic updates (installers) Every installer turns on automatic updates, except on Linux without a systemd user session and on Windows when you install a particular version with `-Tag`. By default it checks for a newer release on the [build releases page](https://github.com/urnetwork/build/releases) about every 6 hours. When there is one, it downloads it, checks it against the SHA-256 GitHub lists for it (a release without one isn't installed), makes sure the new program runs, and swaps it in. A miner that was running is restarted on the new version; one you stopped stays stopped. If anything fails, the old version keeps running. Your identity in `~/.urnetwork` isn't touched, and your update and start settings are kept. How each system keeps to the schedule: - **Linux:** a systemd timer, every 6 hours plus up to an hour of random delay. - **macOS:** a launchd agent that checks four times a day at times picked once per Mac, and again when you log in, so a Mac that was asleep or off catches up. - **Windows:** an updater that starts, hidden, when you sign in, wakes every hour and checks once the interval has passed, so sleep and restarts don't skip a check. An update also brings `urnet-tools` itself up to date. On Linux it never moves you to an older release. To see which version you have, and whether a newer one is out, or to update straight away: ```bash urnet-tools version urnet-tools update ``` ### Change or turn off automatic updates Automatic updates are on by default, and we recommend leaving them on. To see whether they're on, and how often they check: ```bash urnet-tools auto-update ``` To check less often, choose `6h` (the default), `daily`, `weekly` or `monthly`. This keeps updates on or off as they are: ```bash urnet-tools auto-update --interval daily ``` To turn them off, and back on: ```bash urnet-tools auto-update off urnet-tools auto-update on ``` With automatic updates off, run `urnet-tools update` yourself from time to time. Your choice is kept when you update or run the installer again. To install with updates off from the start, pass `--no-auto-update` to the macOS installer, or `-NoAutoUpdate` to the Windows one. On Linux, run `urnet-tools auto-update off` right after installing. ### Stay on one version To install a particular release, give its tag from the releases page: ```bash urnet-tools reinstall -t ``` Then turn automatic updates off with `urnet-tools auto-update off`, or the next check will move you to the latest release again. ## Automatic updates (provider service) > **These updates haven't installed any release since 2026.10.22.** Once the first release after November 11, 2026 is out, update by hand once, as the notice at the top of [How to run a miner](https://ur.xyz/docs/miner) explains. From then on they work as described here. The [background service](https://ur.xyz/docs/miner/run#with-provider-service) that `provider setup` or `provider service install` sets up also keeps the miner up to date. It checks the [build releases page](https://github.com/urnetwork/build/releases) every 6 hours: on Linux from 15 minutes after the computer starts, plus up to an hour of random delay; on macOS from when you log in; on Windows from 15 minutes after you sign in, plus up to an hour of random delay. After a release, each miner waits its own random share of 16 hours, so every miner has it within a day without all of them restarting at once. An update checks the download against the SHA-256 GitHub lists for it (that catches a damaged download), keeps the previous program beside the new one, and restarts the service. If the new version doesn't come back within 10 minutes (connected again, if it was connected before), the previous one is put back, and that release is skipped for a week. Your identity in `~/.urnetwork` isn't touched. ```bash provider update --check # is a newer release out? provider update # update now provider update --status # automatic update settings and the last check ``` The program's folder has to be writable by the service's user; `provider doctor` checks this. A miner an installer set up keeps updating through `urnet-tools`, and `provider update` runs it for you. ### Turn off the miner's own updates Automatic updates are on by default, and we recommend leaving them on. To turn them off, and back on: ```bash provider update --off provider update --on ``` You can also install the service with updates off: `URNETWORK_AUTO_UPDATE=0 provider service install`. That doesn't affect a miner an installer set up; use `urnet-tools auto-update off` there. With updates off, run `provider update` yourself from time to time. ## Docker A [Docker container](https://ur.xyz/docs/miner/install#docker) of the miner never updates itself: it runs the image it was created from until you recreate it, and restarting it isn't enough. When a release's image is published, the tags `latest` and `g4-latest` (and `beta-latest`, `g1-latest` to `g3-latest`) move to it. > From July 2026 until November 22, 2026, the image wasn't rebuilt, and every tag of it was version 2026.7.2. A container created in that time still runs 2026.7.2 until you update it. To update a container started with `docker run`, pull the image, then recreate the container with the same options and the same state directory: ```bash docker pull bringyour/community-provider:latest docker stop urnetwork docker rm urnetwork docker run -d --name urnetwork --restart unless-stopped \ -v urnetwork:/root/.urnetwork bringyour/community-provider:latest provide ``` With Docker Compose, in the folder of your `compose.yaml`: ```bash docker compose pull docker compose up -d ``` Then `docker exec urnetwork bringyour-provider --version` prints the version it runs. Scripts and compose files written for the old image don't need to change: the image takes the same commands (`auth`, `provide`, `auth-provide`, `proxy`) and the same state directory. Tools that recreate containers when their tag moves, such as Watchtower, update a container that follows `latest` by themselves. To stay on one version instead, use its tag, such as `bringyour/community-provider:2026.11.19-1103608200`, and change the tag to update. ## Without automatic updates A [source build](https://ur.xyz/docs/miner/install#build-from-source) never updates itself: build it again. A miner you run in a terminal, or under [a service of your own](https://ur.xyz/docs/miner/run#a-service-of-your-own), updates with `provider update`; then restart it. Watch the [releases page](https://github.com/urnetwork/build/releases) for new versions; GitHub can notify you about each release. `provider --version` prints the version you have. # Get paid for mining Source: https://ur.xyz/docs/miner/rewards · Markdown: https://ur.xyz/docs-md/miner/rewards.md · Updated: 2026-11-18 Your miner earns for the traffic it carries. This page covers the three parts of getting paid: telling the operator which Bittensor wallet to pay ([set your payout wallet](#set-your-payout-wallet)), [how rewards are counted](#how-rewards-are-counted), and [claiming them](#claim-your-rewards). For how the role fits together, see [how SN25 mining works](https://ur.xyz/miners). If you used an installer, type `urnetwork` wherever this page says `provider`. ## Set your payout wallet Rewards go to a Bittensor **coldkey**: an ss58 address that starts with `5`. You prove the coldkey is yours by signing a short statement with it. The operator stores that signed statement for this device, so a wallet address saved in your account profile alone is not enough. The easiest way is the payout step of [`provider setup`](https://ur.xyz/docs/miner#2-run-setup): it prints the message, you sign it in your wallet app, and paste the signature. You can run `provider setup` again later just for this step; if you used an installer, run `urnetwork setup --no-service`. The commands below do the same by hand. Set the wallet **after** the device's first start (`provider setup`, or the first `provider start`), because the statement names the device that start registers. Before that, `wallet challenge` and `wallet set` fail with `claim/wallet credential not ready at …/.provider.jwt`. ### Sign in your wallet app (recommended) This keeps your coldkey's secret off the miner. First, ask for the statement: ```bash provider wallet challenge '' ``` Sign the exact printed statement with that coldkey, in a wallet that can sign raw messages with sr25519, for example [polkadot.js Apps](https://polkadot.js.org/apps/#/signing) (Developer → Sign and verify) with your account from the Polkadot.js extension. Then run the `provider wallet set` command the challenge printed, with your signature. (If you used an installer, change `provider` at its start to `urnetwork`.) It looks like this: ```bash provider wallet set '' \ --message='' \ --signature='0x<64-byte sr25519 signature>' ``` What the signature has to be: - Over the exact statement as printed, as UTF-8 text with LF line endings and no extra newline at the end, signed with sr25519 in the `substrate` signing context. In `--message`, a literal `\n` stands for a line break. - A Polkadot extension `signRaw` of type `bytes`, which wraps the statement in `...`, is accepted too. - Submit it within the time the challenge prints, usually five minutes. The printed command keeps the operator and device you're using, so copy it rather than typing your own. ### Sign with a seed file on the miner If you deliberately keep the coldkey's seed on the miner's computer, the miner can fetch and sign the statement itself: ```bash provider wallet set '' \ --coldkey_seed_file=/absolute/private/coldkey.seed ``` The file must already exist, belong to you, be private (for example mode `0600`) and have no symlinks in its path. It holds the raw 32-byte sr25519 mini secret, or the same as 64 hexadecimal characters with an optional `0x`. It is not a mnemonic phrase. The command refuses a seed that doesn't match the address, and the seed never leaves your computer. You can also set the wallet as the miner starts: `provider provide --wallet='' --coldkey_seed_file=/absolute/private/coldkey.seed`. If that fails, the miner logs the failure and keeps running, so check the log before you rely on it. ### When the wallet starts earning Rewards are counted in **epochs**. A new wallet setting starts at the **next** epoch and lasts for 65,536 epochs, so set it before the epoch you want to earn in, and renew it before it runs out. It never changes where earlier rewards go. To choose an exact range instead, pass both `--wallet-from-epoch=` and `--wallet-through-epoch=` to `wallet challenge` and `wallet set`; the operator still decides the earliest epoch it accepts. The miner keeps every signed statement in `.provider.jwt.wallet-consent/history.json` in `~/.urnetwork`. Keep it with your [backup](https://ur.xyz/docs/miner/run#back-up-your-miner). If sending a statement is interrupted, running the same command again sends the same signed statement, even if the seed is no longer on the computer. Every device that should earn needs its own signed wallet; several devices can use the same coldkey. For extra exits on one host, select each with `--provider-jwt`: see [Several exits on one host](https://ur.xyz/docs/miner/advanced#several-exits-on-one-host). To sign once for every listed operator, see [Sign once for every listed operator](https://ur.xyz/docs/miner/advanced#sign-once-for-every-listed-operator). ## How rewards are counted Pool rewards depend on the traffic your miner completed and how reliably it was measured doing so. The operator records completed work against your device and pays the wallet signed for that epoch. **Paid and free traffic of the same size earn the same credit.** Account balances, reservations, subscription payments and unfinished contracts are not proof of work. Each device's share of the pool is proportional to: ```text completed usage bytes × reliability reliability = confirmations / max(assignments, reliability_a_min) ``` To be paid for an epoch, a device needs completed usage above zero, at least the required number of verification checks, at least one confirmation, a signed wallet for that epoch and no active head-tier binding. Devices paying the same coldkey are added together into one payout. From settlement v2's switch epoch, the pool is split by completed usage alone, with no reliability factor or minimum, into one account per payout coldkey that never expires (see the [litepaper](https://ur.xyz/docs/litepaper)). Validators measure routing quality on their own and weight the operator pools and head fleets. Miners are paid **momentum**: the share of the subnet's miner emission used now to power the network, split between the pool and head tiers by policy. Momentum is 10%; your operator's published policy gives the current value. The [Network Capacity Reserve](https://ur.xyz/reserve), the `ur-reserve` account, receives the rest: miner emissions × (1 − momentum). Its share isn't fixed; it gets smaller as momentum grows. Momentum is a share of emission, not a fixed price per byte; your operator's published policy and payout files show actual earnings. The reserve is separate from the settlement vault's claim collateral. A settlement epoch is set by the deployed contracts and policy. On mainnet it's 50,400 blocks, about seven days at 12 seconds a block. After an epoch closes, its payout root is committed and finalized before claims open, so recent work isn't claimable straight away. The `claim_open_block` the claim command prints, and your operator's published deployment windows, tell you when. ## Claim your rewards A claim fetches your proof from the operator, checks it, and sends it to the settlement vault, which pays your coldkey. You'll need your operator's published deployment details: its EVM RPC endpoint, settlement vault address and chain ID (964 on mainnet). Signing in and mining don't by themselves mean an operator's subnet rewards are active; its published deployment says so. ### 1. Check the claim ```bash provider claim --epoch='' --rpc='https://' ``` Use your operator's EVM RPC endpoint; you can repeat `--rpc` for backups, tried in order. The miner checks the proof and the payout root and prints the `epoch`, `no_id`, `coldkey`, `share_bps`, the payout roots, the vault `contract`, the `claim_open_block` and the claim data. Check the coldkey, contract and chain ID against your operator's published deployment. A proof or root mismatch exits with an error: sort it out with your operator before submitting. Without `--epoch`, the miner picks the epoch before the current one. That epoch may still be waiting for its root to be finalized, so the claim might not be open yet. Give older unclaimed epochs explicitly. ### 2. Submit it Submitting needs an EVM **relayer** key: a separate secp256k1 key with a little TAO for gas on the Subtensor EVM network. It only pays the fee; the reward still goes to the coldkey in the proof. Put its 32-byte hex key in a private file, then try it without sending anything: ```bash provider claim --epoch='' \ --rpc='https://' \ --key_file=/absolute/private/relayer.key --dry-run ``` Then submit it: ```bash provider claim --epoch='' \ --rpc='https://' \ --key_file=/absolute/private/relayer.key ``` `--key_file` needs `--rpc`. Any funded relayer can submit your proof: it can't change the coldkey or receive the reward. The reward arrives as native α stake on your coldkey. The coldkey's seed isn't needed to claim. ### 3. Read the result | Event | Meaning | | --- | --- | | `Claimed` | The vault accepted the claim and credited your coldkey. On its own, this doesn't prove a transfer. | | `ClaimPaid` | The credit was transferred to your coldkey. | | `ClaimPaymentDeferred` | The credit stays in the vault for now, for example because it's below the transfer minimum, the price isn't available or the transfer failed. | Deferred credit doesn't expire. A later claim pays the accumulated credit once payment is possible, and anyone can retry it with the vault's `withdrawClaimCredit(bytes32 coldkey)` method; `snclaim withdraw --vault=v1` (with `--coldkey`, `--contract`, `--rpc` and `--key_file`) calls it. Submitting an already accepted claim again isn't a withdrawal and fails as already claimed. Claim before the entitlement expires. On mainnet that's eight epochs plus one grace epoch; after that, unclaimed rewards can go back into the same operator's pool. Expiry doesn't remove credit already accepted. From settlement v2's switch epoch, accounts never expire. To claim automatically, or to submit from a different computer than the miner, see [Advanced](https://ur.xyz/docs/miner/advanced#claim-automatically). # Miner troubleshooting Source: https://ur.xyz/docs/miner/troubleshooting · Markdown: https://ur.xyz/docs-md/miner/troubleshooting.md · Updated: 2026-11-18 Find the message you're seeing, or the closest symptom, below. If you used an installer, type `urnetwork` wherever this page says `provider`. Still stuck? Ask [on our Discord](https://discord.gg/urnetwork), with the command you ran and what it printed. Never post your auth code, seed files or anything from `~/.urnetwork`. New to mining? [Run a UR node](https://ur.xyz/miners) starts with what a miner runs and needs. ## Installing ### `urnetwork: command not found` after installing The installer adds its folder to your `PATH` in your shell's startup file (`~/.bashrc`, and `~/.zshrc` if you have one, on Linux; `~/.zshrc`, and `~/.bash_profile` for bash, on macOS), which only new terminals read. Open a new terminal, or run the `export PATH=…` line the installer printed. On Windows, open a new PowerShell window. If you installed with `-B`, add the folder yourself: see [the installers](https://ur.xyz/docs/miner/install#the-installers). ### `urnet-tools` on Windows says running scripts is disabled That's Windows' default script policy. Type `urnet-tools.cmd` instead of `urnet-tools`, for example `urnet-tools.cmd status`. ### `no systemd user session` (Linux) The installer couldn't reach your user's systemd, which happens in a `sudo su` shell, in many containers and in WSL without systemd. It installs the miner anyway, but can't run it in the background. Log in directly as the user who will run the miner (over SSH or at the console) and run the installer again, or run it in the foreground: the first time with `urnetwork provide --allow-client-registration`, then with `urnetwork provide`. Without a user session there are no automatic updates, so run `urnet-tools update` yourself from time to time, or use a system service instead: `sudo urnetwork service install --system`. Run as root in such a shell, the installer installs a system service by itself. ### The installer says your processor isn't supported The releases cover 64-bit and 32-bit Intel and AMD, 64-bit ARM, and 32-bit ARMv7 (a Raspberry Pi 2 or newer) on Linux, and Apple silicon and Intel Macs. A Pi Zero or Pi 1 isn't supported. On anything else, [build from source](https://ur.xyz/docs/miner/install#build-from-source). ### macOS says the program can't be opened A file downloaded with a web browser is quarantined. Run `xattr -d com.apple.quarantine "$HOME/.local/bin/provider"` once. (A file downloaded with `curl` isn't, and the command then says `No such xattr`, which is harmless.) ## Signing in ### Nothing appears when I paste the auth code That's on purpose: the prompt hides the code. Paste it and press Enter. To give up, press Ctrl-C: it says `Cancelled.` and changes nothing. Pressing Enter on the empty prompt says `No auth code was entered`. Have your code ready before you run `provider login` or `provider setup`. ### `That auth code wasn't accepted` The code was mistyped, already used or expired. Get a new code from your operator account and run `provider login` again. In a log, rather than a terminal, the same error appears as `panic: Invalid auth code.` followed by internal details you can ignore. ### `… jwt exists. Overwrite? [yN]` This device is already signed in. Answer `y` to sign in again with the new code, or anything else to keep the current sign-in. ### `Couldn't reach the URnetwork API` In a log this appears as `panic: http request attempts exhausted`. The miner couldn't reach the operator. Check the computer's internet connection, and that the operator's URLs are right (`provider network`). On a network that inspects encrypted traffic with its own certificate authority, such as some company networks, the miner rejects that authority. Point `URNETWORK_CONNECT_EXTRA_ROOT_CA_FILE` at a PEM file holding only that network's CA certificates, then try again. For the background service, set it and run `provider service install` again. ## Starting ### First, ask the miner `provider status` says what's missing and the command to run next, and `provider doctor` checks the state folder, DNS, the connection, TLS and the clock, and names the fix for each problem. Start there; the entries below explain the messages in more detail. ### The miner stops straight away `provider start` says why in plain words, and exits with code 3: - *This device isn't signed in yet*: run `provider setup`, or `provider login`. - *This is the first start on this device*: answer yes in a terminal, or add `--allow-client-registration` in a script. If you used an installer, run `urnet-tools start`: it registers a new device once you're signed in. `provider provide` says so only when the device isn't signed in. On a device that was never registered, it logs `startup_recovery_required` unless you add `--allow-client-registration`. Otherwise the miner prints a JSON line with `"event":"startup_recovery_required"` and exits. With `provider provide`, as the installers run it, it exits with code 0 and stays stopped. `provider start` and the `provider service` background miner exit with code 1, and the service restarts it every 15 to 30 seconds: stop it with `provider service stop` while you restore the folder. This usually means **this device's identity files are missing or don't match**, for example after moving to a new computer or restoring part of a backup. Restore the whole `~/.urnetwork` folder from your backup. Signing in again doesn't replace a lost identity, and `--allow-client-registration` won't bring it back either: it only registers new devices. ### `The state folder … can be changed by other users` In a log this appears as `registration parent must be owned and not writable by other users`. The miner's folder belongs to another user (for example, after running the miner once with `sudo`) or can be changed by other users, so it refuses to save its identity there. Give it back to your user, make it private, and start again: ```bash sudo chown -R "$USER" ~/.urnetwork chmod 700 ~/.urnetwork ``` On Windows, run the `icacls` command the message prints. ### The log keeps saying `refused` The miner started, but the operator isn't accepting its connection, and it keeps retrying every few seconds. The status page still says `"status":"ok"`, because the process itself is fine. - Make sure the computer has a normal home or server internet connection, without a VPN or proxy in front of the miner. - Check that you signed in to the operator the miner is using (`provider network`). - If it continues, ask your operator or [on our Discord](https://discord.gg/urnetwork), with the lines around `refused`. ### The miner stops when I log out On Linux, your user's services stop at logout unless lingering is on. The installer and `provider service install` try to turn it on; if they printed a lingering warning, turn it on once with `sudo loginctl enable-linger "$USER"`. On Windows, the installer starts the miner when you sign in, and it stops when you sign out. That's a known limit: keep the user signed in (a locked screen is fine). ### `operator is awaiting auth` With `--all-operators`, that operator has no sign-in yet. Run `provider auth --operator=`, or start with `--auto-register --hotkey_seed_file=`. The miner checks again every five minutes. See [Mine every listed operator](https://ur.xyz/docs/miner/advanced#mine-every-listed-operator). ## The extender `provider status` has an Extender line, and `provider doctor` an Inbound 443 line. In the log, the `extender` record's `reason` says what's wrong and its `guidance` how to fix it. The miner keeps mining while its extender is off. See [Run an extender](https://ur.xyz/docs/miner/extender). ### The extender can't bind TCP port 443 The miner couldn't listen on TCP port 443, so its extender is off. It tries again every 3 minutes. - `tcp_443_permission_denied`: on Linux, a miner that runs as your user isn't allowed to listen on ports below 1024. Install it as a system service that may: with the installer, `curl -fsSL https://raw.githubusercontent.com/urnetwork/connect/main/scripts/Provider_Install_Linux.sh | sh -s -- --system`; with `provider service`, `sudo "$(command -v provider)" service install --system --as="$USER"`. See [Let the miner listen on port 443](https://ur.xyz/docs/miner/extender#linux-let-the-miner-listen-on-port-443). - `tcp_443_in_use`: another program holds the port, such as a web server or another miner process on the same computer. Only one program per computer can have it; the miner takes it within 3 minutes of it coming free. - `tcp_443_bind_failed`: it failed for another reason. Read the log lines around it. ### The extender is unreachable on TCP 443 `unreachable_on_tcp_443`: the miner listens on port 443, but the operator's test couldn't reach it from the internet, so the extender isn't listed. A firewall, a cloud security group or a home router is keeping incoming connections out, or the connection is behind carrier-grade NAT. Open TCP 443 (and UDP 443 and 4053): see [Open the ports](https://ur.xyz/docs/miner/extender#open-the-ports). The miner tries again once a day. After you open the ports, restart it to try at once: `provider service restart`, or `urnet-tools restart` with an installer. ## Getting paid ### `wallet challenge` or `wallet set` says `credential not ready` The device isn't registered yet. Run `provider setup`, or start it once with `provider start` and let it register, then set the wallet. See [Set your payout wallet](https://ur.xyz/docs/miner/rewards#set-your-payout-wallet). ### A new wallet doesn't show up straight away That's expected. A wallet setting starts at the next epoch and never changes where earlier rewards go. See [When the wallet starts earning](https://ur.xyz/docs/miner/rewards#when-the-wallet-starts-earning). ### No payout for an epoch To be paid, a device needs completed traffic, enough verification checks, at least one confirmation and a signed wallet for that epoch. A device in the head tier earns there instead of from the pool. See [How rewards are counted](https://ur.xyz/docs/miner/rewards#how-rewards-are-counted). ### The claim proof isn't ready Check that the operator has published this device's work for the epoch and finalized the epoch's root. The claim uses the device's `.provider.jwt`; your account sign-in (`jwt`) can't stand in for it. ### Proof or root mismatch Keep the output and compare the deployment, epoch and payout files with your operator. Waiting or changing wallets won't fix proofs that disagree. ### Claimed, but my balance hasn't changed Look for `ClaimPaid` or `ClaimPaymentDeferred` in the receipt, and check the α stake on your coldkey, not the relayer's balance. See [Read the result](https://ur.xyz/docs/miner/rewards#3-read-the-result). ### The connection dropped during a claim Check what happened to the transaction you sent, or to the claim daemon's queue, before using the relayer key again. Keep the signed transaction history. # Advanced mining Source: https://ur.xyz/docs/miner/advanced · Markdown: https://ur.xyz/docs-md/miner/advanced.md · Updated: 2026-11-18 Most miners don't need this page: the [quick start](https://ur.xyz/docs/miner#quick-start) covers one device serving one operator. Read on if you want to serve every operator, run several exits from one host, automate claims or run a large fleet. If you used an installer, type `urnetwork` wherever this page says `provider`. ## Mine every listed operator `provider provide --all-operators` mines every operator in the list published at [ur.xyz/operators.yml](https://ur.xyz/operators.yml), with one miner process per operator. The simplest way signs in to each operator with a Bittensor **hotkey**, as a TAO wallet: ```bash provider provide --all-operators --auto-register --hotkey_seed_file=/absolute/private/hotkey.seed ``` No chain transaction is involved. The first sign-in creates the hotkey's network at that operator, and each new operator registers its first device: `--auto-register` implies `--allow-client-registration`, which never replaces an identity the miner already has. The seed file holds the hotkey's 32-byte sr25519 seed, raw or as 64 hexadecimal characters, in a private file that the miner never creates. To sign in to operators yourself instead, list them, then sign in to each with an auth code, your account login or the hotkey: ```bash provider operators provider auth --operator='' provider auth --operator='' --user_auth='you@example.com' provider auth --operator='' --hotkey_seed_file=/absolute/private/hotkey.seed ``` `provider operators` prints where the list came from and its digest, then each operator's domain, sign-in state (`jwt present` or `awaiting auth`), API URL and connect URL. `provider auth --operator` asks for the code or password you don't pass, and saves that operator's sign-in in `~/.urnetwork/operators//jwt`. An operator signed in this way has no device yet, so the first start needs the registration flag; later starts don't: ```bash provider provide --all-operators --allow-client-registration ``` An operator without a sign-in gets no miner. The log shows `operator is awaiting auth: provider auth --operator=`, and the miner checks again every five minutes. ### How it runs With `--all-operators`, one process looks after a miner for each listed operator: - Each operator has its own folder, `~/.urnetwork/operators//`, with its own sign-in, identity key and device credential. These are new device identities: the single-operator identity in `~/.urnetwork` isn't used, and an operator chosen with `provider network use` doesn't apply. - The list is fetched again every hour. `--operators-refresh=` changes that, as a Go duration of at least `1m` such as `30m`, and `--operators-url=` follows another list. The last good copy is kept as `~/.urnetwork/operators.yml`, so mining continues while ur.xyz is unreachable. - A newly listed operator gets a miner once it has a sign-in, and an operator whose URLs change has its miner restarted. A delisted operator's miner gets SIGTERM, then SIGKILL after 60 seconds; its folder is kept. - A miner that exits restarts after 30 seconds, doubling up to 10 minutes. Ctrl-C or a termination signal stops every miner. - `--max-memory` is split evenly between the miners, and a miner restarts when its share changes. `--port` serves the status of every operator; the miners themselves run without a status port. - The first miner process to take TCP port 443 serves the extender for the host. - `--all-operators` refuses `--api_url`, `--connect_url`, `--provider-jwt`, `--wallet` and its signing flags, `--test-egress-source-ip`, and the capture and close-report flags, which stay single-operator. To run it as a [service of your own](https://ur.xyz/docs/miner/run#a-service-of-your-own), use `ExecStart=%h/.local/bin/provider provide --all-operators --auto-register --hotkey_seed_file=/absolute/private/hotkey.seed`. In auto mode the service keeps `--auto-register`, so each newly listed operator registers its first device; it never replaces an identity the miner already has. If you sign in to operators yourself, leave out `--auto-register`, keep `--hotkey_seed_file` if you use the hotkey payout below, and add `--allow-client-registration` only for the first start after signing in to a new operator. ### Sign once for every listed operator With `--all-operators`, one coldkey signature sets the payout wallet at every operator. The coldkey and the hotkey both sign one global statement that maps the hotkey to the coldkey, kept as a chain in `~/.urnetwork/hotkey-wallet/`. Each signed-in operator then stores the chain, and the hotkey alone signs a delegation of your network there to the chain's latest entry. The coldkey never signs per operator. Ask for the statement: ```bash provider wallet hotkey challenge '' \ --hotkey_seed_file=/absolute/private/hotkey.seed ``` Sign the exact printed statement with the coldkey, in the same sr25519 `substrate` context as a [normal wallet](https://ur.xyz/docs/miner/rewards#set-your-payout-wallet), then run the `wallet hotkey set` command the challenge prints. It looks like this: ```bash provider wallet hotkey set '' \ --hotkey_seed_file=/absolute/private/hotkey.seed \ --message='' \ --signature='0x<64-byte sr25519 signature>' ``` The statement waits in `hotkey-wallet/pending.json` until it's set or replaced. If you deliberately keep the coldkey seed on this computer, pass `--coldkey_seed_file=/absolute/private/coldkey.seed` to `set` instead of `--message` and `--signature`. `set` adds the hotkey's signature, appends the new entry to the chain, then stores the chain and the delegation at every signed-in operator and reports each one; one operator failing never stops the others. `provider provide --all-operators` with `--hotkey_seed_file` keeps every signed-in operator delegated, at start and every hour, including operators listed later, so the coldkey signs only once. `provider wallet hotkey status` shows the chain, any pending statement and each operator's delegation. Unless `--wallet-from-epoch` and `--wallet-through-epoch` choose them, the first entry earns from epoch 0 and a later one from the operators' current epoch plus 1. Each delegation starts at the operator's current epoch plus 2, and every range covers 65,536 epochs. A later entry changes the coldkey or the epochs. An operator pays a device by precedence: the device's own wallet (`provider wallet set`), then a network-wide wallet, then the hotkey delegation. ### Claims with every operator Each operator settles its own pool, so claim from each operator separately. Select that operator's device credential and its API URL, as `provider operators` prints it: ```bash provider claim --epoch='' --rpc='https://' \ --provider-jwt="$HOME/.urnetwork/operators//.provider.jwt" \ --api_url='' ``` ## Several exits on one host The miner supports SOCKS5 exits, with a separate device for each proxy address: ```bash provider proxy add ':::' provider proxy add --proxy_file=/absolute/private/proxies.txt provider provide --allow-client-registration ``` Use the registration flag only when you add genuinely new exits; ordinary restarts are `provider provide`. Each exit keeps a `.provider-.jwt` and its registration side files. Select that file with `--provider-jwt` when you set its wallet and claim for it. The shared `.provider.key` and every exit's files belong in the same backup. What counts is distinct, routable exits: adding accounts behind the same exit doesn't add coverage. `provider proxy remove` removes exits, and `provider proxy auth add` and `provider proxy auth remove` manage proxy credentials; see `provider proxy --help`. With `--all-operators`, the `proxy` file in `~/.urnetwork` is copied into each operator's folder when its miner starts. ## Claim automatically ### Submit claims from another computer To keep the relayer key off the miner, check the claim on the miner with `provider claim`, then submit its exact claim data and vault address from another computer with `snclaim`. Build it from the same source: ```bash # From sn/: go build -o "$HOME/.local/bin/snclaim" ./cli/snclaim ``` Or download it from the same release: the [releases page](https://github.com/urnetwork/build/releases) also has `urnetwork-snclaim-.tar.gz`, with `//snclaim` for Linux and macOS. Install it the way [Manual download](https://ur.xyz/docs/miner/install#manual-download) installs the miner. Then: ```bash snclaim submit --calldata='0x' \ --contract='0x' --rpc='https://' \ --chain_id=964 --key_file=/absolute/private/relayer.key --dry-run ``` Use your deployment's actual chain ID, and remove `--dry-run` to send it. The submitting computer still needs an RPC connection. To see whether a claim was already accepted: ```bash snclaim status --epoch='' --no_id='' \ --coldkey='' --contract='0x' \ --rpc='https://' ``` ### The claim daemon The claim daemons run on Linux and macOS only. The claim daemon keeps pending and signed claims in a durable queue and follows their results on the EVM chain across restarts. Its configuration is strict YAML: ```yaml schema_version: 1 release: "1.0" api_url: https://api.example.net rpc: - https://evm-rpc.example.net key_file: /home/miner/.urnetwork/private/relayer.key jwt_file: /home/miner/.urnetwork/.provider.jwt state_dir: /var/lib/urnetwork/claims/provider-1 poll_seconds: 30 lookback_epochs: 2 ``` Replace these paths and endpoints. Relative file paths are resolved against the configuration file. `jwt_file` selects the device credential and must be a private regular file; leaving it out selects the default `.provider.jwt`. `poll_seconds` accepts 5 to 3,600; the default lookback is two epochs, up to 256. Before starting, prepare the claim-queue storage and get the exact durable-volume declaration and its reviewed digest for the host. Current storage admission requires them; an empty folder or leaving the flags out isn't enough. The declaration uses the daemon-volume schema and covers the actual `state_dir` and queue. See [claim queue ownership](https://github.com/urfoundation/sn/blob/main/miner/CLAIM-QUEUE-OWNERSHIP.md) and the [offline storage preparation](https://github.com/urfoundation/sn/blob/main/mainnet/OWNER-CUSTODY-PREPARATION.md) instructions. ```bash provider claim-daemon --config=/absolute/path/claim.yml \ --durable-volumes=/absolute/path/reviewed-daemon-volumes.json \ --durable-volumes-sha256='sha256:' ``` Run one daemon for each queue and relayer key, and don't submit one-off claims or run another daemon with that key at the same time. Keep the whole queue folder, including its side files, after an interrupted submission. A queue entry marked `uncertain` needs its original signed transaction reconciled. A finalized claim entry shows the claim was accepted; the payment events tell paid rewards from deferred credit. For settlement v2 accounts, `provider claim-daemon-v2` claims an account once its claimable balance reaches `--threshold-rao` (default 1.9 α), and `--claim-now` claims everything claimable once at start. `--v1-config` runs the v1 daemon above in the same process, sharing one relayer key. See `provider claim-daemon-v2 --help` for its options. ## Claim your own miner UID (head tier) By default every miner earns in its operator's **pool**: the operator's pool UID is paid, and the pool is split among its devices. A large fleet can instead claim **its own miner UID** on the subnet. Validators then weight that UID directly and the chain pays it natively, as α staked on the fleet's own hotkey under its own coldkey, every tempo. There's no pool, no operator and no claim in the payout path. ### Who can get one Validators give weight to the **top 200 fleets** only; every other fleet's UID gets nothing. Fleets are ranked by **routable exit breadth**, not by traffic: - Each exit address a validator routes a real verification hop through is reduced to its network prefix (a /29 for IPv4, a /48 for IPv6). A fleet's score is the number of distinct prefixes its devices exit from. - A prefix shared with other head fleets is split equally between them, so many devices behind one address or in one small range count once. - The score is smoothed over time (each tempo counts a quarter), so one bad measurement doesn't drop a fleet, and a new fleet takes a while to reach its full score. A single home connection counts as about one prefix. A head UID pays off for fleets whose devices exit from many different networks, such as hosts spread across many data centers or many residential connections. To see where you stand, the ur.io **Top 200** page shows your account's estimated score and rank against the cutoff, and whether your devices are bound to a hotkey yet. ### What it costs, and the risks - **Registration burns TAO, and it isn't refundable.** The fleet's coldkey pays the subnet's current registration burn, 0.0005 TAO at its floor. Each new registration raises it by about a quarter, and it halves about every 72 minutes. `provider fleet register` shows the live burn before it signs anything. - **Binding costs gas.** About 263,640 gas per device, or 0.0013 TAO at 5 gwei. - **UIDs are limited.** When the subnet is full, a new registration replaces the UID with the lowest emission, once that UID's immunity period is over, and among equals the oldest registration. A fleet that falls out of the top 200 earns nothing, is replaced in its turn, and has to pay the burn again to come back. - **Register in the 3 days before the epoch your binding starts.** A binding starts no earlier than the next epoch, up to 7 days away, and a UID with no emission can be replaced once its immunity ends, about 3 days (21,600 blocks) after it registers. - **At most 7 devices per fleet draw ahead of the rest.** Validators only measure devices in the verify cohort, and a fleet's share of it is the cohort size over 200 seats, 7 devices at a cohort of 1,500. A bound device outside the cohort earns no head score and has left the pool, so it earns nothing. Bind 7 unless the others are already measured. - **A fleet that published before may need to publish again.** Commitments in the old format aren't mirrored to the coordinator, and a mirror older than 14 days (100,800 blocks) can't bind. A fleet adding devices later publishes again for the same reason. - **A head UID pays only while the validator steers, and in proportion to its score, not its rank.** All selected fleets share one channel: 3% of miner emission until epoch 8, and 5% from epoch 8. - **One tier at a time.** A device bound to a head fleet earns no pool share while the binding is active. If the fleet loses its UID, its devices go back to earning in their operator's pool. Pool rewards a device already earned stay claimable. - **Binding is public.** A binding publishes which devices belong to your hotkey, and so the network prefixes they exit from. Devices in the pool aren't linked to you this way. ### How to claim one You need a Bittensor coldkey with enough TAO for the burn, a hotkey for the fleet, and the miners' identity files (`~/.urnetwork`). Keep the coldkey on one registration computer; the miners only need their own identities. Registering, publishing, binding and revoking on mainnet run on Linux and macOS only. 1. **Write the fleet manifest.** It lists the network's chain ID, netuid and coordinator, a fleet ID, the fleet hotkey, a generation, and each device's client ID and public key. `provider fleet init` builds it from the miners' files, and `provider fleet manifest --manifest=` checks it. 2. **Register the UID.** Run `provider fleet register` with the manifest, the hotkey and coldkey seed files and `--substrate` endpoints. Without `--apply` it's a dry run that quotes the live burn and fee. Add `--apply` to sign and broadcast, with `--burn_limit_rao` and `--fee_limit_rao` as caps: the chain refuses a registration that would burn more than your limit. 3. **Publish the manifest.** `provider fleet publish` puts the manifest's hash on chain from the fleet hotkey. The commitment oracle mirrors it to the coordinator once it's final, and bindings revert until it has. 4. **Bind each device to the hotkey.** Every binding is signed by both the device's key and the fleet hotkey, so nobody can claim devices they don't run. A binding starts no earlier than the next epoch and covers the epoch range you choose (`--valid_from_epoch`, `--valid_to_epoch`). Either: - run `provider fleet sign` for each device, which only reads local files, then paste its output into the ur.io Top 200 page and submit the transaction it prepares from your own EVM wallet; or - run `provider fleet bind` for each device, which submits the binding itself with an EVM relayer key and `--rpc` endpoints. 5. **Check and maintain it.** `provider fleet status` shows a device's binding and the UID. `provider fleet revoke` removes a device from a future epoch. Bind new devices the same way, and bind again before a binding's last epoch. On mainnet, `register`, `publish`, `bind`, `status` and `revoke` also need the network's reviewed fleet runtime authority document (`--mainnet-runtime-authority` and its `--mainnet-runtime-authority-sha256`), and the writes need a durable-volume declaration (`--durable-volumes` and `--durable-volumes-sha256`), which `provider fleet storage` prepares on the machine that runs them ([Preparing storage for mainnet writes](https://github.com/urfoundation/sn/blob/main/miner/FLEET-MAINNET-RUNTIME.md#preparing-storage-for-mainnet-writes)). The current [authority document](https://raw.githubusercontent.com/urfoundation/sn/main/mainnet/fleet-runtime-authority/runtime-491.json) has the SHA-256 `0d16e120c0b3575e1daf6c221374f12d3fc6de85f03b12693e3f1a42243b0df3`. For every command in order, see [Claim a Top 200 spot from the command line](https://ur.io/docs/top200-claim-btcli). See the [fleet authority and recovery contract](https://github.com/urfoundation/sn/blob/main/miner/FLEET-MAINNET-RUNTIME.md) and `provider fleet --help` for every option. How the head and pool tiers are scored is in the [whitepaper](https://github.com/urfoundation/sn/blob/main/WHITEPAPER.md), sections 8.4 and 11.4. # Miner reference Source: https://ur.xyz/docs/miner/reference · Markdown: https://ur.xyz/docs-md/miner/reference.md · Updated: 2026-11-18 A quick reference for the `provider` command. `provider --help` prints a short overview, `provider --help` explains one command, and `provider help all` prints every command and option. If you used an installer, the command is called `urnetwork`. ## Everyday commands Names in brackets are other names for the same command. | Command | What it does | | --- | --- | | `provider setup` | Set up this device step by step: sign in, register, payout address, background service. Safe to run again. `--no-service` skips the service, and `--yes --auth-code-file=` runs it without questions (and skips the payout address). | | `provider status` | Is it set up, running and connected? Exit code 0 when all is well, 3 when it needs setup, 4 when it isn't running or connected. `--json` for scripts. | | `provider doctor` | Why it can't sign in or connect: state folder, DNS, connection, TLS, clock, updates. | | `provider login` (`auth`) | Sign in with an auth code, typed at a hidden prompt. `provider login ` takes the code directly, but leaves it in your shell history. `--user_auth='you@example.com'` signs in with your account email and asks for the password. | | `provider start` (`provide`) | Start mining in this terminal. The first start on a new device asks before registering it; `--allow-client-registration` registers without asking. `provide` prints the full log instead of the live view. | | `provider service install` | Run the miner in the background, with automatic updates: at every boot on Linux, at login on macOS, at sign-in on Windows. Also `start`, `stop`, `restart`, `status`, `logs --follow` and `uninstall`. | | `provider update` | Update to the newest release. `--check` only looks, `--status` shows the automatic update settings. See [Updates](https://ur.xyz/docs/miner/updates). | | `provider --version` | Print the version. | | `provider auth-provide` | Sign in and start in one command. | | `provider wallet challenge ''` | Print the statement to sign for your payout wallet. | | `provider wallet set '' …` | Set your payout wallet with a signature or a seed file. See [Get paid](https://ur.xyz/docs/miner/rewards#set-your-payout-wallet). | | `provider claim --epoch= --rpc=` | Check a pool reward claim; add `--key_file` to submit it. See [Claim your rewards](https://ur.xyz/docs/miner/rewards#claim-your-rewards). | | `provider network` (`choose_network`) | Show the operator in effect. `provider network use ` chooses another, `provider network reset` goes back to the default. | | `provider operators` | List the operators in the published operator list and your sign-in state with each. | | `provider proxy add …` | Add SOCKS5 exits. See [Several exits on one host](https://ur.xyz/docs/miner/advanced#several-exits-on-one-host). | The commands for every operator, hotkey wallets, the claim daemons and head-tier fleets are on the [Advanced](https://ur.xyz/docs/miner/advanced) page. ## Common options | Option | Used with | What it does | | --- | --- | --- | | `--allow-client-registration` | `start`, `provide` | Allow registering a new device. Never replaces an identity the miner already has. | | `--port=` | `start`, `provide` | Serve the [status page](https://ur.xyz/docs/miner/run#the-status-page) on this port. `0`, the default, turns it off. | | `--max-memory=` | `start`, `provide`, `login` | Soft memory target in bytes, or with `b`, `kib`, `mib` or `gib`. | | `-v`, `-vv` | most | More log detail. (For `urnet-tools` on Linux and macOS, `-v` means `version`; on Windows type `urnet-tools version`.) | | `-f` | `login`, `proxy` | Replace an existing sign-in or proxy without asking. | | `--api_url=` | most | Use this operator API URL for one command. | | `--connect_url=` | `start`, `provide` | Use this operator connect URL for one run. | | `--provider-jwt=` | `wallet`, `claim` | Choose which device's credential to use, for extra exits or other operators. | | `--wallet=` | `start`, `provide` | Also set the payout wallet at start, like `wallet set`. A failure is logged and doesn't stop mining. | ## Installer commands The installers for Linux, macOS and Windows share one command, `urnet-tools`: | Command | What it does | | --- | --- | | `urnet-tools status` | One-screen summary: running or not, version, signed in, automatic updates. | | `urnet-tools start`, `stop`, `restart` | Start, stop or restart the miner in the background. | | `urnet-tools logs` | Follow the miner's output. Ctrl-C to leave. | | `urnet-tools version` | Show the installed version, and the latest if it's newer. | | `urnet-tools update` | Update now, if there's a newer release. On Linux it never moves to an older one. | | `urnet-tools auto-update` | Show whether automatic updates are on. Add `on` or `off` to change it, and `--interval 6h`, `daily`, `weekly` or `monthly` to change how often. | | `urnet-tools auto-start on`, `off` | Whether the miner starts by itself after a restart (on macOS and Windows, when you log in). | | `urnet-tools reinstall -t ` | Install a particular release. | | `urnet-tools uninstall` | Remove the miner and its background jobs. Keeps `~/.urnetwork`. Add `--remove-identity` to delete it too, after you type `delete`. | Options take either `--interval weekly` or `--interval=weekly`. On Windows the PowerShell spellings work too (`-Interval`, `-RemoveIdentity`), and if PowerShell says running scripts is disabled, type `urnet-tools.cmd` instead. See [Updates](https://ur.xyz/docs/miner/updates) and [Run in the background](https://ur.xyz/docs/miner/run#with-an-installer). Where each installer keeps the miner: | System | Folder | Log | | --- | --- | --- | | Linux | `~/.local/share/urnetwork-provider` | `urnet-tools logs` (the systemd journal) | | macOS | `~/.local/share/urnetwork-provider` | `~/Library/Logs/urnetwork/` | | Windows | `%LOCALAPPDATA%\urnetwork\provider` | `provider.log` in that folder | ## Files the miner keeps The miner keeps its state in `~/.urnetwork`. Back up the whole folder after stopping the miner, keep it private and restore it as one piece. Don't run two copies of the same folder at once. Losing or editing the identity files can make the device impossible to recover, even though your account sign-in still works. | File or folder | What it holds | | --- | --- | | `jwt` | Your account sign-in, written by `provider login` (`auth`). | | `.provider.key` and `.provider.key.identity` | The device's original Ed25519 key and its identity marker. | | `.provider.key.registration.lock` | A local lock for registering the device. | | `.provider.jwt` | The device's own renewable credential, used for wallets and claims. | | `.provider.jwt.registration*` | The kept registration request and recovery state. Keep every one of these files. | | `.provider.jwt.wallet-consent/` | Your signed wallet history, including statements not yet sent. | | `.provider.cert`, `.provider.extender.key` | The device's certificate and extender identity, when present. | | `network.json` | The operator chosen with `provider network use` (`choose_network`). | | `proxy` | Optional SOCKS5 exits. | | `operators.yml` | The last good copy of the operator list, with `--all-operators`. | | `operators//` | One listed operator's own state, with the files above. | | `hotkey-wallet/` | The signed hotkey payout chain (`originals.json`) and any pending statement (`pending.json`). | | `miner.log` | The log of `provider start` in a terminal. | | `miner-status.json`, `miner-update.json` | What `provider status` reads, and the automatic update settings and last check. | The installers keep the miner program and `urnet-tools` in their own folder (see [Installer commands](#installer-commands)), separate from this folder. ## Environment variables None are needed for a normal setup. | Variable | What it does | | --- | --- | | `URNETWORK_STATE_DIR` | Use this folder instead of `~/.urnetwork`. Handy for trying a test device without touching your real one. | | `URNETWORK_AUTO_UPDATE` | Set to `0` when you run `provider service install` to install the service with automatic updates off. It doesn't affect an installer's updates. | | `URNETWORK_AUTH_CODE` | The installers sign in with this auth code instead of asking for one. | | `URNETWORK_CONNECT_EXTRA_ROOT_CA_FILE` | A PEM file of extra CA certificates to trust, for a network that inspects encrypted traffic. It must hold only CA certificates. | ## Glossary | Term | Meaning | | --- | --- | | Auth code | A one-time code from your operator account that signs a computer in to it. | | Operator | The network your miner provides internet exits for. The default is `bringyour.com`. | | Device (provider identity) | This computer as a miner: the identity in `~/.urnetwork` that stays the same across restarts and updates. | | Coldkey | Your Bittensor wallet, as an ss58 address starting with `5`. Rewards are paid to it. | | Hotkey | A second Bittensor key. Miners use one to sign in to every operator at once, and fleets to register in the head tier. | | Epoch | The period rewards are counted in. A settlement epoch is about seven days on mainnet. | | Pool | An operator's shared payout. Most miners earn from a pool. | | Head tier | Large fleets that register their own hotkey and earn miner emission directly. | | Relayer | An EVM key that pays the gas to submit a claim. It never receives the reward. | | α ($UR) | The subnet's token, which rewards are paid in. | | Momentum | The share of miner emission paid out now; the rest goes to the [Network Capacity Reserve](https://ur.xyz/reserve). | # How to run a validator Source: https://ur.xyz/docs/validator · Markdown: https://ur.xyz/docs-md/validator.md · Updated: 2026-11-18 The UR validator runs on **Bittensor SN25, netuid 25**. The current [`sn/validator`](https://github.com/urfoundation/sn/tree/main/validator) measures providers through `/verify` trails, retains signed evidence, and submits the resulting miner weights through native commit-reveal. One `validator` process performs both measurement and weight submission. Validators earn **native Bittensor dividends**. These are separate from the provider rewards claimed from UR's settlement vault. There is no `validator claim` command or validator effort bounty in release 1.0. The withdrawal procedure is below. This guide covers an SN25 validator. A **root validator on netuid 0** has separate registration, operation and basket claims; registering on root does not start UR validation. See the [miner guide](https://ur.xyz/docs/miner) and [network operator guide](https://ur.xyz/docs/operator) for the other UR roles. ## What do you need before you start? You need a Linux host, a funded Bittensor coldkey, a registered SN25 hotkey with a validator permit, and a provisioned schema-3 production configuration for the deployment you intend to join: - A Linux host, persistent storage, and continuous access to each configured operator's HTTPS API and WSS transport, plus the deployment's EVM HTTP(S) and native WS(S) RPC endpoints. The mainnet durable-volume checks require Linux even though the binary can also be built for macOS. - A Bittensor coldkey wallet with funds for registration, staking and transaction fees. Keep it on the machine used for wallet operations. The running validator needs its hotkey and per-operator client keys, not the coldkey. - A registered SN25 hotkey with enough stake weight to obtain a validator permit. Registration, the stake threshold and the number of permits are chain state, not fixed amounts in this guide. [Bittensor validator permits](https://www.bittensor.com/docs/guides/validating) explains how eligibility is determined. - A complete, independently approved **schema-3 production configuration**, its referenced runtime/policy approvals, and the activation and history files for every operator. Obtain these for your actual hotkey, deployment and host paths before starting the service. - Prepared state directories and a SHA-256-pinned durable-volume declaration for those directories. Mainnet startup requires this declaration and checks the real storage identity. The current production binary accepts a provisioned schema-3 deployment. Its `init --config`, `register`, `stake add`, `activate` and `status --config` commands still use the older preactivation loader, which rejects schema 3. They do not provide a self-service bootstrap for current mainnet. Use the native wallet steps below for registration and staking; provision mainnet evidence and approval inputs through the deployment's bootstrap process. Changing a schema number or copying a testnet configuration does not produce those inputs. This boundary is documented in [production runtime admission](https://github.com/urfoundation/sn/blob/main/mainnet/VALIDATOR-PRODUCTION-RUNTIME.md). ## 1. Get the validator Download a release build of the validator, or build it from source. ### Download a release The validator ships as `urnetwork-validator-.tar.gz` on the [build releases page](https://github.com/urnetwork/build/releases). The tarball holds one binary per platform at `//validator`, for Linux and macOS. A mainnet validator runs the Linux binary, `linux/amd64` or `linux/arm64` (see [Before you start](#what-do-you-need-before-you-start)): ```bash VERSION=2026.10.6-1065506180 # the latest tag on the releases page, without the leading v curl -fSsL -o urnetwork-validator.tar.gz \ "https://github.com/urnetwork/build/releases/download/v${VERSION}/urnetwork-validator-${VERSION}.tar.gz" tar -xzf urnetwork-validator.tar.gz install -d "$HOME/.local/bin" install -m 755 linux/amd64/validator "$HOME/.local/bin/validator" # choose your os/arch "$HOME/.local/bin/validator" --help ``` Add `$HOME/.local/bin` to your `PATH` for the commands below. Record the release version with the binary so a later deployment can reproduce it. ### Or build from source Build from the `sn` revision selected for your deployment. Use the Go version declared in [`sn/go.mod`](https://github.com/urfoundation/sn/blob/main/go.mod) and matching sibling checkouts for its local `replace` directives: `connect` (including `sctp`), `sdk`, `server`, `warp`, `proxy`, `userwireguard`, `glog`, `goidenticons` and `gvisor`. From the `sn` repository root: ```bash go build -trimpath -o ./bin/validator ./cli/validator install -d "$HOME/.local/bin" install -m 755 ./bin/validator "$HOME/.local/bin/validator" "$HOME/.local/bin/validator" --help ``` Add `$HOME/.local/bin` to your `PATH` for the commands below. The executable entry point is `cli/validator`; `validator/` is the importable implementation, so `go build ./validator` does not produce the service executable. Record the source revision with the binary so a later deployment can reproduce it. ## 2. Create the service keys Run key creation as the account that will own the validator's private files, after the host administrator has provisioned its storage. This example uses operators `1` and `2`; substitute the actual operator IDs and include every operator in your deployment configuration: ```bash umask 077 validator init --state_dir=/var/lib/ur-validator --no_id=1 --no_id=2 ``` This creates `/var/lib/ur-validator/hotkey.seed` and a `no-/client.key` for each operator, with mode `0600`. It prints the hotkey's SS58 address and public key, and each client key's public `vpk`. Existing seeds are reused. The hotkey is sr25519; the per-operator client keys are Ed25519. Keep the original keys with the original state across restarts, and back them up privately. Never share a client key or state directory across operators or validators. The state-directory form of `init` works before a production config exists. If you already operate the registered hotkey, provision its existing seed instead of generating a different identity. The hotkey seed file accepts 32 raw bytes or 64 hexadecimal characters, with an optional `0x` prefix. Keep the per-operator client seed files in their generated form. Do not pass seed material as a shell argument or place it in the YAML configuration. ## 3. Register and stake on SN25 On your **coldkey wallet machine**, install the current Bittensor CLI using its [official installation instructions](https://www.bittensor.com/docs/quickstart). The following examples use the current v11 command surface; check `btcli --version` and the [migration guide](https://www.bittensor.com/docs/migration) if your installation has older `--wallet.name` flags. Set the public hotkey address to the `hotkey ss58` printed by `validator init`, and select your existing coldkey wallet. These variables contain no secrets: ```bash VALIDATOR_WALLET='your-coldkey-wallet-name' VALIDATOR_HOTKEY='your-validator-hotkey-ss58' btcli -n finney query subnet-hyperparameters --netuid 25 --json btcli -n finney query metagraph --netuid 25 --json ``` Inspect current registration availability and cost before submitting. Preview [registration](https://www.bittensor.com/docs/tx/burned-register), then submit the same operation with confirmation: ```bash btcli -n finney -w "$VALIDATOR_WALLET" tx burned-register \ --netuid 25 --hotkey "$VALIDATOR_HOTKEY" --dry-run btcli -n finney -w "$VALIDATOR_WALLET" tx burned-register \ --netuid 25 --hotkey "$VALIDATOR_HOTKEY" ``` If the hotkey is already registered to the intended coldkey, keep that registration. Registration alone does not grant a validator permit. Choose the TAO amount to stake based on current eligibility and your available balance, leaving funds for fees. Enter that amount when prompted: ```bash read -r -p 'TAO amount to stake: ' VALIDATOR_STAKE_TAO btcli -n finney -w "$VALIDATOR_WALLET" tx add-stake \ --netuid 25 --hotkey "$VALIDATOR_HOTKEY" \ --amount-tao "$VALIDATOR_STAKE_TAO" --dry-run btcli -n finney -w "$VALIDATOR_WALLET" tx add-stake \ --netuid 25 --hotkey "$VALIDATOR_HOTKEY" \ --amount-tao "$VALIDATOR_STAKE_TAO" ``` [`add-stake`](https://www.bittensor.com/docs/tx/add-stake) converts TAO to SN25 alpha at the pool price. Review the preview's fees and price protection before confirming. Check the [metagraph](https://www.bittensor.com/docs/query/metagraph) again after finalization and permit assignment; your hotkey, owning coldkey, UID, stake and validator permit must match the production inputs. The SN binary also retains `validator register` and `validator stake add` for configurations admitted by its older loader. They default to dry runs until `--apply`, take a coldkey seed file, and express stake amounts in **rao**. They are not substitutes for the mainnet schema-3 setup described here. ## 4. Authenticate with every operator Use a separate account credential and client identity for each configured operator. For the reference operator, obtain an auth code at [ur.io/?auth](https://ur.io/?auth), then run: ```bash validator auth --api_url=https://api.bringyour.com install -m 600 "$HOME/.urnetwork/jwt" /var/lib/ur-validator/no-1/network.jwt ``` For another operator, use its actual API and login flow, then copy the newly issued token to that operator's directory. `validator auth -f --api_url=...` explicitly replaces the temporary `$HOME/.urnetwork/jwt`; `validator auth --user_auth=... --api_url=...` prompts for a password instead. `validator auth --operator=` finds the operator in the published [operator list](https://ur.xyz/operators.yml) instead of taking `--api_url`, and writes its token to `/operators//jwt`; the default state directory is `~/.urnetwork/validator`. That is where [measurement of every listed operator](#measure-every-listed-operator-without-weights) reads it. With `--hotkey_seed_file=`, `validator auth` signs in with the hotkey, as a TAO wallet, in place of an auth code or password. The production configuration reads only the `network_jwt_file` paths it names. Each operator configuration names `network_jwt_file`, `client_jwt_file` and `client_key_seed_file`. The client JWT is tied to the original client key and identity. A production configuration can explicitly authorize first registration with `allow_client_registration: true`; without that signed permission, provide the existing client credential. An unsupported registration API, missing login or identity mismatch can leave measurement waiting. Preserve the existing identity when recovering authentication. ## 5. Provision the production configuration and evidence Use the complete approved `release.yml`, not a hand-edited version of a signed configuration. The following is the input checklist for the current [`ReleaseConfig`](https://github.com/urfoundation/sn/blob/main/validator/config.go): | Input | What to provision | | --- | --- | | Production identity | `schema_version: 3`, `production: true`, `release: "1.0"`, the deployment's `deployment_id`, and your nonzero `validator_id`. | | Network and contracts | Mainnet `chain_id: 964`, `netuid: 25`, the actual `genesis_hash`, `coordinator`, `settlement_vault` and `deploy_block`. | | Runtime | Reviewed `runtime_spec`, `transaction_version`, `state_version`, `runtime_code_hash` and `runtime_metadata_hash`, plus the approval's finite native block/epoch windows and producer capability. | | Policy and scheduling | Complete `policy`, its matching `policy_hash`, `version_key`, `trail_depth` equal to the policy's trail depth, and `poll_seconds` from 1 to 60. | | Native economic approval | The deployment's independently signed `treasury_approval` or `owner_recycle_approval`, with the independent public signer and exact approval file path, byte length and SHA-256. The selectors are mutually exclusive. | | Connections | Explicit EVM `rpc` HTTP(S) endpoints and native `substrate` WS(S) endpoints. | | Private service files | `state_dir`, `hotkey_seed_file`, and the separate state and credentials for every operator. | | Operator directory | Each operator's `no_id`, `api_url`, `connect_url`, distinct `artifact_signer`, credential/key paths and `concurrency`. Include at least `policy.safety.minimum_healthy_no_count` operators. | | Independence | `controlled_no_ids` lists operators you control so their pools and associated head fleets are masked. | | Evidence | Full `evidence_v2` bounds and each operator's `activation`, `vpk_signature`, `hotkey_signature`, `context`, `history`, `replay_scratch_root` and `seal_scratch_root`. File references pin the path, bytes and SHA-256. | | Original request evidence | The deployment's `request_receipt_scope` and `request_preparation` for operators using the original request receipt flow, with their prepared storage. | | Renewal history | Any selected `production_runtime_approvals`, `production_authority_history` and capacity revision required to replay existing work under its original authority. | The current treasury production path and its approval format are described in [native treasury production](https://github.com/urfoundation/sn/blob/main/validator/TREASURY-PRODUCTION.md). Validators receive public treasury routing data; a treasury private key is not a validator prerequisite. Size the host for the approved evidence and history bounds and all configured trail workers. Per-operator `concurrency` must be between 1 and 128, stay within the policy's active-trail cap, and allow each worker to enter the rate-limited seed gate before the step timeout. Increasing concurrency or disk bounds in a signed configuration requires an approved replacement. Activation records bind each operator's client identity to your registered validator hotkey, with both signatures and finalized evidence-journal publication. Their context and history must cover the configured initial settlement boundary. The production service authenticates these inputs before it starts new work. An empty `evidence_v2.operators` entry is insufficient on mainnet. The older `validator activate --config=...` path cannot render these inputs from a schema-3 configuration. Keep paths stable when provisioning. Relative paths resolve against the config directory, and moving a config can change their meaning. A representative layout is: ```text /etc/ur-validator/ release.yml # complete approved production config durable-volumes.json # declaration for this host's actual storage approvals/ # referenced public approval/history files /var/lib/ur-validator/ hotkey.seed # private sr25519 seed state/ # durable intents and shared validator state no-1/ client.key # private Ed25519 seed network.jwt client.jwt ... # prepared operator evidence/state no-2/ # separate keys, JWTs and state evidence-v2/ # prepared, hash-pinned activation inputs scratch-v2/ # prepared replay and seal storage /var/lib/ur-validator-observation/ progress.json # created by the running validator ``` These are example paths, not a substitute for the paths in your approved bundle. Private files need protected ownership and permissions; protocol directories must use the prepared durable storage. Creating empty directories alone does not prepare attempt ledgers or replace their retained history. Put the progress file outside every protocol, key, credential and evidence directory, with an existing parent that is not writable by group or others. ## 6. Run and monitor the validator Set the durable declaration's **independently accepted SHA-256**; do not substitute a freshly computed hash to bypass a mismatch. Inspect the prepared directories before startup: ```bash VALIDATOR_VOLUMES_SHA256='sha256:replace-with-the-approved-64-hex-digit-digest' validator storage-inspect \ --durable-volumes=/etc/ur-validator/durable-volumes.json \ --durable-volumes-sha256="$VALIDATOR_VOLUMES_SHA256" \ --directory=/var/lib/ur-validator/state \ --directory=/var/lib/ur-validator/no-1 \ --directory=/var/lib/ur-validator/no-2 validator run --config=/etc/ur-validator/release.yml \ --durable-volumes=/etc/ur-validator/durable-volumes.json \ --durable-volumes-sha256="$VALIDATOR_VOLUMES_SHA256" \ --progress-file=/var/lib/ur-validator-observation/progress.json \ --operators-refresh=1h ``` The foreground command performs real validation and can submit weights once the approved conditions are met. Run exactly one process for each hotkey and state namespace. Use the same arguments under your deployment's service manager; retain the original journals and signed pending transactions on restart. Handle a custody or configuration refusal before restarting instead of deleting state or generating replacement keys. `--operators-refresh=1h` follows the published [operator list](https://ur.xyz/operators.yml), refetching it every hour, without changing what the validator signs or weights: only the operators pinned in the signed configuration are weighted, and the release runs exactly as it would without the flag. The list is cached as `operators.yml` in the configuration's `state_dir`. At startup and at each list change, the validator logs a drift report and writes it to `operators-report.json` beside that cache. The report shows each pinned operator, matched to the list by API URL, as listed or delisted with any connect URL mismatch, and each listed operator that the configuration does not pin. It is operational output; nothing reads it back. With `--operators-refresh`, `--operators-url=` follows another list, and `--observe-unpinned-operators` also measures each listed operator that the configuration does not pin, for observation only, under `observed-operators//` in the configuration's `state_dir`. Observation signs in and provisions with the configuration's `hotkey_seed_file`, and its results never reach weights, evidence or production state. Pinned operators keep their configured `network_jwt_file`; a missing one is reported and never created. Watch stderr and the bounded [progress record](https://github.com/urfoundation/sn/blob/main/mainnet/SERVICE-PROGRESS.md). Check several separate signals: - A recent `heartbeat_at` and `publisher.last_success_at` show process and publication activity. - `intent` records expose the prepared, finalized and applied transaction boundaries. A submitted or pending transaction is not yet an applied weight vector. - `settlement` shows the durable epoch cursor and outstanding publication work. - Operator authentication and trail diagnostics show whether measurement can progress for each operator. - Operator list drift is not in the progress record. With `--operators-refresh`, it is in the log and in `operators-report.json`. - Native metagraph reads show whether the hotkey still holds its UID and permit and is receiving dividends. An epoch wait can be normal; a fresh heartbeat alone does not establish successful validation. The current `validator status --config` rejects schema 3, so use the progress record, service logs and native chain reads for this production path. Without `--config`, `validator run` is a legacy measurement-only mode and never writes release weights. ### Measure every listed operator without weights `validator run --all-operators` measures every operator in the published operator list and never writes weights. Each operator has its own state under `/operators//`: the token `jwt`, the measurement key `.validator.key` and the client JWT `.validator.jwt`. The single-operator `/.validator.key` and `~/.urnetwork/jwt` are not used. ```bash validator run --all-operators --auto-register \ --hotkey_seed_file=/absolute/private/hotkey.seed ``` - `--auto-register` signs in with the hotkey, as a TAO wallet, where an operator has no token. It provisions a measurement identity only for a brand-new operator directory, and never recovers, adopts or replaces an existing identity. The seed file must already exist; it is never created. - Without `--auto-register`, an operator with no token logs `operator is awaiting auth: validator auth --operator=` and is checked again every five minutes. A directory with no measurement identity is refused and retried, and the log names the flags that provision it. - The list is cached as `/operators.yml` and refetched every hour, or every `--operators-refresh`, a Go duration of at least `1m`. `--operators-url=` follows another list. The last good copy stays in use while the list can't be fetched. - A newly listed operator starts, a delisted one stops with its state kept, and an operator whose URLs change restarts. A failed operator restarts after 30 seconds, doubling to 10 minutes, and never stops the others. ## 7. Collect validator rewards SN25 validator dividends accrue through Bittensor's native staking accounting. Your coldkey controls your own position; delegated stake and its rewards belong to the delegating coldkeys, subject to the validator's take. UR's coordinator and settlement vault do not custody validator dividends. `provider claim`, `snclaim submit` and the operator's payout Merkle proofs are for the miner/provider reward path. To take your available SN25 alpha back to **free TAO**, unstake the amount you choose from the actual hotkey holding that position. Use the coldkey wallet machine and the same public wallet variables from step 3. First inspect your positions and choose the amount in **alpha**, not TAO: ```bash btcli -n finney -w "$VALIDATOR_WALLET" stake list btcli -n finney -w "$VALIDATOR_WALLET" wallet balance read -r -p 'SN25 alpha amount to withdraw: ' VALIDATOR_WITHDRAW_ALPHA btcli -n finney query quote-unstake \ --netuid 25 --amount-alpha "$VALIDATOR_WITHDRAW_ALPHA" --json btcli -n finney -w "$VALIDATOR_WALLET" tx remove-stake \ --netuid 25 --hotkey "$VALIDATOR_HOTKEY" \ --amount-alpha "$VALIDATOR_WITHDRAW_ALPHA" --dry-run ``` The [quote](https://www.bittensor.com/docs/query/quote-unstake) estimates TAO output, fees and slippage. After checking the dry run and the remaining stake, submit with interactive confirmation: ```bash btcli -n finney -w "$VALIDATOR_WALLET" tx remove-stake \ --netuid 25 --hotkey "$VALIDATOR_HOTKEY" \ --amount-alpha "$VALIDATOR_WITHDRAW_ALPHA" btcli -n finney -w "$VALIDATOR_WALLET" stake list btcli -n finney -w "$VALIDATOR_WALLET" wallet balance ``` [`remove-stake`](https://www.bittensor.com/docs/tx/remove-stake) swaps available alpha into TAO and credits the signing coldkey's free balance. Check the finalized transaction result and updated balances. Your accumulated position contains principal as well as rewards: there is no separate SN25 “claim only my earnings” balance. Withdrawing stake can affect your permit; locks, collateral, fees and pool price protection can limit an operation. If your rewards have been directed to another staking hotkey, select that actual position. **Root rewards are different.** If you also stake on netuid 0, its basket yield has a separate native root-claim workflow before withdrawal. Follow [Bittensor's root staking and dividends instructions](https://www.bittensor.com/docs/guides/staking#root-stake-and-dividends). Do not use a root claim to collect ordinary SN25 alpha rewards. # How to become a network operator Source: https://ur.xyz/docs/operator · Markdown: https://ur.xyz/docs-md/operator.md · Updated: 2026-11-18 A network operator runs the servers of the UR privacy network: the API and Connect services that users and miners attach to, the `/verify` endpoint that validators walk, and the epoch pipeline that settles its miners' rewards on **Bittensor SN25 (netuid 25)**. An operator brings its own users and products (the [ur.io apps](https://ur.io/products) are one operator's), deposits α as a revenue-backed signal of real demand, and each settlement epoch commits the Merkle payout list that splits its pool among its miners. It reports the usage the split follows but never holds anyone else's α: the immutable settlement vault owns the pool and every miner claims from it directly. The [`server/cli/all/main.go`](https://github.com/urnetwork/server/blob/main/cli/all/main.go) entry point runs the API, Connect and the production taskworker together. You deploy one operator executable; PostgreSQL, Redis, artifact storage and public TLS ingress remain backing services. For the mechanism read the [litepaper](https://ur.xyz/docs/litepaper); for the other roles see [How to run a miner](https://ur.xyz/docs/miner) and [How to run a validator](https://ur.xyz/docs/validator). ## Who this is for Teams that want to run a network space: a deployment of the open-source server stack with its own domain, users, apps or integrations, and a miner community. In the launch phase operator admission is owner-gated (see [Initial period](#initial-period)), so the first step is a conversation with the subnet owner. ## What you need - **A Linux host and your domain.** The single binary serves the API (`api.`), Connect (`connect.`) and the full production taskworker. PostgreSQL stores accounts, usage, settlement and the durable task queue; Redis supplies shared coordination and caches; local durable artifact storage holds payout and evidence artifacts. Configure the integrations your operator offers, including extender gossip when using extenders. The optional Alt and Proxy frontends are separate server roles. - **Admission on the coordinator.** Operators are registered by the subnet owner with `registerOperator(noId, coldkey, poolHotkey, depositHotkey, depositSigner, rootSigner, effectiveEpoch, maximumBurnRao)`, an owner-only call that also has the settlement vault register your pool UID under the vault's own coldkey (the registration burn is paid from the call's value up to `maximumBurnRao`, with the unburned remainder refunded). Later role changes are scheduled future-effective with `scheduleOperator`. You supply the identities; the owner registers them and gives you your `no_id`. - **Keys and hotkeys.** An operator coldkey (ss58, prefix 42); a **pool hotkey** the vault registers as your pool UID; a **deposit hotkey**, unique to you, on which deposits are staged; and three EVM signers held by the server (hex-encoded secp256k1): the **deposit signer** (`deposit_key`, calls `deposit`), the **root signer** (`root_key`, closes epochs, commits payout roots and finalizes), and the **artifact signer** (`artifact_key`, signs payout artifacts; validators pin it as your `artifact_signer`). The signers need TAO on the Subtensor EVM for gas; the deposit hotkey needs α to deposit (none during the initial period). - **`/verify` server keys.** One or more Ed25519 keys in the `verify.yml` vault resource; the first signs new trails and all are published at `GET /verify/keys` so historical proofs verify across rotations. - **Egress probes.** The binary's taskworker runs durable probe shards configured by `config/main/provider_egress_probe.yml`, measuring what each miner's exit actually carries. - **A public stats feed** (`stats.json`) so the ur.xyz operators directory can list you. ## Step 1: build the single operator binary Use the current [`urnetwork/server`](https://github.com/urnetwork/server) source and the Go version and **exact sibling revisions** in its [source lock](https://github.com/urnetwork/server/blob/main/local/source-graph/lock.yml). The current lock uses Go 1.27.3. Its sibling checkouts are `connect`, `glog`, `sdk`, `proxy`, `goidenticons`, `userwireguard`, `warp`, `sn` and `gvisor`; `sn` comes from `urfoundation/sn`, and the others from `urnetwork`. Keep these beside `server`: `go.mod` uses relative replacements. Follow the repository's [canonical build instructions](https://github.com/urnetwork/server#canonical-build-sources) when preparing that source tree. From the `server` checkout: ```bash GOWORK=off GOTOOLCHAIN=local CGO_ENABLED=0 \ go build -mod=readonly -p 2 -o build/ur-operator ./cli/all ./build/ur-operator --help ``` Copy `build/ur-operator` to `/usr/local/bin/ur-operator` on the server. Keep the binary's source revision with your release record. Build each upgrade from the dependency revisions selected by that server revision. ## Step 2: create the Warp layout for main The executable uses the same resolver as the individual server services. `WARP_ENV=main` selects the **deployment environment**; `URNETWORK_ST_PROFILE=mainnet` separately selects the **chain profile**. This example runs the process as a dedicated `urnetwork` Unix user, with public HTTPS terminated by a reverse proxy on the same host. ```bash sudo useradd --system --home-dir /srv/warp --no-create-home \ --shell /usr/sbin/nologin urnetwork sudo install -d -o root -g urnetwork -m 0750 /srv/warp sudo install -d -o root -g urnetwork -m 0750 \ /srv/warp/config/main/mmdb /srv/warp/vault/main /srv/warp/site sudo install -d -o root -g urnetwork -m 0750 /etc/urnetwork ``` Use this layout. Names such as `pg.yml` are literal resource names; `<...>` values in the examples below must be replaced. ```text /usr/local/bin/ur-operator /etc/urnetwork/operator.env /etc/urnetwork/durable-volumes.json # external declaration for artifact storage /srv/urnetwork-data/ # separately mounted persistent filesystem operator-blob/ # preprovisioned artifact root operator-identity/ # external volume marker and root lease /srv/warp/ config/ main/ db.yml redis.yml tls.yml provider_egress_probe.yml sn.yml # reviewed earnings/activation declaration operator-gas-authority.yml # independently provisioned public approval mmdb/ geolite2.mmdb # real GeoLite2-City database places.yml # place export from the same database all/ # optional resources shared by environments vault/ main/ pg.yml redis.yml jwt.yml jwt-signing.pem password.yml client.yml verify.yml provider_egress.yml minio.yml st.yml auth.yml # OAuth configuration when offering OAuth oauth/ # OAuth's separate signing keys extender.yml # when offering extender/gossip services tls/ # when enabling Connect's native TLS transports connect.example.net/ connect.example.net.crt connect.example.net.key all/ # optional shared vault resources site/ settings.yml # host-specific routes/settings ``` Set vault files to `root:urnetwork` mode `0640` and vault directories to `0750`; use `umask 077` when generating secrets. Keep the operator's config and binaries readable but not writable by the service user. PostgreSQL, Redis and object storage need persistent data and backups independent of this resource tree. Without overrides the roots are `$WARP_HOME/{config,vault,site}`, and `WARP_HOME` defaults to `/srv/warp`. You may instead set `WARP_CONFIG_HOME`, `WARP_VAULT_HOME` and `WARP_SITE_HOME` to other roots. For each resource, the resolver tries direct files at the root, then `main/`, then `all/`; after those it searches version directories in descending semantic-version order. A root-level file therefore overrides the environment copy. A Warp container may mount the already-selected environment directly at a root. Use one layout consistently and avoid stale files at a higher-precedence location. Write `/etc/urnetwork/operator.env` as plain `NAME=value` assignments, without `export`, so both the shell and systemd can read it: ```dotenv WARP_HOME=/srv/warp WARP_ENV=main URNETWORK_ST_PROFILE=mainnet WARP_SERVICE=all WARP_BLOCK=operator-1 WARP_HOST=operator-1.example.net WARP_DOMAIN=example.net WARP_VERSION=2026.10.6 WARP_CONFIG_VERSION=2026.10.6 WARP_HOST_IPV4=127.0.0.1 WARP_PORTS=8080:8080,8081:8081,8082:8082,5080:5080 BY_LOG_LOGTOSTDERR=true ``` Replace the domain, host, binary version and configuration version with yours. `WARP_PORTS` is `service-port:host-port`, and includes **5080**, the first internal Connect exchange port. The three HTTP ports must be distinct. Keeping a host IP and an explicit port map also selects which optional native Connect listeners are enabled. Add contiguous internal mappings `5081:5081`, `5082:5082`, and so on when allocating more exchange ports. For this single-host loopback deployment, `/srv/warp/site/settings.yml` routes the advertised host back to its internal listener: ```yaml routes: operator-1.example.net: 127.0.0.1 ``` `config/main/settings.yml`, if present, supplies shared `all:` and host-specific settings, followed by `site/settings.yml` overrides. Keep secrets in the vault, not a `settings.yml` `env_vars` block: startup logs the merged settings. This example uses literal PostgreSQL/Redis/RPC authorities in vault files, so `BRINGYOUR_POSTGRES_HOSTNAME`, `BRINGYOUR_REDIS_HOSTNAME` and `BRINGYOUR_SUBTENSOR_HOSTNAME` are not needed. They are needed only if your resources explicitly interpolate them with `{{ env:NAME }}`. ## Step 3: set up PostgreSQL, Redis and artifact storage Install and start PostgreSQL and Redis as separate services; the server repository's local setup uses PostgreSQL 18 and Redis 8. On a host with PostgreSQL installed, create the operator's own database and owner role: ```bash sudo -u postgres createuser --pwprompt urnetwork sudo -u postgres createdb --owner=urnetwork --encoding=UTF8 \ --locale=en_US.UTF-8 --template=template0 urnetwork ``` Install the `en_US.UTF-8` locale first if the database host does not have it. Bind PostgreSQL to loopback, and permit password authentication for role `urnetwork` to database `urnetwork` from `127.0.0.1/32` in `pg_hba.conf` using `scram-sha-256`. The migration role must own the database/schema and be able to create and alter its tables and indexes. Use a generated hexadecimal password so it is safe in the connection URL constructed by this server. Create `/srv/warp/vault/main/pg.yml`: ```yaml authority: 127.0.0.1:5432 db: urnetwork user: urnetwork password: "" ``` Create `/srv/warp/config/main/db.yml`: ```yaml min_connections: 0 max_connections: 32 ``` The maintenance pool falls back to these resources. If adding PgBouncer, keep `pg.yml` pointed at the pooler and put the direct PostgreSQL connection in `vault/main/pg_maintenance.yml`; `config/main/db_maintenance.yml` can size that pool separately. Migrations and maintenance need the direct connection. Budget PostgreSQL's connection limit for both pools and any other clients. The current PostgreSQL client uses `sslmode=disable`, so keep this connection on loopback or a protected private transport. Configure Redis with persistence and a password. For a package-based Redis service, the relevant `redis.conf` settings are: ```conf bind 127.0.0.1 protected-mode yes appendonly yes maxmemory-policy noeviction requirepass ``` Restart Redis after installing the settings. Create `/srv/warp/vault/main/redis.yml`: ```yaml authority: 127.0.0.1:6379 password: "" cluster: false db: 0 ``` Create `/srv/warp/config/main/redis.yml`: ```yaml min_connections: 0 max_connections: 32 ``` These are separate files: the vault supplies the connection credentials and the config supplies pool sizes. A Redis cluster uses `cluster: true`; this guide uses a standalone instance dedicated to the operator. Neither backing service should be reachable from the public internet. ### Prepare local artifact storage The payout and evidence code uses the server's `BlobStore` interface. It supports local files; no cloud object-store account is required. The configuration resource is still named `minio.yml`, including for the local backend. Mount a persistent **separate filesystem** at `/srv/urnetwork-data`, using ext4, XFS or Btrfs, and arrange for it to mount before the service starts. A directory on the system root filesystem, tmpfs or a container overlay does not satisfy daemon storage admission. Size the filesystem for your artifact history and backups. For a **new, empty operator**, provision the artifact root and its independently retained identity declaration. The following example refuses to reuse existing roots, marker files or a declaration. Run it once as the host administrator after checking that this is the intended mounted volume: ```bash sudo python3 - <<'PY' import hashlib, json, os, pathlib, pwd, subprocess mount = pathlib.Path('/srv/urnetwork-data') root = mount / 'operator-blob' identity = mount / 'operator-identity' declaration = pathlib.Path('/etc/urnetwork/durable-volumes.json') account = pwd.getpwnam('urnetwork') if not os.path.ismount(mount) or mount.stat().st_dev == pathlib.Path('/').stat().st_dev: raise SystemExit('a separately mounted persistent filesystem is required') uuid, fs_type = subprocess.check_output( ['findmnt', '--noheadings', '--raw', '--output', 'UUID,FSTYPE', '--mountpoint', str(mount)], text=True).strip().split() if fs_type not in ('ext4', 'xfs', 'btrfs'): raise SystemExit('unsupported durable filesystem') if any(p.exists() for p in (root, identity, declaration)): raise SystemExit('existing storage requires its original declaration and recovery procedure') os.umask(0o077) root.mkdir(mode=0o700) os.chown(root, account.pw_uid, account.pw_gid) identity.mkdir(mode=0o750) os.chown(identity, 0, account.pw_gid) os.chmod(identity, 0o750) def digest(data): return 'sha256:' + hashlib.sha256(data).hexdigest() def protected_write(path, data): with path.open('xb') as f: f.write(data) f.flush() os.fsync(f.fileno()) os.chown(path, 0, account.pw_gid) os.chmod(path, 0o640) marker, lease, generation = os.urandom(32), os.urandom(32), os.urandom(32) protected_write(identity / 'marker', marker) protected_write(identity / 'blob-lease', lease) os.setxattr(root, 'user.urnetwork.durable-root-generation', generation, os.XATTR_CREATE) config = {'schema': 'urnetwork-durable-volumes-v2', 'volumes': [{ 'mount_path': str(mount), 'filesystem_uuid': uuid, 'filesystem_type': fs_type, 'marker_path': str(identity / 'marker'), 'marker_sha256': digest(marker), 'min_available_bytes': 1073741824, 'min_available_inodes': 10000, 'state_roots': [{'path': str(root), 'lease_path': str(identity / 'blob-lease'), 'lease_sha256': digest(lease), 'root_inode': root.stat().st_ino, 'generation_sha256': digest(generation)}]}]} encoded = (json.dumps(config, indent=2) + '\n').encode() protected_write(declaration, encoded) for directory in (root, identity, mount, declaration.parent): fd = os.open(directory, os.O_RDONLY | os.O_DIRECTORY) try: os.fsync(fd) finally: os.close(fd) print('declaration:', declaration) print('sha256:', digest(encoded)) PY ``` Record the emitted declaration path and `sha256:` digest, and configure `/srv/warp/vault/main/minio.yml`: ```yaml authority: local path: /srv/urnetwork-data/operator-blob prefix: blob max_bytes: 107374182400 durable_volumes: path: /etc/urnetwork/durable-volumes.json sha256: "sha256:" ``` The example allocates at most 100 GiB to blobs and refuses writes below 1 GiB or 10,000 free inodes; choose limits for your host. The declaration binds the filesystem UUID, marker, lease, root inode and 32-byte generation attribute. The service validates those existing objects and never creates a replacement root. Keep their ownership and ancestor directories protected from group/world writes. Preserve the original declaration and bytes on restart; a restore to another inode or filesystem requires an explicit storage migration, not rerunning this fresh setup over retained artifacts. This recipe provisions the operator's file store only; miner claim queues and validator journals have their own owner-state preparation. An absent `minio.yml` does not provide a filesystem fallback in `main`. Existing deployments can alternatively use the self-hosted MinIO backend supported by [`server/blob.go`](https://github.com/urnetwork/server/blob/main/blob.go), with `authority`, `tls`, `access_key`, `secret_key`, `bucket` and `prefix`. Keep artifact storage and the database together in your recovery plan: miners and validators must still be able to fetch the artifacts referenced by on-chain roots. ## Step 4: configure authentication and ingress Generate a dedicated P-256 JWT signing key into `vault/main/jwt-signing.pem`, for example with `openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out jwt-signing.pem`, then install it with the vault permissions above. Do this in a private directory under `umask 077`. Point `vault/main/jwt.yml` at it: ```yaml tls_key_paths: - jwt-signing.pem ``` The resource name is historical: this can be a dedicated signing key and does not have to be your public HTTPS certificate key. Keep previous JWT keys available during a rotation. Configure two separate random peppers: ```yaml # vault/main/password.yml password: pepper: "" ``` ```yaml # vault/main/client.yml client_ip_hash_pepper: "" ``` Install a current, licensed GeoLite2-City database at `config/main/mmdb/geolite2.mmdb` and its matching `places.yml`. The server's `cli/geolite2export` build tool generates the place list from that exact MMDB (`-mmdb -out `); generate it on the build/configuration host and ship both files. The tiny `local/testdata` database is a test fixture, not a production geography database. API and Connect warmup require a valid City database, and location seeding requires its place list. Create `config/main/tls.yml`, which Connect loads even when the deployment uses only WebSockets: ```yaml allowed_hosts: - connect.example.net ``` For the loopback port map above, configure your HTTPS reverse proxy as follows: | Public endpoint | Internal listener | Ingress requirement | | --- | --- | --- | | `https://api.example.net` | `http://127.0.0.1:8080` | forward the API routes and real client address | | `wss://connect.example.net` | `http://127.0.0.1:8081` | preserve WebSocket upgrades and long-lived connections | | worker status | `http://127.0.0.1:8082/status` | keep private for monitoring | | Connect exchange | TCP `127.0.0.1:5080` | internal only | Terminate TLS with certificates for your public names. The ingress must **overwrite `X-UR-Forwarded-For` with one real client `IP:port` pair**, using brackets around an IPv6 address. The [server's address resolver](https://github.com/urnetwork/server/blob/main/session/client_session.go) deliberately ignores standard `X-Forwarded-For`; `/verify` depends on observing the actual miner exit address. Only your trusted ingress should reach the internal listeners. Route `/verify`, `/sn/*`, and WebSocket traffic without authentication or buffering rules that interfere with their own protocols. This port map provides the WebSocket transport. Native HTTP/3 and DNS transports additionally need Connect port mappings for service UDP/443 and UDP/4053, the [Warp ingress forwarding convention](https://github.com/urnetwork/warp), and certificates under `vault/main/tls//.crt` and `.key`. Public DNS uses UDP/53, which ingress forwards to private UDP/4053; UDP/8053 is a compatibility listener enabled only when explicitly mapped. These listeners expect the production ingress's Proxy Protocol framing; opening a UDP port alone is insufficient. Keep each certificate and key pair in the same resource/version directory. The full API and worker also support product features such as OAuth, email, subscriptions and extenders. Provision their resources when offering those features; the binary does not generate integration credentials. OAuth uses `auth.yml` with its own issuer and **separate** OAuth signing keys, generated and rotated with Warp's OAuth tooling. See [server IDP configuration](https://github.com/urnetwork/server/blob/main/IDP.md). Do not use the JWT key as an OAuth signer. ### Configure the verification endpoint The `/verify` route needs no separate service: it is part of the API, and its statistics, proofs and keys are public routes on the same host: | Route | Purpose | | --- | --- | | `POST /verify` | the trail protocol (SEED, EXTEND, FINAL), authenticated by the protocol's own Ed25519 signatures, not a JWT | | `GET /verify/keys` | the server signing keys, current and historical | | `GET /verify/stats` | operator-observed rollups for audit and reconstruction (validators do not score from these) | | `GET /verify/proofs` | every signed, non-poison completed or expired trail | | `GET /key/` | a client's public Ed25519 key, unauthenticated | | `POST /sn/wallet`, `GET /sn/wallet` | a miner's claim coldkey | | `GET /sn/pool/claim` | a miner's Merkle proof for an epoch | | `GET /sn/epoch` | the mirrored contract clock (`epoch`, `start_block`, `commit_deadline_block`, `finalize_block`, `t_epoch_blocks`, `chain_id`, `contract_address`, `settlement_vault_address`, `no_id`, `netuid`, `rpc_url`) | | `GET /sn/artifact`, `GET /sn/artifacts` | signed payout artifacts by content hash and history | | `POST /sn/attempt-artifact`, `GET /sn/evidence`, `GET /sn/evidence/history` | validator evidence uploads and the published evidence index | Create the `verify.yml` vault resource (a peer of `jwt.yml`): ```yaml keys: - server_key_id: 0 seed: ``` `server_key_id` is one byte (0 to 255) carried in every ASSIGN and FINAL message; to rotate, add a new first entry and keep the old ones. Verification requires at least one key; check `GET /verify/keys` after startup. The `/verify` server enforces the invariant validators depend on: each eligible miner maps to exactly one exit IP and each exit IP to exactly one miner; a miner seen behind two exits is dropped from the eligible index until it is back to one. Seeds whose source address does not resolve to a miner, or that exceed the soft limits, are poisoned (walked to full depth but never published) so the endpoint cannot be used as an oracle for which addresses are miners; only the hard per-source limits in the policy (`hard_seed_per_minute_per_source`, `hard_extend_per_minute_per_source`, `hard_active_trails_per_source`) refuse requests outright. ## Step 5: configure the epoch pipeline The subtensor pipeline is configured by `vault/main/st.yml`. Without a valid, enabled resource the API and taskworker can run with the subnet subsystem disabled, so an HTTP health check alone does not establish that miners can earn or claim. Select mainnet with `URNETWORK_ST_PROFILE=mainnet` in the environment and `profile: mainnet` in the file. Testnet has a separate `testnet-...` namespace; it is not selected by `WARP_ENV` or by changing `profile` alone. Fields, from [`server/controller/st_controller.go`](https://github.com/urnetwork/server/blob/main/controller/st_controller.go): ```yaml profile: mainnet enabled: true # keep the unsigned POST /sn/wallet path closed; apps sign the challenge wallet_allow_unsigned: false public_rpc_url: https:// # published to clients via GET /sn/epoch rpc_urls: [https://] # or `authority`, resolved by server/st chain_id: 964 genesis_hash: "0x" deployment_id: ur-mainnet policy_hash: "0x" launch_readiness_sha256: "" coordinator_address: "0x" settlement_vault_address: "0x" reserve_sink_address: "0x" netuid: 25 no_id: treasury_hotkey: "0x<32-byte hotkey>" deposit_hotkey: "0x<32-byte hotkey>" deposit_key: "" # deposit signer root_key: "" # root signer: close, commit root, finalize artifact_key: "" # payout artifact signer deposit_tiers: # the signed policy's tier schedule, verbatim - min_conviction_rao: 0 rate_numerator_rao_per_gib: # rao per GiB of usage # rao per distinct user (omit or 0 when the policy prices bytes only) rate_numerator_rao_per_user: rate_denominator: 1 # the policy's zero_rate_action; equal_demand only while every rate is 0 deposit_zero_rate_action: halt deposit_epoch_cap_rao: # custody blast-radius cap per epoch reliability_a_min: 8 # the policy's reliability_a_min block_seconds: 12 deploy_block: ``` An enabled operator requires **three distinct** deposit, root and artifact keys. They must match the admitted operator identity. Missing or malformed `st.yml` is logged as a disabled subsystem; check that state explicitly after startup. `attempt_upload` and `reserved_attempt_upload` bound validator evidence uploads; `ops_key` and `contract_address` are legacy fields and should not be used for a new deployment. Mainnet activation also requires the reviewed `config/main/sn.yml` earnings declaration, including the selected chain/genesis, coordinator, settlement vault, policy and readiness receipt. Install it before the first `db migrate` in Step 6, which fixes this database's permanent earning boundary from it, and make sure its readiness digest matches `st.yml`'s `launch_readiness_sha256`. Obtain these deployment-specific values through operator admission and preserve the reviewed bytes. The server keeps post-cutoff usage separate from legacy obligations and refuses mainnet settlement when activation is blocked or the identities differ. Before any mainnet EVM publishing can succeed, install the independently signed `operator_gas_policy` in `st.yml` and its matching `config/main/operator-gas-authority.yml`. The approval binds the operator, deposit/root accounts, policy revision, validity window, transaction-history pins and gas/attempt limits. The [gas policy implementation](https://github.com/urnetwork/server/blob/main/st_operator_gas_policy.go) defines its schema. Funding a signer does not replace this approval, and the approver's private key does not belong on this host. The deposit tiers must be the signed policy's schedule: validators recompute your required deposit from the same formula and zero your pool when the observed deposit differs (see below). ## Step 6: migrate, initialize and run Install the probe resources in Step 7 before starting the worker. Use the same binary and environment for all three commands below. `db migrate` takes no options. It applies the server's complete PostgreSQL migration catalog; it does not create the PostgreSQL role or database. It then checks the provider earning boundary: one immutable database row holding the earning cutoff and mainnet chain identity from `sn.yml`, which decides which completed usage earns on SN25 and which finishes as legacy USDC. On a fresh database the first `db migrate` prepares the boundary from the installed `sn.yml` and prints `Prepared provider earning boundary:` with the cutoff, the identity and initial `sn.yml` digests and the preparation time. Every later run leaves the boundary unchanged without reading `sn.yml` and prints `Retained provider earning boundary:` with the same values, so an edited `sn.yml` never changes the boundary or fails a migration; workers hold new earning allocations and payout submissions while an edited earning identity differs from it. If `sn.yml` is missing or invalid before the boundary exists, the command reports that error after applying the migrations; correct the file and run it again. Preparing the boundary does not activate mainnet. **Review `sn.yml` before the first `db migrate` on a fresh database.** That run fixes the permanent earning boundary from the installed file with no digest check, and the boundary can never be changed afterwards. Every other earning field must equal its published value (schema, attribution and legacy policy, profile `mainnet`, chain 964, netuid 25), so `cutoff_utc` and `genesis_hash` are the values that must be right before that first run. Open a shell as the service user, then load the environment: ```bash sudo -u urnetwork bash set -a . /etc/urnetwork/operator.env set +a ur-operator db migrate ur-operator init-tasks ur-operator run --require-subnet ``` Complete each command successfully before running the next. `init-tasks` initializes recurring production tasks; normal startup also ensures their idempotent schedules exist. Ordinary `run` never applies database migrations. `--require-subnet` makes an absent, invalid or disabled `st.yml` a startup error, instead of silently starting a network without its subnet pipeline. The running worker executes maintenance, probes, verification and SN epoch tasks, plus configured retail/product work. Default listeners are API 8080, Connect 8081 and worker status 8082, with eight workers and batch size four. The corresponding options are `--api-port`, `--connect-port`, `--taskworker-port`, `--worker-count` and `--worker-batch-size`. When changing ports, update `WARP_PORTS` and the reverse proxy together. For optional Connect diagnostics, `--memory-owner-ledger` enables transfer-owner accounting. `--private-heap-profile-target` accepts `config` (the default), `disabled`, or an exact `host/block` scope. For operators using extenders, configure `vault/main/extender.yml` with the deployment's root/issuer keys and gossip identity, add `8083:8083` to `WARP_PORTS`, route `wss://gossip.example.net` to its listener, and add `--gossip-port=8083`. A nonempty `gossip_identity_key_hex` requires that listener: advertising gossip without running it leaves queued extender publications unconsumed. See the [extender deployment specification](https://github.com/urnetwork/connect/blob/main/EXTENDER.md). Alt and Proxy deployments continue to use their own frontends; they are not required to run the API/Connect operator described here. Once the foreground startup is healthy, stop it with Ctrl-C and leave the service-user shell. Install `/etc/systemd/system/ur-operator.service`: ```ini [Unit] Description=URnetwork operator After=network-online.target postgresql.service redis-server.service Wants=network-online.target RequiresMountsFor=/srv/urnetwork-data [Service] Type=simple User=urnetwork Group=urnetwork WorkingDirectory=/srv/warp EnvironmentFile=/etc/urnetwork/operator.env ExecStart=/usr/local/bin/ur-operator run --require-subnet Restart=on-failure RestartSec=5 TimeoutStopSec=180 UMask=0077 NoNewPrivileges=true [Install] WantedBy=multi-user.target ``` Adjust backing-service unit names for your distribution, and add the gossip argument if configured. Start the service: ```bash sudo systemctl daemon-reload sudo systemctl enable --now ur-operator sudo journalctl -u ur-operator -f ``` Check **each** service's readiness JSON. HTTP 200 by itself is insufficient; each `status` must be `ok`: ```bash for port in 8080 8081 8082; do curl --fail --silent --show-error "http://127.0.0.1:$port/status" \ | jq -e '.status == "ok"' || break done curl --fail --silent --show-error https://api.example.net/verify/keys curl --fail --silent --show-error https://api.example.net/sn/epoch ``` Confirm the public epoch response identifies your expected chain, contract, settlement vault and `no_id`, and that the worker is advancing its chain mirror. Readiness checks PostgreSQL's migration head and Redis before the services activate; it is not proof of completed operator admission, funded/approved publishing, or an available claim. If a check reports `error not ready`, resolve that cause and restart: readiness is latched at startup. For upgrades, back up the database and artifacts, deploy the reviewed resources, apply migrations explicitly, then restart the binary and check all listeners again. When enabled, gossip has no `/status` endpoint. Check its listener and startup logs separately: `[gossip]not ready` means its publication-queue drainer did not start, even if the mesh can receive messages. Resolve the backing-service error and restart before treating gossip publishing as ready. ## Step 7: run the prober Miners are placed and health-checked through tunnels pinned to each miner, never from the operator host's own network. The single binary's production worker runs durable probe shards; configure `config/main/provider_egress_probe.yml` with your own endpoints: ```yaml enabled: true shard_count: 4 api_url: https://api.example.net platform_url: wss://connect.example.net public_api_url: https://api.example.net url_probe: limit: 8 concurrency: 8 probe_timeout_seconds: 60 ``` Create `vault/main/provider_egress.yml` with `ingest_secret: ""`. Each live probe shard creates its own credential and credit at execution admission; the recurring `ProberBootstrap` task cleans up finished shard accounts after crashes. Re-run `ur-operator init-tasks` after changing the shard configuration. Current production probes use `url_probe`; the older `full` and `blackhole` task fields remain for compatibility. Monitor probe results and queue retries before admitting miners: an API that is reachable does not prove that miner egress is usable. ## Step 8: publish your stats feed and get listed The ur.xyz operators directory is the registry baked into the site at `web/ur.xyz/react/src/lib/network.js` (`NETWORK_OPERATORS`): an operator lists itself by adding an entry there by pull request with its name, site, app name, dashboard and GitHub URLs, its store listings, and its `statsUrl`. The site reads live totals from every listed feed in the visitor's browser, so the feed must be public JSON with exactly one `Access-Control-Allow-Origin` (`*` or a reflection that includes `https://ur.xyz`): ```json { "epoch": 1, "epoch_start": 1791569340, "epoch_end": 1792174140, "epoch_start_block": 9247228, "epoch_end_block": 9297628, "block": 1, "users": 125000, "data_gib": 812345.5, "total_networks": 250000, "staked_alpha": 250000.0, "demand_deposits_alpha": 1234.5, "miner_emissions_alpha": 5678.9, "alpha_usd": 1.75, "countries": 123, "prev_users": 118000, "prev_data_gib": 1012345.5, "prev_demand_deposits_alpha": 1100.5, "prev_miner_emissions_alpha": 5200.1 } ``` `epoch` is the current settlement epoch, `epoch_start` and `epoch_end` are its bounds in unix seconds, and `epoch_start_block` and `epoch_end_block` are its bounds in chain blocks: on mainnet, epoch n ≥ 1 runs from block 9,247,228 + (n − 1) × 50,400 for 50,400 blocks, and a bound the chain has not reached yet is projected at 12 seconds a block. The accumulators are for that epoch and `prev_*` for the one before (omit them when there is no finished epoch). `block` is a deprecated alias that equals `epoch`. The site reads a feed without `epoch` as the older form, whose windows were not settlement epochs: it then runs its own epoch clock and shows none of that feed's windowed figures. `alpha_usd` is the α price you observe (the site takes the mean across operators), and `countries` is informational. Missing fields parse as null, never as zero. ## What the server does every epoch Once `st.yml` is present the taskworker runs the pipeline on its own; nothing here needs an operator at the keyboard: 1. **`StSyncChain`** (every 5 s) mirrors the contract epoch clock into `st_epoch` and Redis (served at `GET /sn/epoch`), advances the finalized event mirror, backfills any epoch the worker slept through, and schedules the per-epoch tasks below at block-derived times. The contract clock is authoritative; every deadline is re-checked in blocks before a send. 2. **`StEpochClose(e)`** computes the payout leaves and root for a closed epoch and closes your pool on chain (`closeOperatorEpoch`, root signer), capturing the pool's realized emission into the vault. Each eligible miner (`usage_bytes > 0`, at least `reliability_a_min` assigned hops, at least one confirmation, a wallet, and not bound into a head fleet) gets `weight = usage_bytes × confirmations / max(assignments, reliability_a_min)`, aggregated per coldkey and allocated to exactly 10,000 basis points by largest remainder. The list is written as a signed, content-addressed payout artifact. 3. **`StCommitRoot(e)`** commits the root and the artifact hash (`commitOperatorRoot`, root signer) inside the root-commit window, retrying every 5 minutes, with an alert two hours before the deadline. 4. **`StDeposit(e)`** sizes and sends the epoch's deposit (`deposit`, deposit signer): it reads the previous epoch's signed payout artifact, takes its `total_usage_bytes` and `total_users` (the distinct top-level users with contract usage in the epoch, the same figure as your stats feed's `users`), reads your conviction before this epoch, selects the tier and computes `floor(usage_bytes × rate_numerator_rao_per_gib / (GiB × rate_denominator) + users × rate_numerator_rao_per_user / rate_denominator)` capped at `deposit_epoch_cap_rao`. Epoch 0 deposits nothing; a zero-sized deposit is skipped; a deposit already on chain for the epoch is skipped. While every configured rate is 0 (`deposit_zero_rate_action: equal_demand`, the initial period) the task records a skipped publish, sends no transaction, reserves no nonce and raises no alert; `bringyourctl st status` shows the sizing (bytes, users, tier, required deposit, or that the price is zero). The staged α is moved to the reserve hotkey and transferred into the immutable reserve sink: deposits are conviction stake and are never returned. 5. **`StFinalizePoke(e)`** calls the permissionless `finalizeOperatorEpoch` at or after the finalize block, fixing the entitlement (captured emission plus same-operator carry) so claims open. Every attempt is recorded (`AddStPublish`/`UpdateStPublish`) and publishing reconciles retained transactions against chain state across restarts. Normal operation uses the single `ur-operator` binary. For optional manual diagnostics and recovery, build the separate administrative client from the same server checkout and install it on the operator host: ```bash GOWORK=off GOTOOLCHAIN=local CGO_ENABLED=0 \ go build -mod=readonly -p 2 -o build/bringyourctl ./bringyourctl sudo install -o root -g root -m 0755 build/bringyourctl /usr/local/bin/bringyourctl ``` Run it as the service user with the same `/etc/urnetwork/operator.env` loaded. These are administrative subcommands of `bringyourctl`, not additional `ur-operator` subcommands: ```text bringyourctl st status [--epoch=] bringyourctl st deposit [--alpha_rao=] bringyourctl st commit --epoch= bringyourctl st finalize --epoch= ``` A manual `--alpha_rao` deposit is still bounded by `deposit_epoch_cap_rao`. Voluntary conviction (`addConviction`, the same one-way path, which raises your tier without counting as demand) has no server task; it is a transaction from your deposit signer. ## How is a network operator measured and paid? An operator's pool emission belongs to its miners, and the settlement vault pays the realized captured amount against the operator's root. Providers are paid **momentum**: the share of the native miner allocation used now to power the network, split between operator pools and head fleets. Momentum is 10% at launch. The [Network Capacity Reserve](https://ur.xyz/reserve), the `ur-reserve` 2-of-3 multisig, receives the rest: miner emissions × (1 − momentum). Its share is not fixed; it receives less as momentum grows. These are routing targets subject to native consensus and runtime behavior, not guaranteed fixed payouts. The native reserve is separate from the immutable deposit sink and the settlement vault's claim balances. See the [native reserve allocation](https://github.com/urfoundation/sn/blob/main/mainnet/TREASURY-EMISSIONS.md). Your operator revenue comes from your own business; the subnet pays miners for carrying that traffic. - **Pool weight.** Each tempo every validator weights your pool by `implied_demand × Q`: `implied_demand = bytes × rate0_gib / GiB + users × rate0_user`, your audited `total_usage_bytes` and `total_users` priced at the conviction-zero tier. Your own tier is the highest one whose `min_conviction_rao` your cumulative locked α (deposits plus voluntary conviction) meets, so below the per-epoch cap a committed operator posts less α for the same weight: the discount changes what you pay, not your weight. When the epoch cap truncates what you owe, it truncates your demand by the same factor, so at the cap a lower tier rate raises your weight. `Q` is the exposure-weighted quality of your pool miners as measured by that validator's own trails, clamped by the policy's `quality_transform`. Native Yuma computes consensus from validator weight rows under the active runtime's masking, clipping and normalization rules. While the published price is zero every pool's implied demand is exactly 1 (see [Initial period](#initial-period)). - **The deposit audit.** Validators do not trust your deposit sizing. With `usage_lag_epochs: 1` and `tier_snapshot: conviction_before_epoch`, each validator reads your committed root for the previous epoch, fetches the signed artifact from your API, checks its content hash, signer, finalized boundaries and root, recomputes the required deposit from `total_usage_bytes` and `total_users`, and requires the observed deposit to equal it exactly. `mismatch_action: zero_pool_weight`; a root or artifact still unavailable after the root-commit window is `zero_pool_weight_after_root_window`; the bootstrap epoch must carry a zero deposit. Deposits are also capped per operator per epoch by the policy. Under a zero-price policy no deposit is audited at all: the audit is recorded as `zero_price_no_deposit_required` and your pool is eligible whatever you voluntarily deposited. - **Head fleets.** Miners that bind into a top-level fleet are promoted out of your payout list for as long as the binding is live (`head_fleet_active`) and earn natively on their fleet's hotkey; they fall back into your pool from the epoch after the binding goes stale. - **Settlement.** A settlement epoch is 50,400 blocks (about 7 days) from epoch 1 (mainnet's epoch 0 was 7,200 blocks); the mainnet reference windows are a 1,200-block root-commit window (+4 h), finalization at 14,400 blocks (+48 h), and a claim horizon of 8 epochs plus 1 grace epoch, all fixed by the signed policy. Unclaimed and unallocated remainders, and a missed root's captured emission, carry to your own next epoch (`carry_same_operator`); nothing moves between operators. Claims are permissionless, no contract pause stops them, and a finalized entitlement cannot be rewritten by any upgrade or owner action; only the chain-level switch that disables stake transfers on SN25 can freeze them, and it cannot take or redirect any. From settlement v2's switch epoch your pool settles through vault2 instead: your miners' shares follow verified usage alone and accrue to accounts that never expire, and each root pays only after the validator approves it and a 14,400-block challenge window passes. ## What can go wrong - **A missed root.** If the root is not committed inside the window the epoch still finalizes, the captured emission carries to your next epoch, and validators zero your pool weight from the end of the window until an audit passes. Watch the T-2h alert. - **A deposit that does not match.** Any difference between your deposit and the validators' recomputation (a different tier table in `st.yml`, a manual `--alpha_rao` override, a cap that truncated the amount) zeroes the pool for the epoch. Keep `deposit_tiers` and `deposit_epoch_cap_rao` equal to the signed policy. - **A deposit below the runtime transfer floor.** The server preflights each deposit against the vault's immutable `minimumTransferTaoRao` at the current α price and refuses (without reserving a nonce) a usage-based amount whose reserve move is worth less than the floor; the outcome is recorded as failed for that epoch and is not retried. - **Too few operators.** The signed policy sets the minimum of healthy operators and live validators (one each in the SN25 policy, two each in the testnet policy); validators halt steering below it. - **Miners without wallets or exposure.** Miners missing a claim wallet or below `reliability_a_min` assigned hops get no leaf, and a miner seen behind more than one exit address is not assigned hops at all until it is back to one. The unsigned `POST /sn/wallet` path stays closed unless you set `wallet_allow_unsigned: true`; the apps sign the wallet challenge. - **An artifact your validators cannot fetch.** Validators fetch artifacts from your API by content hash. Keep the blob store and the `/sn/artifact` routes reachable; equivocation (two artifacts for one epoch) is an audit failure. ## Initial period At launch the published [price sheet](https://ur.xyz/price) is **0 α per GiB and 0 α per user**, and the signed mainnet policy carries that zero price explicitly: every tier's per-GiB and per-user rate is 0 and `zero_rate_action: equal_demand` is set. While the price is zero, operators make no demand deposits: none are required and none are audited. Copy the same schedule into `st.yml` with `deposit_zero_rate_action: equal_demand` (the server refuses an all-zero tier table without it, so a zero price can never happen by accident); `StDeposit` then owes nothing, sends no transaction and raises no alert, and `bringyourctl st status` reports that the price is zero. Validators give every registered operator pool the same implied demand (exactly 1), so the pool channel is split by their measured quality alone; a voluntary deposit or conviction lock (`addConviction` stays available and still raises your tier for later) neither helps nor hurts your pool. The head channel, the `theta` split, the quality clamp and the cede rule are unchanged, and your epoch pipeline otherwise runs exactly as above: the payout artifact (now also carrying `total_users`) and the root commitment are still required for your miners to claim. Operator admission is owner-gated at launch, so a new operator is registered on the coordinator by the subnet owner after review. This is a deliberate launch mode while bugs are flushed out of the network; watch the price sheet's RSS feed for the change that starts collecting deposits. # Funding network capacity for UR’s operator ecosystem Published 15 October 2026 at https://ur.xyz/investors/funding-network-capacity (PDF: https://ur.xyz/investors/ur-network-capacity-letter.pdf) 15 October 2026 ## Funding network capacity for UR’s operator ecosystem ### Introduction UR (SN25) aims to support Bittensor’s open source vision by building a marketplace for private connectivity: coordinating independent providers to build private network capacity that operators need to serve customers. ur.io is the first customer-facing example; the broader opportunity is infrastructure shared by multiple operators. Ultimately, our priority is to create a strong, reliable network that enables any operator to grow, and make private networking accessible for all. In this manner, operators bring products, customers and demand and our independent miners supply connectivity, where UR (SN25) coordinates incentives and verification to help useful supply develop. For UR: - Network operators, including ur.io, build services and bring customer demand. - Providers and fleets contribute the connections and routing capacity those services use. - SN25 incentivizes and verifies the underlying supply and usage of miners. This makes capacity investment an ecosystem strategy. We therefore should always be building and reinvesting to expand network needs and service outcomes across operators. ### Why retain emissions as working capital? We do not expect network capacity and customer demand to grow in perfect alignment. In conversations with operators, they seek evidence of reliable supply PRIOR to launching on the subnet. Take a new VPN operator that may have an existing product and customers: broader coverage or dependable availability in particular markets will be critical to support their growth. UR needs to coordinate those providers that can fulfil those requirements as quickly as possible. SN25 therefore uses excess emissions, meaning miner emissions beyond what goes directly to providers, to bootstrap miners and demonstrate network strength to attract new Network operators. As such we are launching the “Network Capacity Reserve”, which uses excess emissions to bridge that gap: - Commission capacity ahead of an operator’s expansion. - Improve coverage and reliability where existing supply is inadequate. - Respond to rising demand without relying only on that period’s emissions. - Keep strategically useful capacity available during quieter periods. - Release funds against verified delivery instead of distributing the entire budget immediately. The Network Capacity Reserve adds a way to fund that supply ahead of demand. In this model, emissions accumulate as working capital and are released against defined, verified commitments. To support this, we are launching a dashboard to help visualise capital allocation, showing reserve balances and published allocations, with commitments and payments reported as programs become active. Ultimately, each program should have a clear ROI for how excess capacity is being incentivised. ### Examples - When a new operator is ready to bring users onto UR, establish a capped provider incentive program for its required supply. Payments depend on working routes and sustained service, rather than simply registering an operator. - If ur.io or another operator needs additional exits in a target market, commission providers to maintain qualifying connections there. The existing fleet mechanism measures routable prefix breadth; geographic rewards would require additional location verification. - Offer temporary incentives when an operator’s usage rises beyond available supply. Payments specifically tied to throughput or delivered traffic would require stronger verification than the current routing checks. - Fund time-limited commitments to keep useful connections online between demand peaks, conditional on successful random verification. ### Reserve Operations - The reserve is a dedicated multisig, separate from owner emissions and not used for team or operating costs: 5CcHGEqKK3RXeEA2sVycHQAQGrqsyhWaYu9FjGtDVN6nwMwR (SN25 UIDs 170 and 250). - Publish objectives, eligibility, measurement and duration when excess miner rewards are used. - Reserve funds for accepted commitments and account for existing baseline rewards. - Verify delivery, publish the reward calculation, approve payments through the multisig and disclose every transfer out. - Keep unused funds available for future operator and network needs. ### Impact UR (SN25) as a network becomes more valuable as demand from operators increases, who buy and permanently lock the token to continue accessing the network. That is the intended connection: more bandwidth usage → larger required buys / deposits from NOs → potential market purchases → more demand of $SN25 The Network Capacity Reserve supports this directly: it incentivises providers to improve specific coverage, availability and capacity, helping us attract operators which serve more users, further accelerating growth. We look forward to sharing updates on this program. This material is provided for informational purposes only and does not constitute an offer, solicitation or investment advice. # September Letter to Tokenholders Published 25 September 2026 at https://ur.xyz/investors/letter-to-tokenholders-september-2026 (PDF: https://ur.xyz/investors/ur-letter-to-tokenholders-september-2026.pdf) 25 September 2026 ## Letter to Tokenholders To tokenholders of UR (SN25), We are almost ready to launch UR mainnet, with the next quarter focused on refining incentives and expanding usage of our protocol to replace the old internet as we know it. Our ambition is to make privacy a seamless function of the internet, available without requiring technical expertise or an unacceptable sacrifice in performance. Brien and I feel immense responsibility to deliver and commercialise frontier privacy technology, and we will not be able to achieve this without the people of Bittensor. Privacy has gone from the least fashionable corner of crypto to its best performing one in under twelve months, led by ZEC, XMR and various confidential AI and compute names. The thesis is actually very simple, and I like what A16z said in their privacy thesis: “privacy will be the most important moat in crypto…” Once a user commits to a private network, leaving it leaks the metadata that made them identifiable in the first place, so privacy produces lock-in. As we prepare to launch mainnet and bring new products to UR, the journey to onboard 1bn people has just begun. ### Design of SN25 Our entire objective for the subnet has been to carve out our supply side bandwidth network that we have built over the last ~2 years into a marketplace accessible to developers. Core to this idea are our Network Operators, a scalable franchise model in which each operator can leverage UR (SN25) as a public commodity, creating an ecosystem of entrepreneurs who contribute to the network’s reach and utilisation. As we prepare to launch mainnet, here are two priorities: - Expand supply and improve service quality: Our internal target is to grow the miner base approximately tenfold, from around ~100k today to 1mm. Through Bittensor incentives, we aim to broaden geographic coverage and attract providers with higher-quality bandwidth, improving connection reliability, speed and availability for users. - Validate the subnet through an initial fee-free period: Network Operators will operate without fees for an initial period, allowing us to test the subnet under real usage, evaluate miner and validator performance, and refine the incentive mechanism before introducing fees. In Jan 2026, Iran turned off access to the internet for its people. For those affected, reaching the internet meant retaining contact with family, accessing information and continuing their work. During that Jan period, we went from 100k lifetime sign ups to ~350k, and have recently hit 1mm downloads in September. Behind those numbers are real lives impacted by the technology Brien has created. Interestingly, that growth also exposed the demands placed on our own infrastructure. One Saturday morning, we discovered that the load on our servers had tripped the power in a data-centre cabinet: Users were depending on us, and our capacity had been pushed beyond its limits. The experience reinforced a practical obligation: we must build for the conditions in which our service is needed most. Which brings me back to Bittensor: expanding the network’s geographic reach and attracting dependable bandwidth providers are essential to serving users under pressure. As we extend UR into private identity and agent communications, we will carry forward the same standard: infrastructure earns trust by remaining useful and true to privacy value when people need it the most. ### Project Meridian Following the mainnet launch, our core product development focus will shift to our second Network Operator, Project Meridian, extending UR’s infrastructure to serve AI agents and the businesses deploying them. Our thesis is that, as agents take on more work, they will need secure and reliable ways to communicate, exchange code and connect to services. We intend to build products that meet those needs while bringing additional demand to SN25. Our first product under Meridian will be agent email hosted on the user’s private network; the proposed design would route messages sent to an address such as agent@mynetwork.ur.network directly to a mail server on that network. Users could operate their agents’ mailboxes on infrastructure they control, creating alternatives to centralized hosted email providers such as Gmail or Proton. We think that over time, agent identity persistence will be driven by email architecture, whereby they can communicate with other agents, humans and services via an email framework. If a business deploys agents for recurring operational work, such as procurement, scheduling or customer enquiries, the objective is to make workflows easier. Core features would need to be: - Let AI agents handle routine business correspondence - Give each agent its own inbox, defined permissions and reviewable activity - Keep sensitive stored messages and mailboxes within infrastructure under your control Our broader vision for Meridian is to help developers deploy AI agents faster and spend less time managing infrastructure. Beyond agent identity i.e. email, we plan to add encrypted code storage and private networking so agents can communicate, access code and connect to internal tools through one integrated service. A lightweight companion process, designed to run without administrator privileges, would make Meridian easier to add to existing deployments. For developers, the intended benefits are fewer integrations to build, less networking to configure and lower ongoing maintenance costs, while retaining control over their data and agent access. In this manner, we think that by accelerating the proliferation of agent capability, we can embed our world class proxy network for their agents too. ### The Mycelium Of The Private Internet Our long-term vision is for privacy to become an expected property of the internet. Our mission is simple: People should be able to communicate, build and transact securely without having to understand the infrastructure protecting them. Accessing and leveraging the internet is a human right, and where there may be gatekeepers who try to suppress access or collect tolls, we aim to stay true to these values. Brien likes using mycelium as a useful image of how such a network could grow: Beneath a forest floor, countless local connections form a vast structure that is largely invisible from above. UR’s ambition is similarly built from the bottom up: individuals contribute connectivity, independent operators develop services, and developers bring applications and users. Each participant has a practical reason to join, while contributing to infrastructure whose reach extends beyond any single participant. For the user, that infrastructure should quietly do its job: An agent should be able to receive a message at its own address, exchange private code and connect to another service without requiring its owner to configure a complex network. Achieving that simplicity requires considerable work underneath, particularly in routing, reliability and making services reachable across different environments. The internet’s adoption of encrypted web connections provides a useful precedent: encryption became part of everyday browsing as software made it routine. We see an opportunity to extend that expectation further, towards private identities and communications hosted on infrastructure users control. Much of today’s internet already encrypts information in transit; our ambition is to reduce the additional exposure and dependence that remain around who is communicating, how they connect and who holds their data. This will be the legacy of UR (SN25). With much love, Brien and Jack on behalf of team UR (SN25) This material is provided for informational purposes only and does not constitute an offer, solicitation or investment advice. # Our Letter to Bittensor Published 18 August 2026 at https://ur.xyz/investors/our-letter-to-bittensor (PDF: https://ur.xyz/investors/our-letter-to-bittensor.pdf) Dear friends in Bittensor, Today, I am very proud to be launching UR (SN25) with dear friends Brien Colwell and Keith Singery. Three months ago, in Stockholm, Brien and I came together to discuss the necessity of a free and open internet for all, a mission which Brien has singularly dedicated himself to for the last two years. Core to an open internet is the role of one’s IP address. Often overlooked, your IP address is your online identity; every site you visit sees your address, tying to your geographic location. Today, the internet we know organizes people by their address: prices, content, outright access, all decided by where your location. If you can be identified, you can be targeted; the tool for modern day tracking and oppression. On 8 January 2026, Iran shut down access to the global internet, preventing the flow of information and disrupting contact with many families. With much sadness, this was also a breakthrough month for URnetwork, whose VPN product ur.io, reached all-time-high MAUs, and provided a lifeline for users; One user in Tehran put it plainly: “This is the only VPN that works” Over the last two years, Brien has singlehandedly built a community of 80k+ network providers servicing 350k+ MAUs, implementing difficult technology (how do you matchmake IPs for optimal performance?); bootstrapping the supply and ensuring performance is exceedingly difficult as a technological primitive, something Tor, Nym and the major networks have not been able to achieve. * * * Across many sessions in Sweden in May, Brien spoke about his time early in his career at Palantir, building their Gov V1 platform, which contributed to this generation of surveillance and military technologies, lasting only 18 months before heading to NYU to study computational art. He talked about how he felt creating technology that thought the worst of humanity, and how we can instill optimism for what technology could do in empowering people, not belittling freedoms. It became abundantly clear to us that in order to build this open internet for humans (and agents too), we needed to scale this rotating fleet of residential exit nodes, and then to develop new applications which enables this unique form of internet access. Moving our network to Bittensor will involve turning our community of IP providers into a competitive live market, which we believe can deepen network density and raise IP quality: a stronger network, which makes the experience better for users and the open internet more accessible As we enter Bittensor, we want to share our progress and observations on our mission, ultimately with the goal of empowering all of you to join us in this mission for an open and free internet. ## UR Subnet To begin with, UR is a supply side marketplace for 80k+ IP providers: think about it as Airbnb for your bandwidth, list access nodes and get paid for it when it is used. For users, these are exit nodes: your traffic can leave through clean IP addresses, changing constantly; no single party holds both your identity and your destinations, which means the correlation that makes surveillance possible can never be assembled. In this manner, UR Subnet looks more like a telco owned by the people, covering the entire planet with nodes that can facilitate access to the internet. The more global the coverage, the more dominant it can be. On Bittensor, top IP miners will have their own UIDs, and long tail miners will be pooled under miner UIDs. Network Operators (“NOs”) run their own servers to host users, they are billed in SN25 for leveraging bandwidth from the subnet. Validators check traffic to verify real usage. A miner runs UR software on a phone, laptop, Raspberry Pi and lets strangers' traffic exit through their home connection. A Network Operator is the subnets demand side; they own the users, product, brand, billing and buy capacity from SN25 to facilitate their services. NOs are billed on two axes: (1) monthly active users served and (2) gigabytes moved per day, paid to the subnet in alpha. With our first Network Operator, ur.io, the residential fleet facilitates proxy access to the internet for many people around the world. Looking forward, we see a world where commercial buyers can leverage the global fleet to create legitimate origin (real person, real place) for variety of use cases including web crawl from residential fleet for model training, geofenced pricing intel i.e. airline pricing geofenced; aggregators buy IP to compare prices, agent access route thru exit nodes, overcomes anti-bot. I highly suggest you run our core technologies through an agent to understand what was required to get here, and why this technology is important for the world. Together, we think this design enables UR to create very natural network effects: better coverage → attracts more traffic → creates more revenue → makes the network more valuable to the next operator. * * * ## Fight for an open internet The truth is, modern VPNs do not serve large swaths of the world's population, merely facilitating Netflix catalogue optimisation for the first world. Since 2024, the mission of ur.io has been to create new technologies which could defend human rights in the face of oppressive regimes around the world, this is where there is real opportunity for change. Beyond human access, we project exponential demand for residential access on the back of AI Agents: agents webfetch on their user's behalf, labs need to gather the internet's data to train on; as agents proliferate for human progress, the opportunity will increasingly be targeted by incumbents. Take Cloudflare, who announced that starting in September, they will begin blocking crawlers by default and will begin charging for internet passage. A world where access to the internet becomes a scarce resource is a bastardly concept. * * * The truth is there are people in the world who don’t want the best for you and your family: they track you, collect your data, throttle your internet. No matter if a company or government agency, a world where the people are surveilled by their government, or pay taxes to a landlord of the internet is bastardly. Technology was used to create these problems, surely technology can be created to solve these problems. And herein lies our goal for Bittensor: to make progress towards an open and free internet together. To us, the people of Bittensor know what’s at stake for open source technologies, and we hope that UR and Subnet 25 can be a vehicle for our dream for the world. Finally, our deepest admiration to Keith for providing us the platform for this mission, without him and his enduring optimism for Bittensor, none of this would be possible. To our many friends who have deeply influenced this mission: Max from SCORE, Micaela from Nova, Ken from Bitmind, Michael White from Karis Capital, Gyles from TAO.com, your energy inspires us everyday. To Brien, it is an honour to help you chase this dream. Let’s go make the people proud. Jack Ai-Leung On behalf of the UR (SN25) team # UR team locks 550,000 alpha in perpetual conviction Published 9 September 2026 at https://ur.xyz/investors/conviction-lock (PDF: https://ur.xyz/investors/ur-conviction-lock-announcement.pdf) 9 September 2026 ## UR (SN25) management team locks 550,000 alpha under perpetual conviction, taking total locked alpha behind the subnet to 27.1 per cent of circulating supply ### Highlights - Team lock: 550,000 alpha, equivalent to 5,451 TAO or approximately US$1.44 million. - Lock term: Perpetual, carrying no unlock date and no vesting schedule, transparently verifiable onchain. - Holders lock: 323,519 alpha locked before the team's commitment and a further 291,974 alpha locked since. - Total locked: 1,165,493 alpha, approximately US$3.04 million and 27.1 per cent of circulating supply. - Rank: Second of 128 subnets by total alpha conviction locked on Bittensor. The management team of UR (SN25) has locked 550,000 alpha under Bittensor's conviction mechanism, approximately US$1.44 million at the spot price on 9 September 2026, under perpetual lock state. Outside holders had already locked 323,519 alpha behind UR (SN25) before the team committed, approximately US$844,000 and 7.5 per cent of circulating supply. A further 291,974 alpha has been locked by outside holders since. Together the total now stands at 1,165,493 alpha, roughly US$3.04 million and 27.1 per cent of all circulating SN25 alpha, which is the second largest total alpha locked behind any subnet on Bittensor. The management team has set the lock to perpetual to show conviction. The position becomes more valuable only if the network grows and the alpha accrues value. That is the same condition for every holder and validator on SN25. The team's incentives are aligned with everyone else holding and working on the subnet, because the only way this position gains is if the network does. ### Brien Colwell, Core Contributor, said: "We've been building UR for years because the current model doesn't work. Bittensor is a critical part that helps us achieve our vision with miners and the community powering our commodity. The network is for anyone to run a miner, become an operator and bring their products to use it. With our official transfer of SN25 ownership and locking in perpetual conviction, we want to show the community we are invested alongside them and aligned with the long-term growth and success of the subnet." ### Keith Singery, Advisor, said: "It gives me great pride to welcome UR to Bittensor, and have a team working on encryption and a private internet using Bittensor. Since 2022 I've dedicated myself to supporting the mission of open source via Bittensor, and since meeting Brien and Jack, this is a team that we have a clear aligned vision together on the future. I am excited that they are aligning with all token holders as they embark on this journey." ### About UR (SN25) UR (SN25) is an open-source, bandwidth marketplace for private internet access built on Bittensor. Today, UR (SN25) partners with over 80,000 network providers across more than 100 countries to carry traffic. UR is developed in the open by UR Foundation, with the protocol at github.com/urfoundation/sn. More at ur.xyz. BringYour is the first Network Operator, ur.io, running a consumer VPN serving more than 350,000 monthly active users. It is fully open source at github.com/urnetwork and is live on iOS, Android, Windows, macOS, Linux, Chrome and Firefox. This material is provided for informational purposes only and does not constitute an offer, solicitation or investment advice. All figures are as at 9 September 2026 and are subject to change. # Introduction to UR (SN25) (the investor deck) 21 August 2026, 11 slides, at https://ur.xyz/investors/deck (PDF: https://ur.xyz/investors/ur-investor-deck.pdf) How UR works, what is live today, the projects in research, and the opportunity for network operators to build on the subnet to compound demand. 1. **Introduction to SN25: Introduction to SN25.** An introduction to UR, Bittensor subnet 25, dated August 2026. 2. **Current State: UR enters Bittensor with a P2P privacy network that already exists today with mass distribution.** The network already has demand (350K+ monthly active users), supply (100K+ network providers), coverage (100+ countries) and distribution ($0 CAC): live consumer apps on iOS, Android, macOS and the browser, with Windows and Linux coming soon. It pays contributors for bandwidth, and the subnet turns routing capacity into a market scored by reliability, geography, uptime and real traffic served. 3. **The Mission: Big Internet centralises the path; open networks distribute it.** Big Internet runs on finite data-centre fleets, one company controls the path, known infrastructure can be enumerated or blocked, and the margin accrues to the platform. The UR internet draws residential capacity from independent operators, distributes routes across a broader supply base, has no single fixed fleet that defines the target, and measures and rewards useful reachability. 4. **Product & Research Pipeline: P2P encryption network is unlocking new research paths.** ur.io is the live product: 350K+ monthly actives whose usage creates network demand. Three research programmes build on the same subnet: Project Bastion (how do we unlock enterprise network connectivity?), Project Stargate (can one open index support model training and live retrieval?) and Project Meridian (how do we create dedicated identity for agents?). The subnet is the shared provider and validation layer, 100K+ residential providers in 100+ countries, and supports them all through quality scoring and an incentive market. 5. **Subnet Design: Validators measure performance before emissions reach miner UIDs.** Users use the app and the network operator (ur.io, for example) pays in SN25. Validators test uptime, transfer and proof-of-transit before emissions reach miner UIDs: about 200 top miners own UIDs, and about 100K long-tail miners, the residential IP providers, take part through pools. Chain emissions, in alpha net of burn, pay the miner UIDs. 6. **Demand expansion: UR will create an ecosystem of network operators.** Live today: ur.io, a consumer VPN with 350K+ MAU. In the research pipeline: Project Bastion (enterprise access), Project Stargate (an open web index) and Project Meridian (a corporate mesh). Areas of interest: a competing VPN, an agent-infrastructure startup, a data business, or something not yet imagined. UR (SN25) is one settlement layer, billed on MAU × GB/day and paid in alpha: operators acquire SN25 to use the network, miners are paid SN25 on real usage, and a denser network attracts the next operator. 7. **Value Accrual: The same UR miner fleet can scale network operators asymmetrically.** One operator (ur.io today), three (with Projects Meridian and Stargate) or N (with third parties and new companies) all run on an identical 100K-node miner fleet, so SN25 bought scales 1× → 3× → N×. The more users and data network operators drive, the more valuable the network, and the same fleet monetises idle supply. 8. **Request for Operators: Multiple businesses ready to be built on UR.** Six example starting briefs, placed by users served and data moved per customer, each with a Web2 comparable: a white-label VPN (Mozilla VPN, 2M subscribers), encrypted business mail (Proton, $134M revenue), the agent access layer (Browserbase, $300M valuation), AI answer visibility (Profound, $1B valuation), ad verification (DoubleVerify, ~$1.7B public) and private LLM search (DuckDuckGo, $200M revenue). The network fee is MAU × price per user plus GB × price per GB. 9. **Our Goal: Bittensor can scale UR from regional depth to global density, targeting 1B+ users.** Open competition creates an incentive to deepen the provider supply market. Before: real density in the US and Southeast Asia, funded entirely by UR, with a practical ceiling of about 1M monthly actives before capacity per country runs out. After: that depth in every market, the subnet paying for coverage so density compounds market by market, and an addressable population of about 1B once density is no longer the binding constraint. 10. **Why Bittensor: Bandwidth is Bittensor’s next major commodity.** Bittensor already runs commodity markets for compute (Lium, SN51), storage (Hippius, SN75) and inference (Engy, SN53, verified frontier open models). Bandwidth is the supply gap, and the UR Subnet (SN25), a peer-to-peer encryption network, is next. 11. **Web2 Comparables: Enterprise and consumer privacy are multi-billion dollar markets.** Consumer privacy: Proton VPN ($134M revenue), NordVPN ($3B valuation) and DuckDuckGo ($200M revenue), which grew from encrypted email, VPN-led distribution and private search. Enterprise privacy: Zscaler ($3.36B ARR, 25% YoY growth), Cloudflare ($2.81B revenue, 30% YoY growth) and Tailscale ($1.5B valuation), which replaced perimeter VPNs with zero trust, extended network infrastructure into private access, and turned developer-led mesh networking into enterprise demand.