Geni is a builder tool that eases the writing of specifications of blockchain smart contracts. These specifications are required to run several auditing services like Foundry or Echidna.
Geni generates tests and specifications to build more secure and robust smart contracts on top of any EVM compatible network e.g Aurora, Polygon, Base.
To install Geni, write the following command in your terminal :
npm i geni-generator
npm install
OR
yarn install
Geni can be run locally as shown in this example :
npm i geni-generator
geni -f hardhat -t echidna -d ./echidna-exemples/echidna-hh/artifacts/contracts/Lock.sol/
- your contract build directory
'-d': '--dir'
- framework used
'-f': '--framework'
- generate specification/test for which tool
'-t': '--tool'
1. need help'-h': '--help'
- framework used
- Hardhat with Echidna
- Foundry
Here are the options you need to configure to run the tool.
Many thanks to Chinmay Agrawal, the ETH Denver Community and the Quantstamp team for supporting us in developping this tool.