This repository contains the smart contracts and tests for an EIP-88 compliant contract. The system includes a Constitution contract for managing an interacting system of humans and non-human AIs and a SystemConfig contract for managing configurations.
- Solidity
- Foundry: A toolkit for Ethereum application development.
mkdir foundry
cd foundry
brew install solidity
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
# OR if you use mac / zsh
source /Users/yourName/.zshenv
# OR start a new terminal session
foundryup
To build the contracts, run:
forge build
To run the tests:
forge test