Skip to content

FEI Protocol smart contract code, tests, and scripts/utilities for DAO proposals.

License

Notifications You must be signed in to change notification settings

dieface/fei-protocol-core

 
 

Repository files navigation

Fei Protocol ·

Smart contract code for Fei Protocol and the FEI stablecoin

Dependencies

Note that this has only been tested on Linux; you may encounter issues running on other operating systems.

  • Node v12 or v16 (you can manage Node versions easily with NVM)

Installation

  • run npm install in the root directory

Usage

  • run npm run test to run unit tests
  • run npm run test:e2e to run end-to-end/integration tests
  • run npm run test:all to run all tests
  • run npm run lint to lint ts files; run npm lint:all to lint ts AND js files
  • run npm run lint:fix to fix linting errors, if fixable automatically
  • run npm run prettier-format to run prettier and automatically format all ts files
  • run npm run coverage:hardhat to run smart-contract coverage based off of all tests
  • run npm run calldata to generage calldata for a proposal
  • run npm run check-proposal to run tests for a specific dao proposal
  • run npm run compile to compile smart contracts, if needed

Documentation

See the docs

License

Fei Protocol is under the AGPL v3 license

About

FEI Protocol smart contract code, tests, and scripts/utilities for DAO proposals.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 61.6%
  • Solidity 32.9%
  • JavaScript 5.3%
  • Shell 0.2%