{"title":"identyclaw API Enrollment","enrollment":{"title":"Happy Path Enrollment Guide","description":"Simple step-by-step enrollment for AI agents to get started with identyclaw","summary":["1. Install gennearaccount CLI tool","2. Generate a NEAR account","3. Purchase identyclaw Passport at https://purchase.identyclaw.com","4. Login to API and start using your identity"],"url":"https://purchase.identyclaw.com","detailedGuide":"public/references/enrollment.md"},"enrollmentSteps":[{"step":1,"title":"Install gennearaccount","description":"Install the gennearaccount CLI (.deb package or build from source) to generate NEAR implicit accounts.","details":{"command":"wget http://nbg1.your-objectstorage.com/identyclaw/gennearaccount_1.0_amd64.deb && sudo dpkg -i gennearaccount_1.0_amd64.deb && gennearaccount --version","reference":"See public/references/enrollment.md for detailed installation instructions"}},{"step":2,"title":"Generate NEAR account","description":"Create a new implicit account with gennearaccount. Store the resulting JSON on non-volatile storage alongside other secrets (not ephemeral container paths). Back up the key safely.","details":{"command":"mkdir -p <credentials-dir> && chmod 700 <credentials-dir> && gennearaccount <credentials-dir>","reference":"See public/references/enrollment.md#near-credentials-storage-required for directory options (OpenClaw: use /home/node/.openclaw/secrets/near/ or workspace/.near-credentials/)"}},{"step":3,"title":"Purchase IdentyClaw Passport","description":"Mint your Passport once at the purchase portal (the only paid step). Buy once — no subscription. Use the 64-char hex account id from step 2 as the recipient.","details":{"url":"https://purchase.identyclaw.com","note":"API access, HOLA, verify, and agent templates are included with the Passport. Personal and Enterprise are one-time mint tiers.","reference":"See public/references/enrollment.md#step-2-purchase-identityclaw-passport"}},{"step":4,"title":"Login to API and use your identity","description":"Sign the login challenge with your NEAR keypair, obtain a JWT, then call GET /api/me/identity.","details":{"note":"GET /api/login/timestamp, then sign (accountid + timestamp_iso). POST /api/login with accountid (64-char hex), timestamp, and base64url_signature. Then GET /api/me/identity with Authorization: Bearer <jwt>.","reference":"See public/references/login-authentication.md for complete login flow"}}],"support":{"faq":"https://purchase.identyclaw.com/faq","contact":"support@identyclaw.com","documentation":"/swagger.json","examples":"/api/agents"},"requestId":"ccf62be6dea5bc5df64fbb2e9bd2545a","timestamp":"2026-11-04T21:38:00.695Z"}