An open API service indexing awesome lists of open source software.

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

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.