🐋 FW Gate SDK

Execution risk prevention for DeFi bots, agents, and pipelines.

Download JS SDK ↗ Python SDK ↗

JavaScript — Quick Start

import FWGate from 'https://fwgate.to/sdk/fw-gate.js';

const gate = new FWGate({ paymentToken: 'your_x402_token' });

// Guard pattern — auto-halt on risk
await gate.guard('STX', 'ALEX', async (result) => {
  console.log('Safe to execute:', result.cert_hash);
  // your swap logic here
});

// Manual check
const result = await gate.evaluate('STX', 'ALEX');
if (!gate.isViable(result)) return gate.halt(result);

Pricing

Basic evaluate:      0.1 STX (100,000 μSTX) → verdict + cert_hash
Enterprise evaluate: 1.0 STX (1,000,000 μSTX) → + audit_id + risk_flags + forensic
Preview / Proof:     Free
Flying Whale · zaghmout.btc · ERC-8004 #54 · FW_PROOF_v1.0