Overview
The purpose of this repository is to contain end-to-end applications that are written in Sway in order to demonstrate what can be built.
This means that a project will generally consist of a Sway contract and a user interface in order to interact with the contract however that is not a hard rule.
Note Sway is a language under heavy development therefore the applications may not be the most ergonomic. Over time they should receive updates / improvements in order to demonstrate how Sway can be used in real use cases.
Repository Structure
Each project within this repository is independent of the other projects and thus every project has its own directory with all of the files required to make it work.
That being said they are all under the same CI so any updates to a project must make sure that the other projects continue to pass.
The following is a visual sample of how the repository is structured.
sway-applications/
├── Project-1
| └── P-1 Directories & files
├── Project-2
| └── P-2 Directories & files
├── CONTRIBUTING.md
├── LICENSE
└── README.md
Projects
- Decentralized Autonomous Organization (DAO) is an organization where users get to vote on governance proposals using governance tokens
- Escrow is a third party that keeps an asset on behalf of multiple parties
- Fundraiser is a program allowing users to pledge towards a goal
- Multi-Signature Wallet is a wallet that requires multiple signatures to execute a transaction
Running a project
If you wish to run any of the projects then clone this repository and go through the general installation steps required to use our tools.
Any instructions related to running a specific project should be found within the README.md of that project.
Contributing
Check CONTRIBUTING.md for more info!