Your owner key

A LoRA you train over the network's model is yours: the coordinator records the NEAR account that signed the run, and only that account deploys the LoRA and chats with it.

The key, in two forms

  • A near-cli credentials file, ~/.near-credentials/<network>/<account>.json, passed as --near-credentials <file>. Its private_key is ed25519:<base58>: 64 bytes, the seed and its public key.
  • The environment: HOLONEAR_OWNER_ACCOUNT, HOLONEAR_OWNER_PUBKEY (ed25519:<base58>) and HOLONEAR_OWNER_SECRET, in the same ed25519:<base58> form as the file's private_key. A bare 32-byte hex seed is accepted there only with HOLONEAR_OWNER_SECRET_HEX=1.

A coordinator that verifies owners refuses a LoRA run over its model that carries no signature (owner_required).

Train

Terminal
holonear train --url wss://coordinator.holonear.app --near-credentials ~/.near-credentials/mainnet/you.near.json …

Against a coordinator that holds an imported model, the run always trains a LoRA over it; --lora-rank and --lora-alpha set its shape (8 and 16 by default). Each save prints its handle, near://<job>/adapters/<name>.

Deploy

Terminal
holonear serve near://<job>/adapters/<name> --to https://coordinator.holonear.app --near-credentials ~/.near-credentials/mainnet/you.near.json

It prints the model to chat with, <base>#<id>, and a ready holonear chat command. When no serving node has room for it right now, it is deployed all the same and starts on first use. An account holds eight LoRAs per model at once; deploying a newer save of one replaces it in place, and a deploy past eight is refused with your LoRAs listed. A version swap ends your own requests in flight on that LoRA.

Chat

Terminal
holonear chat --api https://coordinator.holonear.app --model <base>#<id> --near-credentials ~/.near-credentials/mainnet/you.near.json

Signed in, the dashboard's Chat tab lists your LoRAs by their save's name. From an SDK, send your sign-in's access token as the bearer. An API key never selects a private LoRA: to anyone but you, your LoRA answers as a missing model, adapter_not_found.

A LoRA that no node holds right now starts on its first message, which can take up to a minute; see Use the network. Signed in, /v1/models tells you alone whether it is loaded: ready: true when a node serves it now, ready: false when its first message loads it.

Undeploy

Terminal
holonear serve --undeploy <base>#<id> --to https://coordinator.holonear.app --near-credentials ~/.near-credentials/mainnet/you.near.json

It frees the slot for your next LoRA.

Publish

To serve your LoRA to everyone as <base>#<name>, see Publish a LoRA.

The desktop app trains as its own account by default. To train, deploy, publish and chat as your wallet's account instead, press Link to my wallet on its Account tab: your browser opens this dashboard's /link-app page, your wallet approves once (the wallet must be in a browser on the same Mac), and the app asks you to confirm in its own window, showing the same code. The LoRAs it trains from then on are listed here, under your account, and chat here.

  • A link lasts 90 days; the app offers a renewal before it ends.
  • Your wallet approves a spending cap with the link: the most the app may spend of your account's balance, $0 to $1,000 ($20 is offered first). Once the app has spent it, its requests are refused until you renew the link from the app with a new cap. Account → Linked apps shows what each app spent of its cap.
  • LoRAs the app trained before the link stay on its own account. Earnings stay on the app's account too.
  • While linked, the app signs in only to HoloNear's coordinator, and it cannot release a public name: release one here, under Account → Release a name.
  • Unlink from the app, or here under Account → Linked apps. A fine-tune that is running finishes; nothing else the app does as your account goes on.