snake-poison / csv-contracts

Contributor Success Vaults

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Enviroment Requirements

Installing Dependencies

  • Use Foundry:
forge install
  • Use Hardhat:
pnpm install

Running tests

  • Foundry
forge test
  • Hardhat
pnpm hardhat test 
# or 
pnpm test
  • Use Hardhat's task framework
pnpm hardhat example
  • Install libraries with Foundry which work with Hardhat. This project prefers forge/gitsubmodule installs for external contracts rather than node dependencies.
forge install rari-capital/solmate

Notes

Whenever you install new libraries, make sure to update remappings.txt file by running forge remappings > remappings.txt.

Warning

Windows enviroment users beware that redirecting powershell output to a file will default to UTF16 encoding where we expect remappings.txt to be UTF8 encoded.

About

Contributor Success Vaults

License:MIT License


Languages

Language:Solidity 94.3%Language:TypeScript 5.7%