Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 2.51 KB

programs.md

File metadata and controls

51 lines (37 loc) · 2.51 KB

Programs

This file is the complete index of programs in this repository. Browse by category or use the quick links below.

DeFi

Program Description Implementations Features
AMM Constant-product market maker with liquidity deposits, swaps, and withdrawals Anchor, Pinocchio AMM Constant Product Liquidity
Escrow Trustless token exchange between two parties via a PDA vault Anchor, Pinocchio Escrow Atomic Swap PDA Refund
SOL Vault Deposit and withdraw native SOL from a PDA vault Pinocchio, Anchor Deposit Withdraw PDA
Multi-Sig Vault M-of-N signature treasury for proposals and withdrawals Anchor Multi-Sig Treasury Proposal
Time-Locked Vault Slot-based time lock written directly in sBPF assembly sBPF Time Lock Assembly PDA
Staking Time-locked staking with linear rewards Quasar Staking Rewards Lockup

Core Concepts

Program Description Implementations Features
Guestbook On-chain guestbook for creating, updating, and deleting messages Anchor CRUD PDA Messages
Calculator Initialize a number, then double or add to it on-chain Anchor Calculator Arithmetic State
Name Storage Store and update a name string using Borsh, written natively without Anchor Native Borsh Native State

NFTs and Tokens

Program Description Implementations Features
NFT Staking Stake NFTs to earn rewards with configurable lockup periods Anchor NFT Staking Rewards Lockup

Data Structures

Program Description Implementations Features

Games

Program Description Implementations Features

Privacy and Security

Program Description Implementations Features
Encrypted Calculator Arithmetic over encrypted inputs using Arcium MPC Anchor Arcium Confidential Computing MPC X25519