Stack: Rust + Tokio + Axum + sqlx + PostgreSQL
docker compose up --build โ one command, everything running.
Full README with architecture overview, API examples, and decision rationale.
Code: https://t.co/7Xe6FP6pga
Happy to discuss Solana infra architecture
Just shipped a production-ready universal Solana indexer for the bounty โ built in Rust ๐ฆ
It automatically adapts to ANY Anchor IDL. No manual schema definitions, no migrations when your program changes.
The nastiest bug: solana-sdk 4.x split into sub-crates. CommitmentConfig moved, Account type exists in two incompatible versions simultaneously.
Lesson: always check what the compiler error actually says, not what you think the import path should be
Built a Solana program indexer in Rust for the SST bounty.
It indexes on-chain transactions, decodes Anchor instructions via IDL, stores everything in PostgreSQL, and serves it through a REST API โ all in one `docker compose up`.
Here's what I learned
The REST API has two endpoints:
`GET /tx/{signature}` โ full transaction with decoded instructions
`GET /tx?ix_name=buy&signer=7xKX...` โ paginated list with filters. Signer filter runs a JSONB containment query over the accounts array using a GIN index.