Smart Contracts
Explore the architecture of the Kolektivo Framework's smart contracts
Last updated
Explore the architecture of the Kolektivo Framework's smart contracts
Last updated
Please note that this experimental software is provided on an "as is" and "as available" basis. We do not give any warranties and will not be liable for any loss incurred through any use of this codebase.
Kolektivo's smart contracts are developed using the foundry toolchain.
However, the project also uses hardhat tasks and also depends on hardhat.
Clone the repository
cd
into the repository
Run forge install
to install contract dependencies
Run yarn
to install hardhat dependencies
(Optional) Run source dev.env
to setup environment variables
Common tasks are executed through a Makefile
.
The Makefile
supports a help command, i.e. make help
.
This project includes a framework to simulate the contracts on a local node.
To start the simulation, first follow each step described in Installation.
Afterwards, start an anvil
node in a second terminal session.
To start the simulation, run npx hardhat simulation
.