llamaxyz / llama-forge-template

opinionated template for creating forge projects
GNU Affero General Public License v3.0
9 stars 1 forks source link

Llama Forge Template

This template is inspired by Cleanunicorn's template.

Installation

It requires Foundry installed to run. You can find instructions here Foundry installation.

GitHub template

It's easiest to start a new project by clicking the "Use this template".

Then clone the templated repository locally and cd into it and run the following commands:

$ forge install

Manual installation

If you want to create your project manually, run the following commands:

$ forge init --template https://github.com/llama-community/llama-forge-template <my-repo>
$ cd <my-repo>
$ forge install

Setup

Duplicate .env.example and rename to .env:

Commands

Deploy and Verify

To confirm the deploy was successful, re-run your test suite but use the newly created contract address.