runme | ||||
---|---|---|---|---|
|
- Rust v1.71.0+
wasm32-unknown-unknown
target- Docker
- Install
rustup
via https://rustup.rs/ - Run the following:
rustup default stable
rustup target add wasm32-unknown-unknown
- Make sure Docker is installed
Each contract contains Rust unit tests embedded within the contract source directories. You can run:
make test
make schema
For production builds, run the following:
make build
This performs several optimizations which can significantly reduce the final size of the contract binaries, which will be available inside the artifacts/
directory.