To run the tests, follow these steps. You must have at least node v10 and yarn installed.
First clone the repository:
git clone https://github.com/cryptonative-ch/mesa-smartcontracts.git
Move into the mesa-contracts working directory
cd mesa-contracts/
Install dependencies
yarn install
Building the contracts
yarn build
Create a new .env file in the main directory with the following variables:
INFURA_KEY="xxx"
PRIVATE_KEY="xxx"
ETHERSCAN_API_KEY="xxx"