
Define a proposal struct with a unique id and vote data, then publish a create_proposal function in Move to store proposals as shared objects on the Sui blockchain.
Move testing code to a separate test module, creating a voting system test and a dedicated create proposal test, and organize tests by module to verify proposals and dashboard interactions.
Demonstrates testing an admin capability check by attempting to create a proposal without admin capability, expecting an empty inventory abort code and handling error codes in test scenarios.
Enforce admin-only dashboard creation by passing the admin capability to the new function and init, preventing access and enabling a single dashboard with multiple proposals via one time witness pattern.
Learn to create proposals on the blockchain using a move call with a package id, capture the proposal id, and register it via the dashboard module.
Separate the proposal item into its own tsx file and fetch all proposal data from the blockchain using sui client query get object to display title, description, and vote counts.
Parse the proposal data by validating as a move object, extract content fields, define a proposal type, and convert string counts and expiration to numbers for display.
Learn how to handle proposal expiration by validating unix time seconds, converting to milliseconds, and conditionally styling expired versus not expired items with hover states and cursor changes.
This course is your ultimate guide to mastering blockchain development on the Sui blockchain. Whether you’re a beginner exploring the world of decentralized applications (dApps) or an experienced developer diving into Sui, this course combines practical projects with in-depth explanations of the Move programming language and React.
What Makes This Course Unique?
Rather than focusing on abstract concepts, this course is project-based, ensuring you learn by building. You’ll create two fully functional applications from scratch, covering both Move smart contracts and React-based frontends, while diving deep into Sui’s unique features like owned and shared objects, object storage, and gas fees. Additionally, you’ll write and execute unit tests to ensure the reliability and security of your smart contracts.
Course Highlights
Kickstart Your Blockchain Development Journey
Gain a solid understanding of blockchain principles and how Sui differentiates itself with its object-centric architecture.
Set up your development environment to write, test, and deploy Move smart contracts seamlessly.
Project 1: Voting Proposal System
Delve into Sui’s object model by building a voting proposal system that covers all aspects of a professional-grade application:
Create and Manage Proposals: Develop a shared object-based system for creating proposals with expiration dates.
Secure Voting Mechanisms: Prevent double voting with a voter registry maintained within each proposal.
Tokenized Participation: Issue NFTs to users as proof of their vote, introducing tokenized user interactions.
Testing for Perfection: Write comprehensive unit tests to validate the functionality of your smart contracts, ensuring they behave as expected in all scenarios.
Advanced Design: Learn modular programming techniques to build reusable, efficient, and secure contract modules.
By focusing on both functionality and rigorous testing, this project ensures you gain the skills to develop reliable and secure smart contracts.
Project 2: Meme Coin
Build and release your own meme coin, taking the next step in your blockchain development journey:
Token Creation: Define and deploy a custom token with a total supply of 1 billion.
Tokenomics Strategy: Explore best practices for token distribution and supply management.
Liquidity Pool Fundamentals: Gain a clear understanding of liquidity pools and how to set one up for your token to ensure tradability and market dynamics.
Frontend Integration: Build a React-based interface to showcase your token and allow users to interact with it.
Learn Core Sui Blockchain Concepts
This course is designed to teach you Sui’s unique features in the context of real-world applications:
Owned and Shared Objects: Learn how Sui manages assets through its object-based model, and how to utilize these concepts in your projects.
Move Programming Best Practices: Write secure and efficient smart contracts using modular and reusable components.
Unit Testing: Master the art of testing smart contracts to ensure robust functionality and safeguard your applications.
Frontend Integration
Build intuitive and user-friendly dApps using React.
Connect smart contracts to your frontend with wallet integrations and blockchain data.
Create seamless user experiences that bridge blockchain functionality with real-world use cases.
Deployment and Beyond
Test, debug, and validate your applications using unit tests.
Learn the steps to deploy your projects on the Sui testnet and mainnet.
Discover strategies to grow your blockchain applications and build a lasting impact in the ecosystem.
By the End of This Course
You’ll have:
A Comprehensive Understanding of Sui Blockchain Development: Master Move’s core concepts and how to leverage Sui’s unique architecture.
Two Real-World Projects in Your Portfolio: A rigorously tested Voting Proposal System and a Meme Coin with liquidity pool fundamentals.
The Skills to Build and Deploy dApps: Confidence to design, code, test, and publish innovative applications on the Sui blockchain.
Take the leap into blockchain development with Sui and Move—join the course now and start building the future!