Smart contract code for Fei Protocol and the FEI stablecoin
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)
- run
npm installin the root directory
- run
npm run testto run unit tests - run
npm run test:e2eto run end-to-end/integration tests - run
npm run test:allto run all tests - run
npm run lintto lint ts files; runnpm lint:allto lint ts AND js files - run
npm run lint:fixto fix linting errors, if fixable automatically - run
npm run prettier-formatto run prettier and automatically format all ts files - run
npm run coverage:hardhatto run smart-contract coverage based off of all tests - run
npm run calldatato generage calldata for a proposal - run
npm run check-proposalto run tests for a specific dao proposal - run
npm run compileto compile smart contracts, if needed
See the docs
Fei Protocol is under the AGPL v3 license