https://github.com/fuellabs/sway-standard-implementations
Production ready implementations of the Sway standards
https://github.com/fuellabs/sway-standard-implementations
Last synced: 8 months ago
JSON representation
Production ready implementations of the Sway standards
- Host: GitHub
- URL: https://github.com/fuellabs/sway-standard-implementations
- Owner: FuelLabs
- License: apache-2.0
- Created: 2024-06-29T22:16:31.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-02T03:46:13.000Z (over 1 year ago)
- Last Synced: 2025-05-21T18:34:21.950Z (about 1 year ago)
- Language: Rust
- Homepage: https://github.com/FuelLabs/sway-standards
- Size: 2.35 MB
- Stars: 5
- Watchers: 7
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Sway Standard Implementations
## Overview
The purpose of this repository is to contain production ready implementations of the [sway standards](https://github.com/FuelLabs/sway-standards).
## Implementations
#### SRC-14: Owned Proxy Contract
- The [Owned Proxy Contract](./src14/owned_proxy/) is an opinionated implementation of the [extended SRC-14 standard](https://docs.fuel.network/docs/sway-standards/src-14-simple-upgradeable-proxies/). It utilises the [Upgradability library from sway-libs](https://github.com/FuelLabs/sway-libs) and includes initialization functionality that allows for secure ownership upon deployment.
## Tests
To run the tests of the implementation projects; make sure you are in the source directory of this repository `sway-standard-implementations/`.
Run the sdk-harness tests:
```bash
cd tests && forc test --release --locked && cargo test
```
> **NOTE:**
> This may take a while depending on your hardware, future improvements to Sway will decrease build times. After this has been run once, individual test projects may be built on their own to save time.