/** * Agent Launcher — atomically deploy a token + vault + DBC pool bound to an AI agent. * * A single launch_agent_token instruction: * 1. Creates the base mint (SPL / Token2022 / pToken) * 2. Creates the DBC virtual pool with the chosen config * 3. Registers the AgentBinding PDA (links agent wallet to the token) * 4. Initialises the vault with entropy + anti-gravity + epoch burn configs * 5. Embeds the agent's character hash + constitution hash on-chain * * The constitution_hash is the SHA-256 of three-laws.md — every agent token * is cryptographically bound to the three laws of autonomous agents. */ import { PublicKey, type Connection, type TransactionInstruction } from "@solana/web3.js"; import type { AgentLaunchParams, LaunchResult, SdkInstructions } from "../types/index.js"; /** * Build all instructions for a full agent token launch. * * Returns two instruction sets: * result.instructions — Tx 1: mint + vault + pool + binding * result.postDeployInstructions — Tx 2: initialize_extra_account_meta_list (pToken only) */ export declare function buildAgentLaunchInstructions(connection: Connection, params: AgentLaunchParams, feeReceiver: PublicKey): Promise; /** * Build a register_agent_binding instruction for an already-existing token. */ export declare function buildRegisterAgentBindingInstruction(baseMint: PublicKey, agentWallet: PublicKey, authority: PublicKey, characterHash: Uint8Array, constitutionHash: Uint8Array, capabilities: bigint): SdkInstructions; /** * Compute the SHA-256 hash of three-laws.md. * Pass the file path or the content directly. */ export declare function hashConstitution(contentOrPath: string, isPath?: boolean): Uint8Array; /** * Compute SHA-256 of a character JSON string or object. */ export declare function hashCharacter(character: string | object): Uint8Array; /** * Sensible defaults for a new agent token launch. * Override any field as needed. */ export declare function defaultAgentLaunchParams(opts: { agentWallet: PublicKey; name: string; symbol: string; uri: string; constitutionPath?: string; character?: object; }): Omit & { characterHash: Uint8Array; constitutionHash: Uint8Array; }; //# sourceMappingURL=agent-launcher.d.ts.map