Skip to content

Getting Started

What is Slabond?

Slabond is a cryptographic trust layer that enables AI agents and smart contracts to execute real-world API calls with economic guarantees. When an agent needs to make a payment, call a webhook, or fetch data from an external API, Slabond ensures the action is executed correctly — or the operator's bond is slashed.

The core problem Slabond solves is the reversibility mismatch: crypto transactions are irreversible, but fiat payments and API calls can fail, be reversed, or be faked. Slabond bridges this gap by combining Trusted Execution Environments (Intel SGX), TLSNotary proofs, economic bonding, and on-chain dispute resolution.

How It Works

  1. User creates an SLA — deposits escrow and defines the expected outcome
  2. Operator locks a bond — commits ETH collateral (50-200% of the SLA value)
  3. TEE executes the API call — runs inside an Intel SGX enclave, generating a TLSNotary proof
  4. Proof is submitted on-chain — the contract verifies the proof matches the expected outcome
  5. Settlement or slash — after a dispute window, the operator is paid or slashed

Prerequisites

  • Node.js 18+
  • An Ethereum wallet (for on-chain interactions)
  • @slabond/sdk npm package

Install the SDK

bash
npm install @slabond/sdk

Quick Example

typescript
import { Slabond } from '@slabond/sdk'

const slabond = new Slabond({
  apiKey: process.env.SLABOND_API_KEY,
})

const sla = await slabond.createSLA({
  slaId: 'payment-001',
  requester: '0xYourWallet',
  amount: '1000.00 USDC',
  targetUrl: 'https://api.stripe.com/v1/charges',
})

const result = await slabond.waitForSettlement(sla.id)
console.log(result.status) // 'COMPLETED' or 'FAILED'

Next Steps

Secured by Intel SGX, TLSNotary & Ethereum