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: about 2 months ago
JSON representation
Minimalist template for foundry projects
- Host: GitHub
- URL: https://github.com/ZeframLou/foundry-template
- Owner: ZeframLou
- License: agpl-3.0
- Created: 2022-01-18T04:00:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T19:24:14.000Z (5 months ago)
- Last Synced: 2024-08-23T21:04:17.479Z (5 months ago)
- Language: Solidity
- Homepage:
- Size: 37.1 KB
- Stars: 155
- Watchers: 2
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-foundry - Zefram's Foundry Template - @ZeframLou's Foundry template. (Templates & Libraries)
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
```