Make sure foundry is updated: https://book.getfoundry.sh/getting-started/installation
You can install the lastest version with curl -L https://foundry.paradigm.xyz | bash
Helpful commands:
- format:
npm run lint:contracts:fix
(update .sol files to adhere to styling rules) - install:
forge install
install Solidity dependencies - test:
forge test
(optionally add-v
through-vvvv
for failure message verbosity)
This Smart Contract is used to manage the Unlock hooks for the Cabin app. See the Unlock Protocol documentation here for more information. You can run.
This Smart Contract is used to mock the Cabin Token contract. It is used for testing purposes only.