Delivery Failover

If Sertone Global Network delivery fails, Sertone automatically falls back to cloud storage or backup relay. Your API response always arrives.

Live Demo — This demo runs on a testnet using test USDC. When you install your own Sertone, it connects to the production blockchain with real USDC.

Three-Layer Delivery Failover

Consumer Premises
Your App
Your Sertone
Control Center
On your premises
▼ Request ▲ Response
Sertone Global Network
🔒 Encrypted 🔗 Automatic Payment 💰 USDC & USDT
Proprietary fully encrypted protocol with automatic settlement in USDC or USDT
▼ Request ▲ Response
Owner Premises
Their Sertone
Control Center
On their premises

Three-layer failover: Sertone Global Network (fastest), BYO-cloud relay (encrypted S3/MinIO), backup relay (guaranteed delivery). No API response is ever lost.

What is the Sertone control center? A single Docker container you run on your own machine — a laptop, a Raspberry Pi, a cloud server. It connects you to the Sertone Global Network. Through its built-in web console, you browse services, register your own, manage your wallet, and monitor your earnings. Installation takes minutes. It is completely free, forever.

docker run -d --name my-sertone -p 3000:3000 -p 3002:3002 sertone/wrapper:latest

The Sertone Global Network uses a proprietary fully encrypted protocol. All traffic is end-to-end encrypted. Payment is automatic.

Why Delivery Failover Matters

In production systems, network failures happen. Firewalls change, network connections drop, servers restart. A single delivery path means a single point of failure — and in an API marketplace where real money settles per call, a lost response means a lost payment and a broken integration.

Sertone solves this with a three-layer failover chain. The primary path is delivery through the Sertone Global Network — the fastest option at around 50ms between nodes. If the primary path fails (network partition, firewall change, node restart), Sertone automatically uploads the encrypted response to the consumer's BYO-cloud storage (S3, MinIO, Backblaze). The consumer polls their own bucket and retrieves the response.

If even cloud delivery fails (storage outage, credential rotation), the final fallback is the backup relay. The encrypted response is stored and always retrievable. Slower (~3 seconds), but guaranteed to arrive. No API response is ever lost.

Live Demo: Failover Chain Simulation

Failover Scenario

Select which delivery paths to simulate as "failed" and watch the failover chain in action. The demo shows typical timing for each delivery path.

Live call through the Sertone Global Network. Install your own Sertone to make unlimited calls.
Select a failure scenario and click "Simulate Failover" to see the delivery chain in action with real timing data.

Code Samples

# Call the API through YOUR local Sertone control center
# Failover is automatic — Sertone Global Network → cloud relay → backup relay
$ curl -X POST https://localhost:3000/internal/call \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_CONSUMER_SECRET" \
  -d '{"api_id_public": "API_UUID_FROM_CATALOG", "method": "GET", "path": "/quote/AAPL", "params": {}}'
// Call the API through YOUR local Sertone control center
// Consumer secret is in Settings > Security
const response = await fetch('https://localhost:3000/internal/call', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_CONSUMER_SECRET'
  },
  body: JSON.stringify({
    api_id_public: 'API_UUID_FROM_CATALOG',
    method: 'GET',
    path: '/quote/AAPL',
    params: {}
  })
});
const data = await response.json();
console.log(data.result);
# Call the API through YOUR local Sertone control center
import requests

response = requests.post(
    'https://localhost:3000/internal/call',
    headers={
        'Content-Type': 'application/json',
        'Authorization': 'Bearer YOUR_CONSUMER_SECRET'
    },
    json={
        'api_id_public': 'API_UUID_FROM_CATALOG',
        'method': 'GET',
        'path': '/quote/AAPL',
        'params': {}
    }
)
print(response.json()['result'])

Self-Host with Failover

1

Install the Control Center

Run the free Sertone Docker container. No cloud account needed.

$ docker run -d --name sertone \
  -p 3000-3003:3000-3003 -p 3005-3006:3005-3006 \
  -v sertone-data:/app/data \
  sertone/wrapper:latest
2

Open the Web Console

Go to https://localhost:3002/panel in your browser. Create your account, accept terms, and your wallet is generated automatically.

# Add cloud storage in Sertone control center
{
  "delivery": {
    "cloud_relay": {
      "provider": "minio",
      "endpoint": "https://minio.yourserver.com",
      "bucket": "sertone-responses",
      "access_key": "your-key",
      "secret_key": "your-secret"
    }
  }
}
3

Browse the Catalog

Click Catalog & SDKs in the sidebar. Search for APIs, try them in demo mode (free), then switch to production when ready.

4

Make Your First Call

Copy your consumer secret from Settings > Security, then use the code samples above to call any API from your own code.