https://github.com/gdanezis/sui-by-example
https://github.com/gdanezis/sui-by-example
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gdanezis/sui-by-example
- Owner: gdanezis
- Created: 2024-01-03T15:32:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T12:40:24.000Z (over 1 year ago)
- Last Synced: 2025-04-11T20:12:24.207Z (6 months ago)
- Language: Rust
- Size: 142 KB
- Stars: 31
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sui by Example
## Introduction
The repo contains a few examples of Sui applications written using the **Rust SDK**. The examples come with `README.md` files explaining step-by-step key Sui and blockchain contexts, references to more documentation, as well as instructions for configuring the environments and running them.
## Outline
- [01](/src/01_read_latest_checkpoint/): How to read basic data from the Sui network.
- [02](/src/02_read_latest_object/): How to read object meta-data and contents.
- [03](/src/03_simple_transaction/): How to write a Move smart contract, and execute a transaction on it.
- [04](/src/04_shared_object_transaction/): How to pass arguments to transactions and use shared objects.
- [05](/src/05_reading_events/): How to use and read events emitted by smart contracts.
- [06](/src/06_clock/): How to use the clock to get real time and make a timestamp service.
- ... TBD ...## Installation
You will need a working rust installation with cargo and all. You probably also need an [installation of Sui](https://docs.sui.io/guides/developer/getting-started/sui-install) to follow example 03 and beyond.