/** * Spawnling minting — a successful leviathan rents a new shell, generates a child * keypair, mints a child Core asset (via Metaplex Agent Registry), funds it with * seed USDC + SOL + $CLAWD, and records lineage. * * Lineage is enforced: the child's `agentMetadata.registrations` includes the * parent's asset address, and the parent's `spawnlings` table records the child. * * Constitution-hash check: the child's three-laws.txt SHA-256 must match the * parent's. If it doesn't, refuse to spawn. */ import { Keypair } from '@solana/web3.js'; export interface SpawnSpawnlingInput { parentKeypair: Keypair; parentAssetAddress: string; parentConstitutionHash: string; childName: string; childSpawnPrompt: string; rpcUrl: string; network?: 'mainnet' | 'devnet'; /** Lamports of SOL to seed the child with for tx fees. Default: 0.05 SOL. */ seedSolLamports?: number; /** USDC atoms to seed the child with. Default: 1 USDC = 1_000_000. */ seedUsdcAtoms?: bigint; /** $CLAWD atoms to seed the child with. Default: 1000 $CLAWD = 1_000_000_000. */ seedClawdAtoms?: bigint; } export interface SpawnSpawnlingResult { childKeypair: Keypair; childAssetAddress: string; childAssetSignerPda: string; spawnSig: string; fundingSig: string | null; } export declare function spawnSpawnling(input: SpawnSpawnlingInput): Promise;