Skip to content

stafihub/neutron-contracts

Repository files navigation

runme
id version
01HHK4WTYBBADD9AQ2CCEYFP5F
v2.0

neutron-contracts

Development

Environment Setup

  • Rust v1.71.0+
  • wasm32-unknown-unknown target
  • Docker
  1. Install rustup via https://rustup.rs/
  2. Run the following:
rustup default stable
rustup target add wasm32-unknown-unknown
  1. Make sure Docker is installed

Unit Tests

Each contract contains Rust unit tests embedded within the contract source directories. You can run:

make test

Generating schema

make schema

Production

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •