chalex-eth / DeepFreeze

A tokenized patience protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 ...)

About

A tokenized patience protocol


Languages

Language:Solidity 74.6%Language:Python 24.4%Language:JavaScript 1.0%