Sol.College

DeFi on Solana

DeFi programs on Solana hold assets in PDA-owned token accounts and move them with CPIs into the Token Program. Escrow, staking, swaps and lending all reuse the same building blocks: PDAs, token accounts, checked arithmetic and strict account validation.

Reference: Solana docs: Tokens

Lessons

  1. Escrow patterns Advanced
  2. Staking and reward accrual Advanced
  3. Program Derived Addresses (PDAs) Beginner
  4. Cross-Program Invocations (CPIs) Intermediate
  5. SPL Tokens: mints, accounts and transfers Intermediate
  6. Oracles: Pyth and Switchboard Advanced

Guides

Projects in the stack (47)

anchor

⚓ Solana Program Framework

📘 lesson · ★ 5,166 · Rust · Apache-2.0

Infrastructure & ToolingAnchorNext.jsweb3.js

solana-web3.js

Solana JavaScript SDK

📘 lesson · ★ 2,783 · TypeScript · MIT

Infrastructure & Tooling@solana/kitNext.jsweb3.js

wallet-adapter

Modular TypeScript wallet adapters and components for Solana applications.

📘 lesson · ★ 2,032 · TypeScript · Apache-2.0

Wallets & IdentityNext.jsweb3.js

agave

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.

📘 lesson · ★ 1,983 · Rust · Apache-2.0

OtherNative Rust

pay

CLI for Agentic payments (x402, MPP, AP2).

📘 lesson · ★ 1,800 · Rust · MIT

AI & AgentsPayments@solana/kitNext.jsSolana Pay

program-examples

A repository of Solana program examples

📘 lesson · ★ 1,435 · Rust · MIT

Infrastructure & Tooling@solana/kitAnchorMetaplexNext.js

solang

Solidity Compiler for Solana, Polkadot and Stellar

📘 lesson · ★ 1,380 · Rust · Apache-2.0

Infrastructure & ToolingAnchorweb3.js

squid-sdk

TypeScript ETL toolkit for indexing Ethereum, Solana, and Substrate data, sourced from SQD Network.

📘 lesson · ★ 1,345 · TypeScript · Apache-2.0

DeFiInfrastructure & Tooling

rango-client

Rango Exchange Widget & Wallets Library

📘 lesson · ★ 1,124 · TypeScript · Apache-2.0

DeFiWallets & IdentityNext.jsweb3.js

carbon

Carbon is an indexing framework on Solana.

📘 lesson · ★ 638 · Rust · MIT

DeFiInfrastructure & ToolingNative Rust

attestprotocol

A Unified Trust Framework

📘 lesson · ★ 203 · TypeScript · MIT

Infrastructure & ToolingAnchorweb3.js

txtx

Terraform for web3. Reproducible deployments and secure operations for Bitcoin, Ethereum and Solana.

📘 lesson · ★ 157 · Rust · Apache-2.0

OtherAnchor

fridon-ai

📘 lesson · ★ 76 · Python · MIT

AI & AgentsMetaplexweb3.js

zk-lokomotive-core

The only true metadata leak-free, platform-less end-to-end decentralized data transfer protocol

📘 lesson · ★ 31 · JavaScript · MIT

Infrastructure & ToolingAnchorNext.jsweb3.js

darklake-monorepo

📘 lesson · ★ 16 · TypeScript · MIT

OtherAnchorMetaplexNext.jsweb3.js

bergabman_Sol_Q423

Solana Q423 cohort

📘 lesson · ★ 10 · TypeScript · MIT

OtherAnchorMetaplexweb3.js

valhalla

Solana LP/Token Locker

📘 lesson · ★ 8 · TypeScript · MIT

OtherAnchorMetaplexNext.jsweb3.js

coinwala-wallet

📘 lesson · ★ 5 · TypeScript · MIT

Wallets & IdentityMetaplexNext.jsSolana Actionsweb3.js

blinkord

Bring Solana into your Discord Community

📘 lesson · ★ 5 · TypeScript · MIT

GamingConsumer & SocialNext.jsSolana Actionsweb3.js

Bonding_Curve_SOL_contracts

SketchXpress is a Solana-based NFT AMM protocol using bonding curves and Token-Owned Escrows (TOE) for dynamic pricing, direct SOL liquidity, and Tensor marketp

📘 lesson · ★ 5 · TypeScript · Apache-2.0

DeFiNFTs & Digital AssetsAnchorMetaplexNext.jsweb3.js

Picassol-Hackathon

Picassol is a collaborative digital canvas on the Solana blockchain, currently in the building stage for the Solana Ecosystem, allowing global users to creative

📘 lesson · ★ 2 · TypeScript · MIT

OtherAnchorNext.jsweb3.js

Sav3ana

📘 lesson · ★ 2 · JavaScript · MIT

Otherweb3.js

MemeArena

Fight with your favorite memecoins

📘 lesson · ★ 2 · TypeScript · Apache-2.0

GamingAnchorMetaplexNext.jsweb3.js

solad

SoLad securely store Solana data under flexible conditions

📘 lesson · ★ 2 · Rust · MIT

OtherAnchorweb3.js

scrape-breakout-solana

Scrape a decentralized Scraping Hub is a Chrome extension on Solana that incentivizes users to share bandwidth for AI-optimized web scraping.

📘 lesson · ★ 2 · TypeScript · MIT

AI & AgentsDePINAnchorNext.jsweb3.js

snap-solve

A full-stack urban-reporting dApp built on Solana and Next.js that enables users to create and sign incentivized petitions for local community issues.

📘 lesson · ★ 1 · TypeScript · MIT

GamingConsumer & SocialAnchorNext.jsweb3.js

greedypig-solana

📘 lesson · ★ 1 · TypeScript · MIT

OtherAnchorNext.jsweb3.js

getblink.fun

getblink.fun is a no-code platform that lets anyone create shareable Blinks—simple links that trigger on-chain DeFi actions on Solana—making crypto more accessi

📘 lesson · ★ 1 · TypeScript · MIT

DeFiMetaplexNext.jsSolana Actionsweb3.js

dumpfun

📘 lesson · ★ 1 · TypeScript · MIT

OtherNext.jsweb3.js

CopyTraDefi

📘 lesson · ★ 1 · TypeScript · Apache-2.0

DeFiAnchorNext.jsweb3.js

peer-pay

Fiat-to-Solana payment connector using Stripe. 2nd place, CoinW x Superteam UAE side track, Solana Renaissance Hackathon 2024.

📘 lesson · ★ 0 · TypeScript · Apache-2.0

PaymentsAnchorNext.js

kryptpay-solana-contract

Smart contract that handles payment and issue reward token to users as they transact. And also facilitate swapping

📘 lesson · ★ 0 · Rust · MIT

DeFiPaymentsAnchorMetaplex

elyse

📘 lesson · ★ 0 · CSS · MIT

Otherweb3.js

inflation-resistant-token

This a set of Solana contracts written in Rust that implement an inflation-resistant token on Meteora.

📘 lesson · ★ 0 · Rust · CC0-1.0

Other@solana/kitAnchorMetaplexweb3.js

GotokHQ-cash

📘 lesson · ★ 0 · Rust · MIT

OtherMetaplexNative Rustweb3.js

HiveFi

📘 lesson · ★ 0 · TypeScript · MIT

OtherAnchorNext.jsweb3.js

solanacontract

solana contract

📘 lesson · ★ 0 · Rust · MIT

OtherAnchor

ecosnap

Gamified application on Solana aimed at monetizing everyday trash collection, motivating users to sort waste and clean up their city's streets in return for rew

📘 lesson · ★ 0 · TypeScript · MIT

OtherAnchorMetaplexweb3.js

dlmm-alm-frontend

📘 lesson · ★ 0 · TypeScript · MIT

OtherMetaplexNext.jsweb3.js

winisol

Transparent and decentralized solana lottery

📘 lesson · ★ 0 · TypeScript · MIT

Infrastructure & ToolingAnchorNext.jsweb3.js

chapl1n

Solana Radar Hackathon

📘 lesson · ★ 0 · TypeScript · MIT

OtherMetaplexNext.jsweb3.js

solana-button

📘 lesson · ★ 0 · TypeScript · MIT

OtherAnchorNext.jsweb3.js

vijay

A trustless freelancing platform on Solana

📘 lesson · ★ 0 · TypeScript · MIT

Infrastructure & ToolingAnchorNext.jsweb3.js

TheZapCoin

Zapcoin is a revolutionary DeFi platform built on the Solana blockchain that connects renewable energy production with financial services.

📘 lesson · ★ 0 · TypeScript · MIT

DeFiAnchorweb3.js

Other topics

AnchorPaymentsNFTsTokensZK and privacyWalletsClient SDKsNative RustAI agentsGamingDAOs and governance