Developer preview
Local release candidate. Hosted acceptance is pending; the API is restricted to configured test wallets. SDK is a source module, not a published npm package.
Local SDK — no account required
import { compareSnapshots } from './orbit-sdk.mjs';
// before and after are exported Orbit Pro snapshot objects.
const changes = compareSnapshots(before, after);Download SDK module · Workflow dependency · CSV dependency. Keep all three in the same directory.
Restricted HTTP API v1
POST /.netlify/functions/developer-compare. Authorization: Bearer <wallet session>. JSON body: {before, after}. Maximum body: 100 KB. Snapshots must use schema orbit-snapshot-1, chain solana, the same mint, and increasing capturedAt timestamps. Metrics: liquidityUsd, volume24h, top10Percent; unknown values are null.
Responses: 200 comparison; 400 invalid snapshots; 401 invalid/expired session; 403 wallet not enabled; 405 wrong method; 413 oversized body. No AI/RPC requests or Pro credit charges. Imported observations are not independently authenticated.
import { createOrbitClient } from './orbit-sdk.mjs';
const orbit = createOrbitClient({
baseUrl: location.origin,
getSession: () => sessionStorage.getItem('orbit_pro_session')
});
const result = await orbit.compare(before, after);Use only the trusted Orbit HTTPS origin for authenticated calls. The SDK does not store tokens or request private keys. Browser integration is same-origin; cross-origin CORS access and developer API keys are not provided. Sign in through Orbit Pro.
Contribution preview
A minimal source package is prepared for repository publication, with tests and contribution guidance. No public GitHub repository or open-source license has been announced. Licensing, maintainer contact and repository destination remain to be decided.
View proposed developer tasksELON credit integration — existing Pro tool only
// Persist requestId and mint before calling; reuse both after a timeout.
const result = await orbit.runPaidAnalysis(mint, {
requestId: savedRequestId,
acceptCreditCharge: true
});
// 202: still pending, retry the SAME ID. 200: report returned.
// No automatic retry or automatic payment is performed.The server is authoritative for debit and refund. A new request can cost one Pro credit; the same request replays its result. A refunded request returns 409; inspect error.details. New credit purchases still have an unresolved live verification incident. The SDK does not charge ELON directly, bill arbitrary agents or distribute revenue.
Private agent directory · Build challenge preparation