/DeepFreeze

A tokenized patience protocol

Primary LanguageSolidity

TrueFreeze Contracts

This repository is the set of smart contracts that are used for the TrueFreeze protocol. It contains the requirements, code, deployment scripts, and tests necessary for the core protocol.

Requirements

To run the project you need:

  • Python 3.8 local development environment and Node.js 10.x development environment for Ganache.
  • Brownie local environment setup. See instructions for how to install it here.
  • Local env variables for Etherscan API and Infura (ETHERSCAN_TOKEN, WEB3_INFURA_PROJECT_ID,PRIVATE_KEY).
  • Local Ganache environment installed with npm install -g ganache.

Compile the Smart Contracts:

brownie compile 

Running the Tests

To run the entire suite:

brownie test

Deployment

To deploy the contract :

brownie run ./scripts/deploy_main.py --network yourNetwork (rinkeby/kovan ...)