Developer Portal

Welcome to the NID Integration Portal. This hub provides all the technical resources needed to build decentralized identity features into your third-party applications.

NID (Native Identity) is a multi-chain identity layer on Base that allows users to protect sensitive data while letting authorized providers "reveal" it on-demand.

Authentication (SIWE)

NID uses Lit Protocol and SIWE (Sign-In with Ethereum) to authorize data access. As a Provider, your app must sign a session signature to request decryption keys.

const authSig = await signer.signMessage({
    statement: "I am signing in as an Authorized Provider for NID.",
    nonce: await litNodeClient.getLatestBlockhash()
});

Installation

To start using NID in your project, include the NID Resolver SDK. You can copy the raw SDK file from our GitHub or use the snippet below.

import { nidResolver } from './sdk/nidResolver.js';

const uid = await nidResolver.reveal('user1.nid', 'App1:UID', signer, 'GAME');

Live Demo Playground

Test the "Magic Reveal" flow here. If your wallet is an authorized provider for the target NID role, the data will be revealed below.

💎

Magic ID Resolver


Revealed: ---

Security Best Practices

Always perform the reveal() signature on your **Server-Side** (Node.js/Go) to ensure your App's Private Key is never exposed to the browser. Scoped roles ensure you only have access to data the user has specifically permitted.

© 2026 NID. Identity Built for the Sovereign Web.