examples.sui.io Open in urlscan Pro
2606:4700:4400::ac40:9bac  Public Scan

URL: http://examples.sui.io/
Submission: On October 30 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

<form id="searchbar-outer" class="searchbar-outer">
  <input type="search" name="search" id="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
</form>

Text Content

 1. 1. How to use this book
 2. 2. Sui Basics
 3. 1.  2.1. Move.toml
    2.  2.2. Init Function
    3.  2.3. Entry Functions
    4.  2.4. Strings
    5.  2.5. Shared Object
    6.  2.6. Transfer
    7.  2.7. Custom transfer
    8.  2.8. Events
    9.  2.9. One Time Witness
    10. 2.10. Publisher
    11. 2.11. Object Display
 4. 3. Patterns
 5. 1. 3.1. Capability
    2. 3.2. Witness
    3. 3.3. Transferable Witness
    4. 3.4. Hot Potato
    5. 3.5. ID Pointer
 6. 4. Samples
 7. 1. 4.1. Make an NFT
    2. 4.2. Create a Coin (ERC20)
 8. 5. Additional Resources


 * Light (default)
 * Rust
 * Coal
 * Navy
 * Ayu


SUI MOVE BY EXAMPLE





SUI BY EXAMPLE

Welcome to the companion book to docs.sui.io. There we describe the Sui Move
variant of the Move programming language and explain how to use it to write
smart contracts and programming with objects.

Instead, this site builds upon the smart contract examples already highlighted
with component-by-component examples you may reference at any time. What is more
expressive in the world of code than the code itself? In this book, you'll find
examples for most of the features of Sui Move as well as a number of advanced
patterns that can be used right away to improve your modules.

All code samples in this book are written with the assumption that you use Sui
Move, which can installed with this command:

$ cargo install --locked --git https://github.com/MystenLabs/sui.git --branch "main" sui


Keep in mind that the branch is set to main. If you're developing with our
devnet, instead follow the instructions to install Sui.