This repo contains the source code of the core smart contracts for the Mento protocol. The repository is built with foundry which is used for the compilation, testing and deployment of the smart contracts.
The Mento protocol is a smart contract platform built on the Celo blockchain that enables the creation of stable value digital assets. Stable assets created with Mento can be classified as 'Hybrid stable assets' as they are algorithmic, transparent and backed by a over-collateralized, diversified portfolio of exogenous crypto assets(Mento Reserve).
# Get the latest code
git clone git@github.com:mento-protocol/mento-core.git
# Change directory to the the newly cloned repo
cd mento-core
# Install dev dependencies with yarn
yarn
# Install submodule dependencies with forge
forge install
# Compile the smart contracts with forge
forge build
# Run all tests with forge
forge test