Skip to content

IDENTITY ​

Implementation: supported · Proposal: merged (status checked 2026-10-31). Read-only identity queries and updates have focused binding and reference-runtime coverage. All capabilities remain subject to change. Maturity and opt-in policy.

Read-only user queries — pubkey, profile metadata, follows, … Never signs, encrypts, or decrypts.

ts
const pubkey = await window.napplet.identity.getPublicKey();
const profile = await window.napplet.identity.getProfile();
const sub = window.napplet.identity.onChanged((pk) => reload(pk));

This non-normative guide defers to the living NAP-IDENTITY proposal. Feature-gate with if (window.napplet?.identity) before use; the runtime injects only available domains. Typed helpers ship from @napplet/nap/identity and @napplet/sdk.

Changes and profile artwork ​

User identity changes report the connected signer, including an empty string at sign-out; they do not alter napplet identity. Profile picture and banner bytes use the optional resource domain when exposed; otherwise show local placeholder artwork. See the living NAP-IDENTITY.

Released under the MIT License.