PROJECT / 06Oct 2026 — Present

Kairos

Turn an investment theme into a token basket on Solana devnet.

Kairos thematic investing landing page
Kairos thematic investing landing page

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

System architecture
100%

Scroll to explore the connections, or use Fit to see the full diagram.

Wallet-signed investments with durable transaction landingThe React client requests quotes and signs prepared transactions. Bun services persist executions and PostgreSQL-backed workers submit and reconcile signed transactions on Solana devnet.React / Vite clientBasket allocationsQuotes + execution statusBun API servicesQuote / trade routesValidate signed transactionPostgreSQLQuotes + executionsJobs + outboxUser walletReview + signFunds in user accountsDurable workersLanding + reconcilerSnapshots + outboxSolana RPCBroadcast / confirmDevnet executionAnchor routerConfigured swap routeSPL token accountsQuote / submitSQL persistSign transactionSigned bytesDurable jobsSend / reconcileInvoke programRecord landing status

Wallet-signed investments with durable transaction landing

  1. 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.
  2. PostgreSQL holds quotes, executions, and durable jobs. Landing and reconciliation workers broadcast, confirm, retry, and update execution state.
  3. 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.

Kairos · System architecture

Component responsibilities
  1. 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.

  2. Durable backend

    PostgreSQL stores quotes, executions, jobs, and outbox records. Landing and reconciliation workers handle submission, confirmation, and recovery without a Redis queue.

  3. 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

  1. Thematic token baskets

    Group tokens around an investment idea and review how the basket is allocated.

  2. Wallet-signed investments

    Investments are signed from the user's wallet through a non-custodial workflow.

  3. Solana integration

    The application connects its TypeScript and PostgreSQL backend to an Anchor router on devnet.

More projects

View all
GitHub
LinkedIn
X