Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

1.2 KB
Raw Blame
export declare function detectSolanaProvider(preferred?: string | null): unknown | null;

export interface SignInWithSolanaOptions {
	preferred?: string | null;
	nonceUrl?: string;
	verifyUrl?: string;
	chainId?: string;
}
export declare function signInWithSolana(opts?: SignInWithSolanaOptions): Promise<{ user: object; wallet: object }>;

export interface RegisterSolanaAgentOptions {
	name: string;
	description?: string;
	avatarId?: string;
	network?: 'mainnet' | 'devnet';
	preferred?: string | null;
	onStatus?: (msg: string) => void;
}
export declare function registerSolanaAgent(opts?: RegisterSolanaAgentOptions): Promise<{
	agent: object;
	sol_mint_address: string;
	tx_signature: string;
}>;

export interface StartSolanaCheckoutOptions {
	plan: 'pro' | 'team' | 'enterprise';
	network?: 'mainnet' | 'devnet';
}
export declare function startSolanaCheckout(opts?: StartSolanaCheckoutOptions): Promise<{
	solana_pay_url: string;
	intent_id: string;
	amount_usdc: number;
	nonce: string;
}>;

export interface ConfirmSolanaPaymentOptions {
	intentId: string;
	txSignature: string;
	network?: 'mainnet' | 'devnet';
}
export declare function confirmSolanaPayment(opts?: ConfirmSolanaPaymentOptions): Promise<{
	ok: boolean;
	plan: string;
	active_until: string;
}>;