Kairos
Turn an investment theme into a token basket on Solana devnet.
Overview
Kairos is a non-custodial thematic investing platform on Solana devnet. Users create token baskets, review their allocations, and sign investments from their own wallets. A TypeScript API and PostgreSQL backend support the application, with a Rust and Anchor router for the Solana integration.
Architecture
Scroll to explore the connections, or use Fit to see the full diagram.
Wallet-signed investments with durable transaction landing
- The client requests a quote and transaction through the Bun API. The user's wallet signs; the client returns signed bytes to the execution service.
- PostgreSQL holds quotes, executions, and durable jobs. Landing and reconciliation workers broadcast, confirm, retry, and update execution state.
- Solana devnet executes the configured transaction route. The dashed router connection depends on the Anchor router/program configuration; Redis is not part of this baseline.
Component responsibilities
Client and wallet
The React/Vite interface requests quotes and prepared transactions. The user wallet signs, and signed bytes return to the Bun execution API.
Durable backend
PostgreSQL stores quotes, executions, jobs, and outbox records. Landing and reconciliation workers handle submission, confirmation, and recovery without a Redis queue.
Solana execution
Workers submit transactions through Solana RPC on devnet. The Anchor router and swap route depend on the configured program and execution settings.
Why I built this
I wanted to explore how a thematic investment idea could become a basket of tokens while keeping wallet authorization with the user. Kairos let me connect a full-stack product workflow to a Rust and Anchor program on Solana devnet.
Use case
A user exploring a token theme on devnet can create a basket, review its allocations, and authorize an investment from a connected wallet instead of handling each step through separate interfaces.
What I learned
- Connecting a TypeScript application backend to a Rust and Anchor program.
- Modeling basket allocations and keeping application data in PostgreSQL.
- Designing a wallet-signed workflow that makes transaction review and authorization clear.
Key features
Thematic token baskets
Group tokens around an investment idea and review how the basket is allocated.
Wallet-signed investments
Investments are signed from the user's wallet through a non-custodial workflow.
Solana integration
The application connects its TypeScript and PostgreSQL backend to an Anchor router on devnet.


