Telocel Labs creates production-grade developer tooling and indexing infrastructure for the Stellar network — specifically targeting the Soroban smart contract platform.
Our goal: give Stellar developers the same quality of data infrastructure that EVM developers take for granted.
Trident — Soroban Event Indexer
Real-time historical event indexing for Soroban smart contracts
Trident continuously streams events from Stellar RPC, stores them in Postgres, and exposes them via a REST API and WebSocket subscriptions — so developers can query contract history and receive live updates without running their own infrastructure.
Stack: Rust · Go · TypeScript · PostgreSQL · Redis
| Component | Description |
|---|---|
crates/indexer |
Rust — polls Stellar RPC, parses XDR, writes to Postgres + Redis |
crates/api |
Rust — gRPC interface over Postgres |
services/api |
Go — REST + WebSocket API for SDK clients |
sdk/typescript |
TypeScript — @trident-indexer/sdk npm package |
Quick start:
# Clone and run the full stack
git clone https://github.com/Telocel-Labs/Trident
cd Trident
docker compose upSDK usage:
import { TridentClient } from "@trident-indexer/sdk";
const client = new TridentClient({
apiUrl: "https://api.trident.telocel.io",
apiKey: "your-api-key",
});
// Query historical events
const { events } = await client.queryEvents({
contractId: "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM",
ledgerFrom: 50000,
ledgerTo: 51000,
});
// Subscribe to live events
const sub = client.subscribeToContract({
contractId: "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM",
onEvent: (event) => console.log(event),
});All Telocel Labs projects are open source. Check each repo's issues for open tasks tagged phase-1 — these are actively being worked on and contributions are welcome.
- Found a bug? Open an issue.
- Want to contribute? Check the
CONTRIBUTING.mdin the relevant repo.