A smart contract written in Rust for an app initialized with create-near-app
Before you compile this code, you will need to install Rust with correct target
- The main smart contract code lives in
src/lib.rs. You can compile it with the./compilescript. - Tests: You can run smart contract tests with the
./testscript. This runs standard Rust tests using cargo with a--nocaptureflag so that you can see any debug info you print to the console.