0xasimraza / vulcan-foundry-test

A template for projects writting smart contracts that use vulcan for testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vulcan Template

This repository is a template for smart contract projects based on Foundry. It includes Vulcan to make your life easier when writing tests. ❤️

How to use the template

You can either click here to let GitHub create the project for you, or you can do it manually by using the forge init CLI command:

forge init my-awesome-vulcan-project --template https://github.com/nomoixyz/vulcan-template

Installing the forge fmt Git hook

If you want to check the format of your code before creating a commit, you can use the install-fmt-hook.sh script to create a pre-commit Git hook. This will replace the contents of the current pre-commit hook file, so be careful.

To install the hook, run:

chmod +x install-fmt-hook.sh
./install-fmt-hook.sh

Alternatively, you can use one of the following commands:

bash install-fmt-hook.sh
sh install-fmt-hook.sh

About

A template for projects writting smart contracts that use vulcan for testing

License:MIT License


Languages

Language:Solidity 71.4%Language:Shell 28.6%