grantor-onboard
v0.1.0
Published
Agent-native onboarding for [Grantor](https://chaingrantor.com) — the authorization layer for autonomous software, with no authorization server.
Readme
grantor-onboard
Agent-native onboarding for Grantor — the authorization layer for autonomous software, with no authorization server.
Grantor has no signup form. Becoming a tenant is a handful of transactions
against the public GrantorRegistry contract, and authenticating is minting a
self-certifying deed — no account, no API key, no Grantor server anywhere.
This kit is the fast path through both.
The trigger
Saw a 401 whose WWW-Authenticate header names Grantor-Deed? That
resource speaks Grantor and you don't have a credential for it yet:
npx -y grantor-onboard preflightThe machine-readable facts (chains, registry addresses, advisory public RPC endpoints, tiers, steps) live in the onboarding manifest: https://chaingrantor.com/.well-known/grantor-onboard.json.
The verbs
Four verbs, each doing exactly one step of what the register page does for a human in a browser, plus an MCP mode:
| verb | does |
|-------------|------|
| preflight | checks chain access, wallet funding (USDC + gas) and names the exact step that would fail, before any transaction |
| create | createTenant (+ topUp/drawPeriod on paid tiers) — your tenant id comes from the TenantCreated log |
| enroll | registers an agent key commitment (or ZK identity) for the tenant; --commitments file.json bulk-enrolls a fleet, validating the whole file before any transaction |
| prove | mints a deed and verifies it locally — the end-to-end proof your credential works |
| serve | the same verbs as MCP tools over stdio, for agents that speak MCP |
The funding rule
You pay your own gas — nobody sponsors you, and nobody can drain anyone else's funds. Billing is USDC on Base to the registry contract itself; a human bootstrapping a wallet from a debit card is ~15 minutes: https://chaingrantor.com/docs/guide/fund-with-card.html.
Docs
- Self-onboarding walk-through: https://chaingrantor.com/docs/ONBOARD.html
- For AI agents, start here: https://chaingrantor.com/llms.txt
- The errors table, executable: https://chaingrantor.com/inspector.html
License
Proprietary — see LICENSE.
