startup-dreamer / contracts

Open Data hack winning project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hardhat x Foundry Template

Core Protocol contracts

Github Actions

Getting Started

  • Use Foundry:
forge install
  • Use Hardhat:
npm install

Features

  • Write / run tests with either Hardhat or Foundry:
forge test
# or
npx hardhat test
  • Use Hardhat's task framework
npx hardhat example

Notes

Whenever you install new libraries using Foundry, make sure to update your remappings.txt file by running forge remappings > remappings.txt. This is required because we use hardhat-preprocessor and the remappings.txt file to allow Hardhat to resolve libraries you install with Foundry.

About

Open Data hack winning project

License:Apache License 2.0


Languages

Language:Solidity 59.7%Language:JavaScript 20.9%Language:TypeScript 14.4%Language:Ruby 4.7%Language:Shell 0.2%Language:Makefile 0.0%Language:Python 0.0%Language:Nix 0.0%