Example Apps
Each example below ships as a runnable repository with its own README. Clone the repository, publish the Move package to Testnet, and run the app.
If you are new to Sui, start with "Hello, World!" to install the toolchain and publish your first package, then come back here.
Move patterns
| Example | What it demonstrates | Source |
|---|---|---|
| Capability pattern | Gating privileged functions behind an AdminCap instead of hardcoded address checks. | sui-move-bootcamp/C1 |
| Derived objects | Predicting an object ID before creation, and looking up objects by key without an indexer. | sui-move-bootcamp/C5 |
| Scenario testing | Multi-transaction Move tests with test_scenario, including access control and transaction effects. | sui-move-bootcamp/G1 |
Frontend apps
| Example | What it demonstrates | Source |
|---|---|---|
| dApp Kit starter | Wallet connection, network switching, and owned-object queries in a React app. | sui-move-bootcamp/E2 |
| NFT minting app | A shared registry Move package plus a frontend that mints through a programmable transaction block. | sui-move-bootcamp/F1 |
| Plinko | Onchain randomness in a house-managed game, with sponsored transactions and a payout table. | plinko-poc |
Data and indexing
| Example | What it demonstrates | Source |
|---|---|---|
| Real-time event indexer | A gRPC checkpoint subscription that decodes BCS event data into structured TypeScript fields. | sui-move-bootcamp/K1 |
To add an indexer to your own service rather than run this one, see the custom indexer guide.
Capture the flag challenges
The CTF repository holds capture-the-flag challenges. Each one deploys a deliberately vulnerable contract to Testnet and asks you to exploit it.
| Challenge | What it teaches |
|---|---|
| Lootbox | Why functions that consume sui::random must be entry rather than public. |
| Merchant using USDC | Passing exact Coin<T> amounts to Move functions with splitCoins. |
| Staking with time-accumulation | How time-based access control breaks when the client controls accumulation. |