Developer Sandbox (Testnet)
import { Arc402 } from "arc402-sdk";
const arc = new Arc402({ network: "testnet", apiKey: process.env.ARC402_API_KEY });
arc.submitSignal({
type: "simulation",
payload: { action: "test_trade", amount: 500 },
encrypted: true
});
const response = await arc.adaptiveResponse({ userId: "0x1234" });
console.log("Testnet response:", response);
Last updated