Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bandohq/evm-fulfillment-protocol

Bando Fulfillment Protocol Middleware for the EVM.
https://github.com/bandohq/evm-fulfillment-protocol

blockchain defi ethereum evm smart-contracts solidity web3

Last synced: about 2 hours ago
JSON representation

Bando Fulfillment Protocol Middleware for the EVM.

Awesome Lists containing this project

README

        

# Bando EVM Smart Contracts

The Bando Fulfillment Protocol EVM smart contracts suite suite.

[![Run Tests and Coverage](https://github.com/bandohq/evm-fulfillment-protocol/actions/workflows/hardhat-test.yaml/badge.svg)](https://github.com/bandohq/evm-fulfillment-protocol/actions/workflows/hardhat-test.yaml)

## Overview
For a more detail view of the protocol architecture, security considerations, and product as a whole, please refer to the [Official Docs](https://docs.bando.cool).

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
```shell
forge install
```
Install hardhat project dependencies
```shell
yarn install
```

## Compile Contracts

Compile contracts with forge
```shell
forge build [--sizes]
```

## Run Tests

Run tests with hardhat
```shell
yarn hardhat test
```

Run coverage report with hardhat
```shell
yarn hardhat coverage
```