What I Built
A simple vault program on Solana that allows owners to deposit and withdraw SOL securely.
Why I Built It
I wanted to learn Anchor framework and understand how Solana programs work under the hood. Building a vault was a great way to understand:
- Account management in Solana
- PDA (Program Derived Addresses)
- Anchor's account constraints
- Transaction signing and validation
Features
- Deposit SOL into the vault
- Withdraw SOL from the vault
- Owner-only access control
Technical Stack
- Anchor framework for Solana program development
- Rust for the on-chain program
- Next.js for the frontend
- Solana Web3.js for client interactions
What I Learned
- How Anchor simplifies Solana program development
- Account validation and security patterns
- PDA derivation and usage
- Building and deploying Solana programs