Quickstart
Pick Your Path
SDK Proof
Create a proof via wallet signature and poll status.
VerifyGate Widget
Drop-in React gating with freshness controls.
HTTP Examples
Minimal curl / Node.js examples for server integrations.
Hosted Auth + Verify
Standardized
/verify login flow, popup completion, and auth code exchange.Hub Integrator Setup
Org/domain setup, app linking, sponsor grants, hosted checkout, and usage tracking.
1. Install SDK
2. Create a Client
Initialize the client in your app. Public verifiers do not require API keys.3. Verify Something
Create a content authorship proof usingownership-basic. This prompts the user’s wallet to sign a request-bound message.
Production Defaults (Recommended)
Privacy: Default to
options: { privacyLevel: 'private', publicDisplay: false } unless you explicitly need public discovery.- Storage: Set
storeOriginalContentseparately from privacy. Private proofs can still store original content when you need owner-only access. - Receipt ID: Treat
proofIdas an opaque receipt identifier. On HTTP routes, the same value appears as{qHash}.
3b. Poll Status (Async Verifiers)
Some verifiers complete instantly; others return202 and finish asynchronously. Poll until terminal status:
4. Gate Your UI
Use the React component to show content only to verified users.Hosted Interactive Verifiers (OAuth / ZK)
Forownership-social, ownership-org-oauth, and proof-of-human, VerifyGate launches NEUS hosted checkout.
4b. Lowest-Friction Auth Path
If you want hosted login plus later API calls without per-request proof-envelope signing:- Redirect users to
https://neus.network/verify?intent=login&returnUrl=<your-url>. - If NEUS has enabled hosted auth code exchange for your deployment, your server exchanges the returned auth
codeatPOST /api/v1/auth/code/exchangewith your NEUS-issued partner credential. - Use the resulting session/token for later calls.
Guide: Auth + Hosted Verify.
5. Server-Side Gating (Minimal Eligibility)
For backend/server checks, prefer a gate check (minimal yes/no, no full proof payloads) viaGET /api/v1/proofs/check: