forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Single-Writer Apps list to Learn, update Glossary to match
- Loading branch information
1 parent
e39ef78
commit 69cea16
Showing
4 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
--- | ||
title: Sui Single-Writer-Friendly (SWF) apps | ||
--- | ||
|
||
This page lists applications that can work in the single-writer model defined as [simple transactions](how-sui-works.md#simple-transactions) in Sui. Some proposals that typically require shared objects have been transformed to variants that require only a shared object as a final step and not for every action, such as voting and lotteries, DeFi Oracle price quotes, etc. | ||
|
||
1. Regular peer-to-peer (p2p) transactions ([see how to create a new Coin with just 7 lines of Sui Move code](https://www.linkedin.com/posts/chalkiaskostas_startup-smartcontract-cryptocurrency-activity-6946006856528003072-CvI0)). | ||
1. Confidential p2p Txs: same as FastPay but with pedersen commitments to hide amounts transferred; this still ensures input amount = output amount - we can set amount limits, i.e., N transfers up to $1,000 can be confidential. | ||
1. Public bulletin board; users store only publicly accessed data, files, links, metadata. | ||
1. Proof of existence: the above with time-stamped documents - it can be extended to support commitment proof of existence (publish your hash then reveal). | ||
1. Private decentralized repository (users store private files, encrypted under their pub keys); the pubKeys can be NFTs. | ||
1. Extend the above for selected disclosure CV (resume) repository, Uni degrees repository. | ||
1. Decentralized or conventional Certificate Authority. Authorities publish their signatures over certs, they can revoke any time (easier revocation). | ||
1. Messaging service: apps, Oracles and Internet of things (IoTs) exchanging messages. Sui is probably the best platform for any messaging protocol, as typically each response and message can be encoded with a single writer NFT. | ||
1. Extend the above to social networks (Suitter) - note that each post is a single-writer NFT. See a [smart contract implementation of a fully functional decentralized Twitter with just 50 lines of Sui Move code](https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/nfts/sources/chat.move). | ||
1. Extend the above to private messaging (Suignal). | ||
1. Extend the above for any website / blog / rating platform (ie Yelp, Tripadvisor). | ||
1. Personal GitHub, Overleaf LaTex editor, wish/shopping lists, etc. | ||
1. Personal password manager. | ||
1. Non-interactive games (i.e., advertise/evolve your SimCity, FarmVille state, etc.). | ||
1. Coupons and Tickets. See a [full dApp demo and installation instructions on how to build a mass-minting coupon platform with Sui](https://github.com/MystenLabs/sui/blob/sui-coupon-v0/examples/coupons/README.md). | ||
1. Mass minting of game assets. | ||
1. Optimistic Decentralized Lottery: a new variant which needs only shared objects to declare winner but not to buy tickets; thus only one out of the million flows needs consensus. | ||
1. Same for voting (each vote is an NFT) - only the aggregation part at the end needs to support fraud proofs with shared objects or have this happen at the application layer. | ||
1. Same for most auction types (each bid is an NFT) - declaring a winner can be challenged by fraud proofs; thus, it’s the only step that requires a shared object. | ||
1. Timed-release encrypted messages / gift cards, etc. (Send encrypted messages to the future.) | ||
1. Posting price quotes (i.e., from Oracles, Pyth, etc.) can be *single writer*, and a DEX trade can utilize shared objects. So Oracles can 100% work on the single-writer model. | ||
1. Job Listing + applications (i.e., a decentralized Workable). | ||
1. Real estate contract repository: for tracking purposes only - payment is offline, otherwise it would be an atomic swap. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters