Run a node

A provider node contributes your hardware to a mesh. It keeps a persistent identity and reconnects on its own across drops.

Desktop app

The all-in-one option: a native menu-bar app that runs your node from a single toggle and bundles the holonear CLI — no terminal or prior setup needed. The Install holonear CLI button on the app's My Node tab exposes that same CLI to your shell when you want it, so it's a full alternative to the one-line installer below.

TODO · v1

Signed and notarized installers; then remove this block.

The installers aren't code-signed yet. On macOS, open the app once; when macOS blocks it, go to System Settings → Privacy & Security and click Open Anyway.

TODO · v1

The app's PATH button makes holonear work in a new terminal, with no manual step.

On macOS that button links the CLI into /usr/local/bin when it can write there, and otherwise into ~/.local/bin, which a new Mac does not have on its PATH. If a new terminal answers command not found: holonear, add the folder and open a new terminal:

Terminal
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc

On first launch and first Connect, the app sets things up for you:

  • It creates a NEAR account for you (a 64-character id, shown under Account), keeps its key in the system keychain, and sets it as the node's payout account.
  • On every Connect it signs the node's owner-proof with that key, so the node's work counts for the account from its first job, before the account holds any NEAR. The same key signs you in under Account.
  • It looks up your city from your IP address (through the ipapi.co service) and shows it on the public fleet map. Change it under Settings → Node.
  • holonear node status in a terminal does not see the node the app runs; the app shows its own status in the top-right corner.

Your account and its key

The account the app creates is yours alone. Its key is kept in this Mac's keychain: HoloNear never has it, and there is no recovery phrase. The app shows it only when you ask, after Touch ID or your login password, once per request. The app signs with it for you when it links the node, stakes and sends.

  • Lose or wipe this Mac without a backup of its key and the account goes with it, balance and deposit included.
  • So keep little on it: once payouts start, send them on to your exchange or wallet regularly, with Send under Account → Get paid.
TODO · v1

Back up the app account's key, behind Touch ID.

Back up the key with Back up key under Account: after Touch ID or your login password, the app shows it once, as a NEAR credentials file (account id, public key and private key). Keep it where only you can open it.

To bring the account to another Mac, or back after a wipe, paste that file into Restore from a backup under Account. The app names both accounts before it replaces this Mac's, checks the key against the account the file names (and on chain, when the network names a chain), and asks for Touch ID or your login password. The restored account signs in only to HoloNear's coordinator until you unlink it under Your wallet's account and that coordinator confirms the unlink. Use a key on one Mac only: on the old Mac, quit HoloNear and do not run that account there.

TODO · v1

Switch the app to another NEAR account.

Restore from a backup takes an account with a 64-character id, such as the one the app created, from its NEAR credentials file. You cannot switch the app to a named account, such as one you already own.

Install the CLI

The holonear CLI is the single entrypoint. On a Mac with Apple Silicon and macOS 15 or later, install the prebuilt build with one line:

Terminal
curl -fsSL https://apps.holonear.app/dl/install.sh | sh

It puts two files in ~/.holonear/bin: holonear and mlx.metallib, the Metal kernel library the node loads from beside the binary. It adds that folder to your PATH in your shell's login profile (~/.zprofile for zsh), so open a new terminal, then check with holonear --version. A build that prints its protocol (holonear 0.0.1 (protocol N)) must match the pool's; an earlier build prints only holonear 0.0.1. Run the installer again to update; a running node keeps the old build until holonear node down and holonear node up.

Before it installs anything, the installer makes two checks and stops if either fails. The download must match the checksum the installer carries. They come from the same host, so that only catches a corrupted download. And the binary must be on the network's on-chain list of approved builds, the list the pool admits nodes against, so a host that serves another binary cannot pass that check. A host that serves another installer can leave the check out, though, and it covers the binary, not the kernel library. Neither file is signed with a Developer ID or notarized yet. Since a node runs with your keys and stake, read the script before you run it:

Terminal
curl -fsSL https://apps.holonear.app/dl/install.sh -o holonear-install.sh
less holonear-install.sh   # read it, then:
sh holonear-install.sh
TODO · v1

A working CLI install for everyone: an installer URL, npm or pip.

The CLI is not published on npm or PyPI yet.

The published build is for Apple Silicon and runs on the MLX (Apple Metal) backend.

The node also has a CPU backend and a single-GPU NVIDIA CUDA backend, but builds for Linux and NVIDIA GPUs are not part of this release: none is published.

Join the pool

Load your owner-proof (see below) before the first start. A node without one is not refused: it joins and runs, but its work credits no account. No stake is needed to join. While the network runs genesis-points-only, a node linked to your account earns Genesis Points for its training work, and nothing is paid on chain, staked or not (see Nothing is paid during Genesis). Then point the node at the public pool and name your NEAR account:

Terminal
holonear node run \
  --coordinator wss://coordinator.holonear.app \
  --payout your-account.testnet \
  --city "Singapore"

node run stays in the foreground: stop it with Ctrl-C, and it hands its work back to the coordinator before exiting. holonear node status and holonear node down only see a node started with holonear node up.

Common flags:

  • --payout — your NEAR account name (also reads HOLONEAR_NEAR_PAYOUT). On its own it credits nothing; see below.
  • --free-mem-gb — free unified memory to advertise; the scheduler uses it to size the shard it gives you. Advertise more than the model's per-stage footprint or you won't be assigned.
  • --city / --chip — self-declared labels for the fleet map (the chip auto-detects if omitted).
  • --attestation — how the node attests the build it runs. Unset, the node asks the pool: the public pool is set to register each device on chain, so the node picks self-provisioned, which mints a signing key and its own root on first run and keeps them in ~/.holonear/node/attestation/. The key gives the node a stable identity, but it is an ordinary file: it proves neither which Mac holds it nor which build uses it. The pool admits the node when the build it names is a released one. During Genesis the pool registers no device yet. stub is an unsigned report with no device identity: the pool admits it, too, when the build it names is a released one (after Genesis, only if your account already has a registered device), and can never register it. A node that cannot read the pool's policy picks self-provisioned against a remote wss:// pool, the public one included, and stub against a coordinator on this machine or a plain ws:// one; it reads the policy again if the pool refuses its attestation or its build. A node that cannot set up its key falls back to stub. bundle:<dir> loads a signing key and its certificate chain from files in that directory and earns the top trust tier only against a coordinator that pins the chain's root. Its key is an ordinary file, so it is not the Apple MDA path; that is secure-enclave, in builds with that feature, which released builds do not have.
Run unattended
Pass --skip-input to onboard from a single command with no prompts — every input also has an HOLONEAR_* env fallback, so the node comes up under systemd or in a container without a TTY.

Network

The node only makes outbound connections, so it works behind a home router with no open ports. It connects over TCP port 443 to:

  • coordinator.holonear.app — the HoloNear coordinator;
  • euc1-1.relay.n0.iroh.link and dns.iroh.link — public relay and discovery servers of the iroh network, run by n0, which it uses to reach other nodes.

It also uses UDP to connect to other nodes directly when your network allows it.

Disk space

Your node keeps the public base model it serves on your disk, in ~/.holonear/artifacts ($HOLONEAR_HOME/artifacts when that is set), so a restart does not download it again. While it downloads a model, it stages the model's chunks in ~/.holonear/staging and deletes them once the model is built. When it loads another model, it deletes the ones it no longer serves. Private weights, such as a LoRA, stay in its memory and never reach its disk unencrypted.

A download cut short by a force quit or a crash leaves the chunks it finished in ~/.holonear/staging, and the node's next download of that model fetches only the rest.

Show up on the leaderboard

Contribution always accrues to your node, but the public leaderboard attributes it to a proven NEAR account. To prove it, the node presents an owner-proof: a NEP-413 signature made with a full-access key of that account, which the coordinator checks on chain. Once verified, your contribution rolls up under your account name. See Genesis Points.

Terminal
holonear node owner-proof --near-credentials ~/.near-credentials/testnet/your-account.testnet.json \
  >> ~/.holonear/node/owner.env
set -a && . ~/.holonear/node/owner.env && set +a

Signs the proof with a full-access key from your near-cli credentials file, binding this machine's node identity to the account; the key never leaves your machine. Load the printed HOLONEAR_OWNER_* lines into the environment of every later holonear node run or holonear node up. Without them the node still joins and runs, but its work credits no account.

No credentials file? Sign the same proof with your wallet on your Account screen — under Link a node to this account, paste the identity line holonear node status prints. It returns the same three HOLONEAR_OWNER_* lines to load the same way; nothing is sent on chain and no key leaves your wallet.