Skip to content
/ vulcan-template Public template

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

License

Notifications You must be signed in to change notification settings

nomoixyz/vulcan-template

Repository files navigation

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 and scripts. ❤️

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published