Skip to content

Meta-Pool/aaxxii-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aaxxii-contracts

Introduction

This repository contains multiple contracts. Click on the contract to get more information:

Build the contracts

All the contracts are located in the ./contracts/ directory. If you're going to work with the contracts, we recommend you to make it your home 🏠.

cd contracts/

A test build could be easily run with the following command:

cargo build

We facilitated some Makefile with the most common commands to help you. For example, a production ready release could be generated as follow:

make build

Unit testing

Inside the ./contracts/ directory you could easily run some unit testing for the contracts.

cargo test

Integration test

The integration tests are located outside of the ./contracts/ in the ./workspaces directory, that makes reference to the near_workspaces framework used to test deployment and function call inside a local network.

Integration test could be run like this:

# Make sure to be under the ./workspace directory
cd workspace/

cargo run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published