Skip to content

Environments & Hosts

Mainnet

SurfaceHost
REST read APIhttps://api.blink.trade
WebSocket streamingwss://api.blink.trade/ws
Transaction submissionvia the SDK / blink-tx-client (see Signing Transactions)

Read endpoints require no authentication. Write access is signature-based: there are no API keys to provision — any account that can sign a transaction can trade.

Testnet

A public testnet is planned; hosts will be published here. Until then, integrators can run the full stack locally.

Local development

The rollup repository ships a one-command local stack (./run-local.sh) that brings up the chain, indexer, gateway, and a market-maker quoting four perp markets:

SurfaceLocal host
REST read APIhttp://127.0.0.1:8090
WebSocket streamingws://127.0.0.1:8090/ws
Rollup node RESThttp://127.0.0.1:12346

Both official SDKs default their test suites to the local stack, so BLINK_API=http://127.0.0.1:8090 runs the same integration tests you would run against mainnet.

SDKs

LanguageRepositoryScope (v1)
Rustalterity-systems/blink-sdk-rsREST + WebSocket
TypeScriptalterity-systems/blink-sdk-tsREST + WebSocket
Rust (signing)blink-tx-client (rollup workspace)transaction build/sign/submit

Transaction signing in the standalone SDKs is on the roadmap; today the signing path is documented in Signing Transactions.