Loading video player...
Welcome back to π¨βπ» GROKCHAIN LABS WITH BHUPENDRA π In todayβs video, weβre building a **mini Solana Borrow / Lend DeFi protocol** using **Anchor** on **Devnet** β a real smart contract you can test without spending money. We will: β’ Initialize a global Vault PDA β’ Deposit SOL as collateral β’ Update user lending positions β’ Run tests on Devnet β’ View balance changes on the Solana Explorer β’ Learn real DeFi concepts like collateral & over-collateralization This is Part 3 of our Solana series: π Part 1 β Build Your Own Solana Token (Anchor) π Part 2 β Send SOL Instantly Without Wallet Popup π Todayβs Goal: Deposit SOL into a lending vault & verify balance on-chain π βββββββββββββββββββββββ π **Project Source Code** π **Commands Used In Video** anchor build anchor deploy --provider.cluster devnet anchor test --skip-local-validator --provider.cluster devnet βββββββββββββββββββββββ π₯ **Video Chapters** 00:00 Intro 01:10 What is Collateral in DeFi? 02:30 Project Structure Overview 04:10 Initialize Vault PDA 07:20 Deposit SOL as Collateral 10:50 Run Devnet Tests 13:00 Show Proof on Solana Explorer 15:00 Final Result & Concept Recap 16:00 Outro βββββββββββββββββββββββ π **Tech Stack** β’ Solana β’ Anchor Framework β’ TypeScript Tests β’ Devnet β’ Rust Smart Contracts βββββββββββββββββββββββ π¬ Comment below: What DeFi feature should we build next? β’ Borrow & repay loan? β’ Liquidation bot? β’ Token rewards? β’ Frontend dashboard? βββββββββββββββββββββββ #solana #anchor #defi #crypto #blockchain #rustprogramming #programming #codingtutorial #solanadevelopment #web3