Loading video player...
🌟 Premium LIVE Blockchain Bootcamp🌟 https://www.codeeater.pro/ Voken is a complete Solana-based voting DApp integrated with token program built to demonstrate real-world smart contract development using Anchor. The project covers everything from program setup and treasury initialization to token purchasing, voter & proposal registration, on-chain voting, winner selection, and fund withdrawal. It also dives deep into Cross Program Invocations (CPI), account lifecycle management (init_if_needed, closing accounts), comprehensive testing, and finishes with a fully functional frontend and end-to-end DApp testing—making it a practical resource for Solana developers. GitHub Links - 1) UI template and contract (main branch) - https://github.com/kshitijofficial/Voken 2) Final Dapp (feature/voting-dapp branch) - https://github.com/kshitijofficial/Voken 🧠 What You’ll Learn ➡️ 00:00:00 — Solana Voken (Voting+Token) DApp Introduction ➡️ 00:03:01 — Live Solana DApp Demo ➡️ 00:07:48 — Project Setup & Architecture ➡️ 00:12:27 — initialize_treasury Explained ➡️ 00:49:05 — Testing initialize_treasury() ➡️ 01:21:31 — buy_tokens Implementation ➡️ 01:35:26 — Cross-Program Invocation (CPI) Deep Dive ➡️ 01:52:14 — buy_tokens Testing ➡️ 02:26:39 — register_voter ➡️ 02:36:29 — Testing register_voter ➡️ 02:44:34 — register_proposal ➡️ 03:36:58 — Testing register_proposal ➡️ 03:58:40 — proposal_to_vote ➡️ 04:11:56 — Testing proposal_to_vote ➡️ 04:19:56 — pick_winner Logic ➡️ 04:23:59 — init_if_needed Explained ➡️ 04:27:26 — Testing pick_winner ➡️ 04:39:40 — close_proposal ➡️ 04:47:39 — Testing close_proposal ➡️ 04:50:17 — close_voter ➡️ 04:56:48 — Testing close_voter ➡️ 05:01:35 — withdraw_sol ➡️ 05:03:46 — Testing withdraw_sol ➡️ 05:07:02 — Solana Smart Contract Summary ➡️ 05:12:47 — Designing the Frontend ➡️ 06:42:19 — Final DApp Testing ➡️ 06:48:36 — Wrap-Up & Conclusion ✨Begin Your Blockchain Journey From Here✨ https://youtube.com/playlist?list=PLgPmWS2dQHW_CuryjGPkyH0PNXJ2B0hAk 📧 Business Email - ksrivas199@gmail.com 💬Instagram - https://www.instagram.com/codeeater21/ LinkedIn - https://www.linkedin.com/in/KshitijWeb3/ Twitter - https://twitter.com/KshitijWeb3 ✨ Important Books ✨ 1) Bitcoin - https://amzn.to/3r4nJ5S 2) Ethereum - https://amzn.to/3r4nJ5S Thank you for watching - I really appreciated it :) Cheers, Code Eater #codeeater #blockchain #developer