Announcing Sui Incentivized Testnet: Get ready for the Sui-nami in August. Read more

Building Sui

Now that you've learned about Sui, it's time to start building.

Workflow

Here is our recommended workflow to interact with Sui:

  1. Install all of the required tools .
  2. Quickstart Move smart contract s:
    1. Write a package.
    2. Test a package.
    3. Debug a package.
    4. Publish a package.
  3. Create and Start a local Sui network .
  4. Start a local JSON-RPC Gateway server .
  5. Connect to the Sui network Gateway service with the Sui CLI client .
  6. Build dApps:
    1. Use Sui RPC Server and JSON-RPC API to interact with a local Sui network.
    2. Employ SuiJSON format to align JSON inputs more closely with Move call arguments.

And if you haven't already, become familiar with these key Sui concepts:

  • Validators - The Sui network is operated by a set of independent validators, each running its own instance of the Sui software on a separate machine (or a sharded cluster of machines operated by the same entity).
  • Objects - Sui has programmable objects created and managed by Move packages (a.k.a. smart contracts). Move packages themselves are also objects. Thus, Sui objects can be partitioned into two categories mutable data values and immutable packages.
  • Transactions - All updates to the Sui ledger happen via a transaction. This section describes the transaction types supported by Sui and explains how their execution changes the ledger.

Find answers to common questions about our roadmap and more in our FAQ.

Last update 6/30/2022, 6:01:14 PM

Contributor(s)