How It Works
Control Center
Control Center
(Any EVM Chain)
A service registered on the Sertone network. Consumer makes a standard REST call — the owner's Sertone translates it to a smart contract read and returns clean JSON.
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
Why Smart Contract APIs?
Billions of dollars in DeFi data live on-chain, but accessing it requires blockchain-specific tooling — RPC providers, ABI parsing, hex decoding. Most developers just want a REST endpoint that returns JSON. Sertone makes that possible.
Expose any smart contract as a REST API. DeFi data, NFT metadata, governance votes — all accessible via simple HTTP calls. The owner's wrapper reads from the blockchain and returns clean JSON. Consumers never need to install Web3 libraries or manage RPC connections.
Real-world example: a financial dashboard pulls ETH/USD prices from a Chainlink price feed registered on Sertone. One REST call, one JSON response, settled in USDC — no Ethereum node required on the consumer side.
Live Demo — Call a Smart Contract via REST
Chainlink Price Feed Query
Code Samples
# Call the API through YOUR local Sertone control center
$ 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": "POST", "path": "/", "params": {"function": "getLatestPrice", "pair": "ETH/USD", "chain": 84532}}'
// 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: 'POST',
path: '/',
params: { function: 'getLatestPrice', pair: 'ETH/USD', chain: 84532 }
})
});
const data = await response.json();
console.log('ETH/USD Price:', data.result.price);
console.log('Block:', data.result.blockNumber);
# 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': 'POST',
'path': '/',
'params': {'function': 'getLatestPrice', 'pair': 'ETH/USD', 'chain': 84532}
}
)
result = response.json()['result']
print(f"ETH/USD Price: {result['price']}")
print(f"Block: {result['blockNumber']}")
Self-Host: Expose Your Own Smart Contract
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
Open the Web Console
Go to https://localhost:3002/panel in your browser. Create your account, accept terms, and your wallet is generated automatically.
Browse the Catalog
Click Catalog & SDKs in the sidebar. Search for APIs, try them in demo mode (free), then switch to production when ready.
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.