Start to code in solidity with ETH Kipu
- Install Foundry by following the instructions from their repository.
- Copy the
.env.example
file to.env
and 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 test
For unit tests, run:
yarn test:unit
For unit tests and have a full coverage with more fuzzing, run:
yarn test:unit:deep
In order to just run integration tests, run:
yarn test:integration
Configure the .env
variables.
yarn deploy:sepolia
The deployments are stored in ./broadcast
See the Foundry Book for available options.