Solana Vault is a decentralized vault program built on the Solana blockchain using the Anchor framework.
It allows users to securely deposit, withdraw, and manage tokens inside an on-chain vault account — ensuring transparency, security, and fast transactions powered by Solana’s high-performance runtime.
- 🏦 Create and manage on-chain vaults
- 💰 Deposit and withdraw SPL tokens
- 🔐 Owner-authority–based access control
- ⚡ Built using Anchor for easy Solana program development
- 🧩 Easily extendable for DeFi or NFT escrow use cases
| Layer | Technology |
|---|---|
| Blockchain | Solana |
| Framework | Anchor |
| Language | Rust (for on-chain program) |
| Client | TypeScript / JavaScript |
| Tools | Solana CLI, Anchor CLI, Node.js, Yarn |
Solana-Vault/ │ ├── migrations/ # Anchor migration scripts ├── programs/vault/ # On-chain Solana program written in Rust ├── tests/ # Mocha tests for local validator ├── Anchor.toml # Anchor project configuration ├── Cargo.toml # Rust package file ├── package.json # JS dependencies and test setup └── README.md # Project documentation
yaml Copy code
git clone https://github.com/mansiverma897993/Solana-Vault.git
cd solana-vault
yarn install
anchor build
solana-test-validator
In another terminal: anchor deploy 5️⃣ Run tests anchor test