Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/ZeframLou/foundry-template

Minimalist template for foundry projects
https://github.com/ZeframLou/foundry-template

Last synced: 2 months ago
JSON representation

Minimalist template for foundry projects

Lists

README

        

# Foundry template

This is a template for a Foundry project.

## Installation

To install with [Foundry](https://github.com/gakonst/foundry):

```
forge install [user]/[repo]
```

## Local development

This project uses [Foundry](https://github.com/gakonst/foundry) as the development framework.

### Dependencies

```
forge install
```

### Compilation

```
forge build
```

### Testing

```
forge test
```

### Contract deployment

Please create a `.env` file before deployment. An example can be found in `.env.example`.

#### Dryrun

```
forge script script/Deploy.s.sol -f [network]
```

### Live

```
forge script script/Deploy.s.sol -f [network] --verify --broadcast
```