Register the agent + post a USDC bond
TelaroClient.registerAgent posts the bond and opens the Agent PDA. Idempotent across re-runs.
import { TelaroClient } from "@telaro/sdk";
const rep = new TelaroClient(connection, controller);
const sig = await rep.registerAgent({
framework: "sendai",
metadataUri: "https://telaro.xyz/sample/kill-demo.json",
scorer: controller.publicKey,
bondMint: USDC_DEVNET,
bondAmount: 100_000_000n, // 100 USDC
});controller CWz9b8g4h78ytQnd4gEU9qk4fP1wtQjfa7L838HtKNps agent PDA 4gNmZV6GpPH1B3Zs57t4djBoqWQhnaagfC6e7rAXtF5e framework sendai bond mint 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU bond amount $100 ✓ registered: 5K7s9hQfWv...