Web + server
TypeScript, React, Next.js and Node contracts with SSR-safe boundaries.
Integrate identity and wallets without coupling your product to one chain, signer, authentication provider, or account model.
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 };
}Every step reveals the security context that matters without leaking backend machinery into ordinary app code.
Create an app ID, exact origins and redirect URIs.
Run authorization code + PKCE and verify the app-bound session.
Request the configured wallet scope; the server checks current entitlement.
Create a policy-bound action with human-readable intent.
Observe lifecycle events, webhooks and redacted diagnostics.
Policy versions bind the effective rule and exact transaction payload used by the signing decision.
{
"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"
}TypeScript, React, Next.js and Node contracts with SSR-safe boundaries.
React Native, Swift, Kotlin, Unity and Unreal adapter direction.
Sandbox apps, webhook forwarding and safe configuration diagnostics.
Machine-readable contracts for coding agents without production key access.
Explore the foundation for your next ecosystem.