This repository is for the audit competition for the Palmera. To participate, submit your findings only by using the on-chain submission process on https://app.hats.finance/vulnerability .
- follow the instructions on https://app.hats.finance/
We look forward to seeing your findings.
Copy .env.example as .env and fill it with your own API KEYS (alchemy, etherscan) & mnemonic to be used locally
Foundry is used as the development framework. Please install it following the instructions:
https://book.getfoundry.sh/getting-started/installation
The external smart contracts dependencies are place in the lib/ folder. In order to initialize them use this command:
git submodule update --init --recursive
forge build or make build
To run the tests using the local VM (anvil)
forge test
To run the tests using the local VM (hardhat)
yarn run test