Skip to main content

๐ŸŽฎ Build Your First Sui DApp

From zero to a fully functional on-chain application in 30 minutes

Beginner Friendly30 minsSui Network

๐Ÿ“‹ What Weโ€™ll Build

Project: A simple counter application with multiplayer featuresYouโ€™ll Learn:
  • Setting up a Dubhe project
  • Defining schemas and components
  • Writing Move smart contracts
  • Building a React frontend
  • Deploying to testnet

๐Ÿš€ Quick Start

๐Ÿ“š Tutorial Sections

1

Create a New DApp

Set up your development environment
  • Install prerequisites
  • Create project from template
  • Understand project structure
  • Configure for your needs
2

Write System Logic

Implement smart contract logic
  • Define data schemas
  • Create game systems
  • Add business logic
  • Deploy to blockchain
3

Build Frontend

Create user interface
  • Connect to blockchain
  • Read on-chain state
  • Send transactions
  • Real-time updates
4

Test & Debug

Ensure quality
  • Write unit tests
  • Debug smart contracts
  • Test frontend integration
  • Performance optimization

๐ŸŽฏ Prerequisites

๐Ÿ’ก Project Preview

// Define your game data structure
export default {
  schemas: {
    counter: {
      value: "u64",
      lastUpdatedBy: "address",
      updateCount: "u64"
    }
  }
}

๐Ÿ† What Youโ€™ll Achieve

On-Chain Application

A fully functional DApp running entirely on the Sui blockchain

Real-Time Updates

Live synchronization between blockchain and frontend

Type Safety

End-to-end type safety from contracts to UI

Production Ready

Code thatโ€™s ready to build upon for real projects

๐Ÿšฆ Ready to Start?

Before you begin: Make sure you have 15-30 minutes of uninterrupted time. Youโ€™ll be creating something amazing!

Start Tutorial

Begin building your first DApp now โ†’

Get Help

Join our Discord for live support โ†’

๐Ÿ“– Additional Resources

Q: Do I need blockchain experience? A: No! This tutorial is designed for beginners. Weโ€™ll explain everything as we go.Q: How much does it cost? A: Development is free. Deploying to testnet is free. Mainnet deployment costs a small gas fee.Q: Can I customize the template? A: Absolutely! The template is just a starting point. You can modify everything.Q: Where can I get help if Iโ€™m stuck? A: Join our Discord for real-time help from the community.