The purpose of this repository is to contain production ready implementations of the sway standards.
- The Owned Proxy Contract is an opinionated implementation of the extended SRC-14 standard. It utilises the Upgradability library from sway-libs and includes initialization functionality that allows for secure ownership upon deployment.
To run the tests of the implementation projects; make sure you are in the source directory of this repository sway-standard-implementations/<you are here>
.
Run the sdk-harness tests:
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.
NOTE: All projects currently use
forc v0.60.0
,fuels-rs v0.63.0
andfuel-core v0.27.0
. Versions are locked viafuel-toolchain.toml
files.