Skip to content

COMMON ​

Implementation: experimental · Proposal: in-review (status checked 2026-10-31). Social action binding is tested; broader host integration and evolving action semantics warrant explicit opt-in. All capabilities remain subject to change. Maturity and opt-in policy.

Common social actions — public NIP-19 helpers, profile lookup, follows, follow/unfollow, reactions, and reports. The shell owns identity, consent, event construction, signing, publishing, relay access, and NIP-19 handling.

ts
if (window.napplet?.common) {
  const { pubkeys } = await window.napplet.common.follows();
  await window.napplet.common.react(eventId, '+');
}

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

Released under the MIT License.