Tok1t4N1k0 / huff-project-template

Foundry Repository Template that supports writing contracts in Huff using the foundry-huff library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

huff-project-template • ci license solidity

Versatile Huff Project Template using Foundry.

Getting Started

Click "Use this template" on GitHub to create a new repository with this repo as the initial state.

Once you've cloned and entered into your repository, you need to install the necessary dependencies. In order to do so, simply run:

forge install

To build and test your contracts, you can run:

forge build
forge test

For more information on how to use Foundry, check out the Foundry Github Repository and the foundry-huff library repository.

Blueprint

lib
├─ forge-std — https://github.com/foundry-rs/forge-std
├─ foundry-huff — https://github.com/huff-language/foundry-huff
scripts
├─ Deploy.s.sol — Deployment Script
src
├─ SimpleStoreA Simple Storage Contract in Huff
test
└─ SimpleStore.t — SimpleStoreTests

License

The Unlicense

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

Foundry Repository Template that supports writing contracts in Huff using the foundry-huff library.

License:The Unlicense


Languages

Language:Solidity 86.2%Language:Shell 13.8%