Solana Liquidator

RESEARCH

Kamino Lend liquidation bot ($3.5B TVL). All-Rust, 400ms Solana blocks, Yellowstone gRPC ingest, flash-loan execution via Jito bundles.

Key Numbers

At a Glance

$3.5B

Protocol TVL

400ms

Block Time

100% Rust

Language

Jito Bundles

Execution

Overview

About This Project

A high-performance liquidation bot targeting Kamino Lend, one of Solana's largest lending protocols with over $3.5 billion in total value locked. Written entirely in Rust for maximum performance on Solana's 400ms block times, the system uses Yellowstone gRPC for low-latency account state streaming.

The bot classifies borrower positions into cold, warm, and hot risk tiers based on health factor proximity to liquidation threshold. Hot-tier accounts are monitored at block granularity, while cold-tier accounts are checked periodically to minimize compute overhead. A candidate scoring engine ranks liquidation opportunities by expected profitability.

Execution uses Jito bundles for atomic flash-loan liquidations with MEV protection, ensuring the bot's transactions are included without being sandwiched or frontrun by other searchers on the Solana network.

Features

What It Does

Yellowstone gRPC Ingest

Low-latency account state streaming via Yellowstone gRPC provides sub-slot awareness of health factor changes across all monitored Kamino positions.

Tiered Risk Classification

Cold/warm/hot risk tiers based on health factor proximity. Hot-tier accounts monitored at block granularity; cold-tier checked periodically to optimize compute budget.

Candidate Scoring Engine

Ranks liquidation opportunities by expected profit factoring in collateral discount, transaction fees, flash loan costs, and competition from other liquidators.

Jito Bundle Execution

Atomic flash-loan liquidation transactions submitted via Jito bundles for MEV protection and guaranteed execution ordering on the Solana network.

Architecture

How It Works

$

Challenges

What Made This Hard

Solana's 400ms block times create an extremely tight execution window compared to Ethereum's 12 seconds. The system must detect a health factor crossing, score profitability, construct the transaction, and submit a Jito bundle all within a single slot. On-chain program interactions with Kamino's Rust smart contracts require precise instruction building and account resolution for complex multi-hop flash-loan transactions.

Stack

Tech Stack

RustSolanaJitogRPC