The onboarding self-check
Open Sell (/providers/onboard) in the app. It walks through six steps and ends with a self-check that tests your real gateway from your browser. Nothing you type there leaves the page except the check requests themselves, and the page only ever asks for public keys.
The six steps
| Step | What you enter | What it produces |
|---|---|---|
| 1. Install gateway | Model server URL and served model name, gateway port, Solana RPC URL; Bun or Docker | The vllm serve command, the gateway start command, and key-generation commands |
| 2. Model and serving stack | Family, weights revision, quantization, engine and version, GPU and count, max concurrency, public gateway origin, regions, ZDR | The model identity and policy |
| 3. Price schedule | Four rates in USDC per million tokens (up to 6 decimals), fee and minimum Hold in µUSDC, first-token limit in ms | The schedule, with a live charge preview and a comparison against listed routes |
| 4. Payout and keys | Payout token account, seller ID (listing public key), optional settler and receipt public keys, key epoch | The keys section of the config |
| 5. Publish listing | Nothing new | gateway.json, an unsigned preview of the listing, and the derived model_identity_id, schedule_digest and route_id |
| 6. Self-check | Optionally, pasted curl output | Five checks and the readiness ladder |
The derived IDs are computed with the same @im/protocol functions buyers and indexers use, so they match what your gateway will publish byte for byte. The route nonce is generated in the browser; regenerate it only before publishing.
The generated config writes the ledger to data/ledger.jsonl. Despite the extension, the gateway opens that path as a SQLite database; the name is cosmetic.
The five checks
| Check | Question it answers | Passes when |
|---|---|---|
| Listing fetch | Is there a listing envelope to check? | /.well-known/inference-marketplace.json returns {doc, sig, key} with v: 1, a seller_id and at least one route. |
| Signature and digests | Does this exact listing verify under your seller key and match your draft? | The signature verifies under the seller ID from step 4; seller_id equals the signing key; receipt_keys is well formed and binds the route's key_epoch to its receipt_key; model_identity_id, schedule_digest and route_id recompute; identity, schedule (ignoring effective_from), policy, payout account, nonce, key epoch and any declared settler or receipt key equal your draft. |
| Capacity endpoint | Is a signed, fresh capacity report served for this route? | A report for the route verifies under the listing key, is less than 120 s old and not from the future, has consistent counts, and does not advertise more than the listed max_concurrency. Over 90 s old is a warning. |
| Unpaid test probe | Does the gateway refuse a request that carries no payment Hold? | POST /v1/chat/completions without a Hold returns 402 with malformed_hold. A 2xx fails: your public URL reaches a model server directly. |
| Indexer discovery | Does the pinned live indexer return and attest to this exact seller route? | The indexer's signed response verifies under its pinned key, and its copy of your listing and route equals what your gateway serves. |
Each later check is blocked until the one it depends on passes: a listing that fails to verify blocks capacity, probe and discovery.
The readiness ladder
| Rung | Evidence required |
|---|---|
| Preview | None: generated from your answers. |
| Published | The listing fetched from your public gateway verifies under your seller key and matches this route. |
| Verified | That listing plus a fresh signed capacity report from the same gateway. |
| Discoverable | A verified response for this exact route from the pinned live indexer. |
Each rung is a separate claim with its own evidence. A pass is evidence at one moment only: capacity is fresh for 120 s.
Running it against your gateway
Live checks run in your browser, send no credentials, follow no redirects and give up after 8 seconds or 256 KiB. The probe carries no payment, so it cannot spend anything. Private-network origins (loopback, RFC 1918, link-local, .local, dotless hosts) are never contacted unless you switch on local development in step 2.
The reference gateway sends no CORS headers, so a browser on the marketplace origin usually cannot read your gateway's responses. Two ways around it:
Paste mode. Run these from any machine that can reach the gateway and paste each output into the matching box:
curl -s https://gpu.example.com/.well-known/inference-marketplace.json curl -s https://gpu.example.com/im/v1/capacity curl -si -X POST https://gpu.example.com/v1/chat/completions -H 'content-type: application/json' -d '{"model":"YOUR_MODEL","messages":[{"role":"user","content":"ping"}],"max_tokens":1}'Pasted signatures and timestamps are verified locally, but a valid paste does not prove your gateway serves that output now, and pasted probe text is unsigned.
Allow cross-origin reads of the two public documents at your edge. Both are public signed documents, so a wildcard is safe; in the nginx server block from gateway setup:
location = /.well-known/inference-marketplace.json { add_header Access-Control-Allow-Origin "*" always; proxy_pass http://127.0.0.1:8787; } location = /im/v1/capacity { add_header Access-Control-Allow-Origin "*" always; proxy_pass http://127.0.0.1:8787; }
Prototype demo
Switch the check mode to Prototype demo to see what each failure looks like without a gateway. It signs a listing with a throwaway key and can inject one fault at a time: schedule digest mismatch, tampered after signing, stale capacity report, unreachable capacity endpoint, wrong endpoint in listing, or a receipt key missing from receipt_keys. Prototype runs never advance past Preview and are never indexed.
When discovery fails
There is no registration endpoint. Each indexer polls only the sellers its operator has pinned. If the discovery check says the pinned indexer does not return your route, ask that indexer's operator to add your origin and seller ID, then keep capacity fresh. The verifier docs describe the operator side.