Developers

A small API surface over serious infrastructure.

Integrate identity and wallets without coupling your product to one chain, signer, authentication provider, or account model.

TypeScript
import { MoonKeyClient } from "@moonkey/sdk";

export async function readApplicationWallets(
  baseUrl: string,
  applicationId: string,
  getAccessToken: () => Promise<string>,
) {
  const moonkey = new MoonKeyClient({
    baseUrl,
    applicationId,
    getAccessToken,
  });
  const session = await moonkey.getSession();
  const wallets = await moonkey.listWallets();
  return { session, wallets };
}
Private workspace read SDK · endpoint activation required
From zero to resolved identity

The integration path stays explicit.

Every step reveals the security context that matters without leaking backend machinery into ordinary app code.

  1. 01
    Register

    Create an app ID, exact origins and redirect URIs.

  2. 02
    Authenticate

    Run authorization code + PKCE and verify the app-bound session.

  3. 03
    Resolve

    Request the configured wallet scope; the server checks current entitlement.

  4. 04
    Authorize

    Create a policy-bound action with human-readable intent.

  5. 05
    Track

    Observe lifecycle events, webhooks and redacted diagnostics.

Policy as an inspectable contract

Readable at a glance. Deterministic at runtime.

Policy versions bind the effective rule and exact transaction payload used by the signing decision.

Strong typesStable error codesIdempotencyRequest IDs
Policy JSON
{
  "effect": "allow",
  "scope": { "application": "app_moonswap" },
  "conditions": [
    { "chain": "solana" },
    { "program_id": { "in": "approved_swap_programs" } },
    { "daily_spend_usd": { "lt": "5000.00" } }
  ],
  "otherwise": "require_user_approval"
}
Interface preview; the schema-v1 evaluator exists, but public API and signer enforcement do not

Web + server

TypeScript, React, Next.js and Node contracts with SSR-safe boundaries.

Native + games

React Native, Swift, Kotlin, Unity and Unreal adapter direction.

CLI + local tools

Sandbox apps, webhook forwarding and safe configuration diagnostics.

Agent-ready docs

Machine-readable contracts for coding agents without production key access.

The next chapter is yours

Build a world.
We’ll connect it.

Explore the foundation for your next ecosystem.