julianjca / foundry-starter

Minimal Template for Foundry Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

foundry-starter • tests lints GitHub GitHub package.json version

Agile Template for Foundry and DappTools Projects

Blueprint

lib
├─ ds-test — https://github.com/dapphub/ds-test
├─ forge-std — https://github.com/brockelmore/forge-std
├─ solmate — https://github.com/Rari-Capital/solmate
src
├─ tests
│  └─ Greeter.t — "Greeter Tests"
└─ Greeter"A Minimal Greeter Contract"

Development

Install DappTools

Install DappTools using their installation guide.

First time with Forge/Foundry?

Don't have rust installed? Run

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Then, install foundry with:

cargo install --git https://github.com/gakonst/foundry --bin forge --locked

Setup and Build

make

Run Tests

make test
# OR #
yarn test

License

AGPL-3.0-only

Acknowledgements

Disclaimer

These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.

About

Minimal Template for Foundry Projects

License:GNU Affero General Public License v3.0


Languages

Language:Solidity 53.8%Language:Makefile 30.7%Language:Shell 15.4%