Start to code in solidity with ETH Kipu
- Install Foundry by following the instructions from their repository.
- Copy the
.env.examplefile to.envand fill in the variables. - Install the dependencies by running:
yarn install.
ETH Kipu Starter Pack, ensures that unit tests remain completely isolated from external dependencies. Meanwhile, integration tests are usually executed on a fork of the blockchain. Both types of test examples are provided here.
In order to run both unit and integration tests, run:
yarn testFor unit tests, run:
yarn test:unitFor unit tests and have a full coverage with more fuzzing, run:
yarn test:unit:deepIn order to just run integration tests, run:
yarn test:integrationConfigure the .env variables.
yarn deploy:sepoliaThe deployments are stored in ./broadcast
See the Foundry Book for available options.