Quickstart
shardd's public developer path is HTTPS to regional edge gateways.
Start with one or more bootstrap edge URLs:
https://use1.api.shardd.xyzhttps://ape1.api.shardd.xyzhttps://euc1.api.shardd.xyz
Each request uses a bearer API key:
bash
curl -sS https://use1.api.shardd.xyz/gateway/healthWrite an event:
bash
curl -sS https://use1.api.shardd.xyz/events \
-H "Authorization: Bearer $SHARDD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"owner": "dev_123",
"bucket": "orders",
"account": "alice",
"amount": 10,
"note": "credit"
}'Read balances:
bash
curl -sS \
"https://use1.api.shardd.xyz/balances?owner=dev_123&bucket=orders" \
-H "Authorization: Bearer $SHARDD_API_KEY"Recommended SDK behavior
SDKs should:
- accept multiple bootstrap edge URLs
- fetch
/gateway/edgesfrom any reachable bootstrap edge - probe
/gateway/healthon candidates - prefer ready, non-overloaded edges
- choose the lowest-latency candidate
- fail over on timeout or
5xx
That keeps the public edge contract simple without exposing the private mesh.