Interactive Protection Flow
Position Inputs
Enter values and generate a protection quote. Authentication is required for the live API call.
SIMADeveloper Playground
This interactive studio demonstrates AP-1 through AP-5 using the real SDK architecture. It teaches quote, policy, runtime, middleware, certificate, MCP, and reference integration boundaries without faking execution or changing SIMA business logic.
Interactive Protection Flow
Enter values and generate a protection quote. Authentication is required for the live API call.
Execution Visualization
Generated SDK Code
import { SimaAgentClient } from "@sima-prime/agent-sdk";
const sima = new SimaAgentClient({
accessToken: "YOUR_ACCESS_TOKEN",
});
const policy = sima.createProtectionPolicy({
minimumPositionUsd: 1000,
maximumPremiumPercent: 2,
supportedChains: ["SOLANA"],
maximumProtectionWindowMinutes: 5,
});
const runtime = sima.createProtectionRuntime({
policy,
});
await runtime.initialize();
const prepared = await runtime.prepareExecution({
context: {
wallet: "YOUR_WALLET_ADDRESS",
chain: "SOLANA",
token: {
address: "YOUR_ASSET_ADDRESS",
symbol: "EXAMPLE",
type: "TOKEN",
},
protectedAmount: "1000.00",
protectionWindowMinutes: 5,
executionType: "DEX_SWAP",
},
});
const protectedExecution = await runtime.protect({
context: prepared.context,
});
// Execute your own trading bot workflow here.
console.log(protectedExecution.context.protection);Generated MCP Flow
Reference Integrations
Certificate Preview
This preview teaches certificate structure. It does not create a real certificate.
{
"certificateId": "cert_live_or_test_identifier",
"certificateNumber": "SIMA-SOLANA-YYYYMMDD-000001",
"walletAddress": "YOUR_WALLET_ADDRESS",
"chain": "SOLANA",
"assetAddress": "YOUR_ASSET_ADDRESS",
"assetSymbol": "EXAMPLE",
"premiumAmount": "50.00",
"coverageAmount": "500.00",
"deductibleAmount": "100.00",
"maximumNetPayment": "400.00",
"protectionWindowMinutes": 5,
"status": "ACTIVE_AFTER_PREMIUM_PAYMENT",
"terms": "Certificate means purchased protection and right to claim/investigation. It is not claim approval or payout authorization."
}Protection Policy Builder
{
"enabled": true,
"status": "ACTIVE",
"version": "AP_POLICY_V1",
"minimumPositionUsd": 1000,
"maximumPremiumPercent": 2,
"supportedChains": [
"SOLANA"
],
"supportedAssets": [
"all"
],
"excludedAssets": [],
"maximumProtectionWindowMinutes": 5,
"protectUnknownContracts": true,
"protectBridgeTransfers": true,
"protectDexSwaps": true
}Runtime Visualizer
Integration Studio
Trading bots should select trades before SIMA is called. SIMA prepares protection context only.
Maximum premium 2% across SOLANA.
Initializes, evaluates policy, runs middleware, and returns a prepared execution context.
SIMA never recommends trades, changes execution direction, or blocks the caller's system.