Twenty-five things I built on Solana, in the order I built them. Anchor programs,
production dApps, four hackathon submissions and the full Turbin3 Builders cohort
assignment set. Every entry lists its stack, its repository, its deployed link
where one exists, and the design decision that made it worth building.
Pulled straight from GitHub. The calendar is every contribution across all my repositories; the feed below it is filtered to Solana work only, so a push to an Anchor program shows up here and a push to something else does not.
The hour of day each Solana commit in the sample was authored. The sample grows every time the data refreshes.
LATEST SOLANA PUSHES
—
GitHub data could not be loaded right now. Everything below is unaffected.
FILTER
25 shown
SECTION 01
Shipped builds
Public repositories, most with a live deployment. Dates are the day the build landed.
01
Favorites
The first program. Per-user state in a PDA.
30 NOV 2024
An Anchor program that stores a user's favorite number, color and hobby list on chain. Each user writes into a PDA derived from their own pubkey, so accounts never collide and nobody can overwrite anyone else's record. Bounded string and vector sizes are declared up front (color capped at 50 characters, at most five hobbies) because Solana accounts are fixed-size at allocation and rent is paid on the space you reserve.
Small on purpose. It exists to get the whole loop right end to end: derive the address, size the account, write, then read it back from a TypeScript client.
A vesting dApp for teams paying contributors in tokens. An organization creates a vesting account, then defines a schedule per employee with a start time, an end time, a cliff and an allocation. The program releases nothing before the cliff, then unlocks linearly, and the employee claims directly from the app.
Built as a Turborepo workspace so the Anchor program, the shared UI package and the Next.js frontend build and deploy independently. Cluster switching (devnet, testnet, localnet, custom RPC) is a first-class part of the UI rather than an environment variable, which makes demoing against a fresh validator painless.
A lottery where the draw is a transaction, not a promise.
17 AUG 2025
A lottery dApp on devnet. A one-time initialize master transaction creates the global account that holds the lottery counter and the authority, and every lottery afterwards derives its own account from that counter. Players buy tickets, entries and the prize pool live on chain, and the authority picks a winner in a transaction anyone can inspect.
The interesting part was making the setup step legible. Most of the README is spent explaining what initialization actually creates and why a program with no state cannot do anything, because that is the concept new users trip on first.
Freelance marketplace and events, with NFT proof of attendance.
25 DEC 2025
Two products sharing one identity layer. Gigs: post a service, get hired peer to peer, get paid in SOL with no platform cut. Events: sell tickets in SOL, check attendees in, then mint the ticket as an NFT so attendance is portable proof rather than a row in someone's database.
On top of that sits an achievement system (event attendee, organizer, early adopter, super host, active participant) minted as SPL tokens into the user's wallet, so reputation is held by the person, not the platform. Off-chain data runs on serverless Next.js API routes over Drizzle and Neon Postgres with Zod validation at the boundary; the wallet is the login.
A social app built around archetypes. You take a quiz, you get a card, the card puts you in a tribe, and the tribe gives you quests, votes and a leaderboard. Vibes and SOL tips move between players, and on-chain writes go through the Memo program so a social action leaves a real, cheap, verifiable trace instead of needing a bespoke program.
Privy handles embedded wallets so a first-time user can play without installing anything, and the whole thing runs in demo mode with no wallet at all. The social graph uses the socialfi SDK, and the card exports as an image through html2canvas so it can be shared off-platform.
Payroll for teams that employ both contractors and models. Fiat comes in through Dodo Payments (UPI, card, bank) and converts to USDC, which lands in a Squads v4 two-of-three multisig vault. Humans are paid on a schedule; AI tools are paid per API call over x402, the HTTP 402 flow, with a monthly budget cap enforced on chain so an agent physically cannot overspend its allowance.
The security decision I care about most: every instruction in the Anchor program advances a durable nonce account atomically before doing anything else. That makes a signed payroll transaction impossible to replay, which is the exact vulnerability class behind the Drift exploit. It is built into the program, not exposed as a setting. Salary amounts are stored encrypted, mapped to the Arcium MXE integration path.
Anchor was chosen over Pinocchio deliberately: the typed IDL the frontend consumes directly is worth more here than raw compute savings.
A dark pool where the matching engine never sees the order.
12 MAY 2026/Colosseum Frontier 2026 · Encrypt & Ika track
Every order book on Solana publishes intent, which is why size gets front-run and why institutions route around DEXs entirely. Noctex keeps price and quantity encrypted from submit through match. Encrypt's FHE evaluates bid_price >= ask_price and min(bid_amount, ask_amount) directly on ciphertexts, so the executor computes a fill without ever holding a plaintext value.
Settlement is gated separately. The program controls an Ika dWallet under 2PC-MPC, so finalize_settlement refuses to advance until a threshold of network nodes has signed the settlement digest the program approved. FHE hides what settles, MPC decides when it settles, and neither primitive alone is sufficient: without FHE the book leaks, without MPC one compromised key drains the contract.
The chain stores ciphertext PDAs rather than values, so outputs stay composable with ordinary downstream Solana primitives.
A transaction firewall for autonomous agents. The Turbin3 capstone.
24 JUN 2026/Turbin3 Builders · Capstone
Give an AI agent its own keypair and it has no spend limit, no program allowlist and no human brake. One prompt injection empties the wallet. The closest existing product runs the policy registry as centralized middleware, which means whoever holds code access can quietly raise a cap or delete a kill switch. The control plane is exactly the thing that should be tamper-evident, and it is not.
Cardon puts the control plane on chain. Every transaction the agent wants to broadcast is simulated, checked against a policy account, then signed, queued for a human, or rejected. Three account types: Agent (signing key, policy link, enabled flag, pending nonce), Policy (max lamports per transaction, human-in-the-loop threshold, daily volume ceiling, allowed programs), PendingTx (created above the threshold, closed and rent-refunded on decision). Seven instructions, split between an authority-only path and the agent's fast path.
Around the program: a Rust SDK with an async client and a simulation hook, a TypeScript SDK published as @cardon/sdk, a SendAI Agent Kit adapter whose wallet enforces policy on every sign, Squads v4 governance so approvals route through a multisig proposal that CPIs approve_tx with no program change, an event indexer that decodes emitted logs into an append-only audit store, a Helius webhook confirming the broadcast leg, and a Next.js approval queue.
An in-play market maker that reprices before it gets picked off.
19 JUL 2026/TxODDS × Solana World Cup · Trading Tools & Agents
An autonomous market-making agent for live football markets: match result, over/under 2.5, both teams to score. It does not forecast football. It quotes two sides, earns the spread on ordinary flow, and anchors fair value to TxLINE's de-margined consensus so the price only moves when the score or the clock moves.
The whole engineering problem is the goal. Fair value gaps the instant a ball crosses the line, and anyone reading the feed faster than you takes the stale quote. Catenaccio reprices in roughly 400ms off a verified event. The backtest runs positive on average at a Sharpe of 3.16, with 36 tests behind the engine.
On chain it does two real things on devnet: it calls the TxODDS Txoracle subscribe instruction to unlock the live World Cup data tier, and it writes the decision log's 32-byte Merkle root through the SPL Memo program. That second one is the point. A trading track record nobody can audit is worth very little, so any fill can be checked against its TxLINE proof after the fact.
Feel the goal coming before the market does. Live on mainnet.
20 JUL 2026/TxODDS World Cup · Consumer & Fan Experiences
An anticipation engine for football. It reads live odds and pitch events and lights up when on-pitch pressure surges while the betting market has not repriced yet. In the recorded walkthrough it flags a goal 207 seconds before the market moves. Watching costs nothing and needs no wallet.
Then it lets a fan prove the call. "I called it" is worthless in a group chat because everyone remembers being right; a timestamped Solana memo written before the goal is not. First-time callers sign in with Solana: connect Phantom, Solflare or Backpack and sign a free Ed25519 ownership message. The signature is verified server-side with Node's built-in crypto, wrapping the public key in an SPKI envelope, and nonces and sessions are stateless HMACs, so nothing has to be stored between requests and it survives serverless cold starts. No wallet-adapter stack at all. The server pays the memo fee, so the fan needs zero SOL for an attributed on-chain receipt.
Match stats carry a "Verified on Solana" badge backed by a live Merkle proof against TxLINE's anchored root, and unlocking the feed itself runs the on-chain Token-2022 subscribe instruction. Everything runs against mainnet-beta and the sign-in handshake is smoke-tested against the production URL on every change.
The whole assignment set, written from scratch, plus every optional challenge. Most programs are tested on LiteSVM, so a suite runs in about the time it takes to compile rather than waiting on a validator. The capstone that came out of it is Cardon, above.
11
Assignment 0
Toolchain, keypair, and the first Anchor scaffold.
26 APR 2026
The setup assignment, documented so it is reproducible rather than remembered: install Rust, the Agave CLI, Anchor through avm and Surfpool, generate a keypair, point at devnet, airdrop, then scaffold and build. The scaffold is split into constants, error, state and instructions modules from the first commit, which is the layout every later assignment reuses.
Mint, metadata, transfer, and an NFT with a royalties plugin.
11 MAY 2026
Scripts that take an SPL token from nothing to a completed transfer on devnet: create the mint, attach name, symbol and URI, create the associated token account, mint into it, send some to another wallet. Janhavi Token (JNV), six decimals.
The NFT half uploads image and metadata to Irys, then mints a Metaplex Core asset with the Royalties plugin attached at creation time, 500 basis points, ruleSet None. An earlier pass minted without the plugin, which is worth knowing: on Core you attach plugins at creation, so a missing one means minting again.
A personal SOL vault, and the PDA signing trick behind it.
17 MAY 2026/Week 3
Two PDAs per user. A state account at [b"state", user] owned by the program, holding nothing but the two bumps, so the program never pays for find_program_address on chain again. A vault at [b"vault", state] owned by the System Program, not by us.
That ownership choice is the whole design. Because the vault is a plain System account, the System Program is happy to move lamports in and out of it, so deposits are an ordinary transfer the user signs, and withdrawals are a CPI where the vault PDA signs for itself using its bump seeds. Four instructions: initialize, deposit, withdraw, close, with close draining the vault and refunding the state account's rent.
The README is written as a walkthrough rather than a summary, so someone new to Anchor can read the program top to bottom and understand why each constraint is there.
A maker locks a deposit of mint A into a vault owned by the escrow PDA and names a price in mint B. A taker who pays that price takes mint A and both accounts close back to the maker; if nobody takes it, the maker refunds. Three instructions, no trusted middle.
The escrow PDA is derived from [b"escrow", maker, seed], so one maker can run many escrows at once by varying the seed, which the test suite exercises directly. Token movement goes through Anchor's token_interface, so classic SPL Token and Token-2022 mints both work as long as each mint stays on one token program. Eight tests cover the happy paths plus zero deposit, zero receive, an underfunded taker, and a refund signed by someone other than the maker.
Pool, LP mint, swap curve, and an authority kill switch.
22 MAY 2026/Assignment 1
Anyone can open an (A, B) pool with a fee in basis points, deposit reserves for LP tokens, swap at the curve price and withdraw pro rata. First deposit mints sqrt(a * b) LP; later deposits mint proportionally to the share of reserves added. Every mutating instruction takes a slippage bound, and an optional pool authority can lock the pool, which blocks deposit, withdraw and swap in one flag.
The curve keeps the fee inside the invariant: amount_out = (in_with_fee * rB) / (rA * FEE_DENOM + in_with_fee), so k is preserved modulo the fee and the fee accrues to LPs. The math lives in its own module with unit tests separate from the integration suite. Config holds both mints, the fee, the optional authority, the lock flag and both bumps, so no instruction recomputes a derivation it could have stored. Custom errors cover locked pools, invalid fees, zero amounts, slippage, overflow, empty reserves, unauthorized callers and identical mints.
Freeze a Core asset in place, accrue points, mint them as tokens.
31 MAY 2026/Week 5, both bonus challenges
Staking adds a FreezeDelegate plugin to the asset with frozen = true and delegates thaw rights to the asset's stake PDA, so the owner cannot move it but the program can release it later. Points accrue per second per staked asset. Claiming is its own instruction, so a holder can take rewards without unstaking, and both claim and unstake settle everything earned since the last settlement, meaning nothing is lost by claiming late. The collection carries an Attributes plugin the program updates on every stake and unstake, giving a live staked count on chain.
No published mpl-core crate lines up with Anchor 0.32.1 and Solana 3.1.x: older versions pin Solana 1.x, newer ones pull Solana 4.x types, and neither unifies with Anchor's account types. Rather than downgrade the whole toolchain, the program rebuilds the five Core instructions it needs from their Borsh layouts and discriminators and invokes them with invoke and invoke_signed, so the on-chain crate depends only on anchor-lang and anchor-spl.
FreezeDelegate plugin
Hand-built Core CPI
Attributes counter
Reward mint
Stack
Rust · Anchor 0.32.1 · anchor-spl · Metaplex Core (raw Borsh CPI) · TypeScript tests · local validator with the Core program dumped as a fixture
Listings priced in SOL or any SPL token, plus a bidding flow.
31 MAY 2026/Week 5 A2, all three challenges
Listing transfers the Core asset to the listing PDA itself, so the PDA is the escrow and there is no separate vault account to reconcile. Listing.payment_mint: Option<Pubkey> denominates the sale: None means SOL, Some(mint) means an SPL token settled through transfer_checked, with mints handled as InterfaceAccount throughout so it is Token-2022 ready.
Buyers who do not want the ask can open an Offer PDA at ["offer", asset, buyer] that escrows their lamports until the maker accepts, or they cancel. Fees come out of the seller's proceeds rather than being added to the buyer's price, so the buyer always pays exactly the listed number. Every completed sale also mints reward tokens to the buyer from a marketplace-owned mint. Nine tests, all passing.
Introspection is how a program stops trusting what was passed in and starts reading what actually happened in the same atomic transaction. Both challenge options are implemented as separate Anchor workspaces. dice-bet verifies a sibling commit_result instruction carrying a custom Borsh struct signed by the house, instead of leaning on an Ed25519 signature instruction. burn-amm is an AMM that pays out only if an SPL Token Burn immediately precedes the payout instruction.
Both use the same pattern: load_current_index_checked to find yourself, load_instruction_at_checked to fetch the neighbour, then check its program ID, its discriminator and payload, its account metas and which of those accounts signed, before acting. Thirteen tests across the two programs.
Picking the problem, then proving somebody has it.
20 MAY 2026/Capstone Assignment 1
The capstone proposal that became Cardon, submitted under the working name Sentry: value proposition, market analysis, competitive read on the existing centralized-middleware answer, and the build plan splitting an Anchor policy registry from a Rust SDK middleware layer and a Next.js human-in-the-loop dashboard.
The research is primary-source rather than summarized: raw scrapes of the protocols and products being compared are checked in alongside the argument, so a claim in the proposal can be traced to what it was drawn from. The deliverable ships as a PDF, and the finished proposal lives in the Cardon repository so it stays next to the code it specified.
Value proposition
Market analysis
Primary sources
Build plan
Stack
Markdown · pandoc · PDF deliverable · checked-in source scrapes
Note
The research working repo is private; the finished proposal is public in the Cardon repo
Turning a protocol idea into account-level requirements.
23 MAY 2026/Capstone Assignment 2
Four personas, a function map of single-action functions per persona, the two critical interaction paths the proof of concept has to prove (auto-approval and human-in-the-loop), then 24 atomic user stories with stable numbering so the requirements can cite back to them. Each story is followed by the on-chain requirements it implies, organized around the Policy and Intent accounts, and it closes with the open questions handed forward to the architecture assignment.
A second part logs the process honestly: every prompt used, what I agreed with, what I overrode and why, and a before-and-after refinement log for the atomicity pass. Built to PDF through pandoc and headless Chrome, so there is no LaTeX dependency to break.
Reading someone else's protocol until you can draw it.
05 JUN 2026
A full architecture teardown of Raydium: program structure and responsibilities, a CPI interaction matrix, account and PDA maps for CPMM, CLMM and AMM v4 with OpenBook, the PDA derivation pipeline, and swap and routing decision flows with error paths. Fourteen diagrams under one legend with consistent labeling, plus PNG and SVG exports of every one so none of it needs tooling to read.
Delivered across four of the five recommended formats: Mermaid for the inline GitHub document, an importable draw.io canvas that also opens in Lucidchart, and PlantUML for the component diagram and the CPMM swap CPI sequence.
The same teardown treatment, applied to my own protocol.
06 JUN 2026
Cardon documented to the same construction guide as the Raydium study: the problem statement, the account and PDA map, external dependencies, the decision flow through simulate, policy check and either auto-approve, queue or reject, and the trust boundary between the agent, the SDK and the program. Useful because it forced the protocol's ambiguities into the open before the program was finished.
What I built when the useful thing was an explanation rather than a program.
23
Solana Basics
Thirty lessons that are also a slide deck.
30 AUG 2026
A black-and-white teaching deck taking a developer from no Solana knowledge to reading the official docs unaided. Most material teaches syntax before it dislodges the model the reader arrived with, so this one goes the other way: six lessons of unlearning (the code and state split, declared accounts, signers, fees versus gas) before a line of Rust appears. Then the network underneath, the core concepts from accounts through CPI, a SOL transfer traced end to end, and a reference part with every runtime constant and a vocabulary table that has an Ethereum column.
Every lesson is a readable article and a presentable deck at the same time, with a present mode, arrow-key navigation and speaker cues written to be said out loud rather than read. Lessons are typed data objects rather than markup, which is what keeps thirty of them consistent and renderable in both views. 137 slides, 22 purpose-drawn diagrams, roughly four hours of teaching material.
30 lessons
Present mode
Typed content blocks
DevRel
Stack
Next.js · TypeScript · static export · no environment variables, no external services
Source
Derived from the official core docs at solana.com/docs/core
A written critique of where Solscan falls short and what a replacement would do instead: a wallet dashboard with portfolio breakdown and time-series activity, auto-labeling of wallets by behaviour, watchlists with alerts on large transfers and program interactions, a whale mirror that replays a wallet's past strategy against your own balance, an instruction decoder that renders raw calls in English, an in-browser Anchor IDL decoder and RPC tester, and behavioural risk profiling.
It is a specification, not a shipped app, and it is here because it is where a lot of the later work started: the instruction decoding, the wallet labeling and the policy thinking all resurfaced in Cardon.
Twenty-five builds gathered into one auditable index, because a scattered repository list is not a portfolio. Every entry carries the stack, the repository, the deployed link where one exists, and the design decision behind the build, so somebody can check the claim rather than take it. Program IDs are click-to-copy and link out to the explorer.
Static HTML, CSS and JavaScript with no build step and no dependencies, served by GitHub Pages straight from the repository root. Filtering, scroll reveal and copy-to-clipboard are about a hundred lines of vanilla JavaScript, and the page degrades to readable text without any of it.