Welcome to my Proof of Work repository for the Turbin3 Accelerate Builders Program.
This repo chronicles my weekly progress through hands-on Solana development challenges — from SPL Token extensions and on-chain hooks to high-performance testing and advanced protocol design.
Q4_2025_Accel_Abduovv/
├── week_1/ // Week 1: SPL Token 2022 + LiteSVM
│ ├── whitelist-transfer-hook/ // Whitelist-based Transfer Hook
│ └── escrow-litesvm/ // Escrow with time-lock & LiteSVM tests
└── README.mdTheme: Exploring SPL Token-2022 extensions and building ultra-fast test environments with LiteSVM.
This week’s focus was on designing modular, composable Solana programs with practical security patterns.
A SPL Token-2022 Transfer Hook enforcing whitelist-based transfer permissions.
Each user has a dedicated PDA whitelist account, ensuring scalable and rent-optimized access control.
🔧 Key Work Completed
- ✅ Replaced array-based whitelist with per-user PDA (
[b"whitelist", user]) — scalable and reallocation-free - ✅ Programmatically initialized the mint with the Transfer Hook on-chain, eliminating client-side dependency
A trustless token escrow for atomic swaps between two parties, secured by time-lock logic and tested with LiteSVM for 10× faster feedback cycles.
🔧 Key Work Completed
- ✅ Added full test coverage for
takeandrefundinstructions - ✅ Integrated time-lock protection using
Clock::get()?.unix_timestamp, with strict unlock logic and unit tests
💡 Core Features
- Three main flows:
make,take,refund - Vault PDA for secure token custody
- Time-locked trades using Unix timestamps
- Deterministic LiteSVM testing (fast, local, reproducible)
🧪 Test Cases
test_make→ Initializes escrow and validates statetest_take→ Executes valid swaptest_refund→ Returns tokens to maker