Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create examples.md #763

Merged
merged 7 commits into from
Mar 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions doc/src/explore/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: Examples of Sui
---

Find sample Sui implementations in the [sui_programmability/examples](../../../sui_programmability/examples) directory. Here is a rundown of existing examples.

## Basics

Use the [Basics](../../../sui_programmability/examples/basics) example to explore heavily commented objects and a simple exchange.

## DeFi

In the [DeFi](../../../sui_programmability/examples/defi) example, find an atomic swap leveraging an escrow agent that is trusted for liveness, but not safety.

## Fungible Tokens

In the [Fungible Tokens](../../../sui_programmability/examples/fungible_tokens) example, see a token managed by a treasurer trusted for minting and burning for
how (e.g.) a fiat-backed stablecoin would work.

## Games

The [Games](../../../sui_programmability/examples/games) example let's you try out and modify toy games built on top of Sui! These include classic Tic Tac Toe
and various versions of an adventure game (Hero).

## NFTs

In the [NFTs](../../../sui_programmability/examples/nfts) example, issue non-fungible tokens and see NFTs representing assets in a game.