Skip to content

bandohq/evm-fulfillment-protocol

Repository files navigation

Bando EVM Smart Contracts

The Bando Fulfillment Protocol EVM smart contracts suite suite.

Run Tests and Coverage Build

Overview

For a more detail view of the protocol architecture, security considerations, and product as a whole, please refer to the Official Docs.

The project is a hybrid of hardhat and forge. We run integration tests with hardhat and deploy and run other tests with forge.

Pre-requisites

  • Node.js v16.x
  • Foundry
  • Hardhat
  • Solidity 0.8.20

Installation

Install dependencies with forge

forge install

Install hardhat project dependencies

yarn install

Compile Contracts

Compile contracts with forge

forge build [--sizes]

Run Tests

Run tests with hardhat

yarn hardhat test

Run coverage report with hardhat

yarn hardhat coverage