Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xclandestine/foundry-template
https://github.com/0xclandestine/foundry-template
Last synced: about 9 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/0xclandestine/foundry-template
- Owner: 0xClandestine
- License: unlicense
- Created: 2024-02-27T03:16:13.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-07T02:07:00.000Z (11 months ago)
- Last Synced: 2024-03-07T03:25:13.324Z (11 months ago)
- Language: Solidity
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Foundry Template [![Github Actions][gha-badge]][gha] [![Foundry][foundry-badge]][foundry] [![License: MIT][license-badge]][license]
[gha]: https://github.com/PaulRBerg/foundry-template/actions
[gha-badge]: https://github.com/PaulRBerg/foundry-template/actions/workflows/ci.yml/badge.svg
[foundry]: https://getfoundry.sh/
[foundry-badge]: https://img.shields.io/badge/Built%20with-Foundry-FFDB1C.svg
[license]: https://opensource.org/license/unlicense
[license-badge]: https://img.shields.io/badge/License-Unlicense-blue.svgFor guidance, refer to the [Foundry Documentation](https://book.getfoundry.sh/).
## Usage
To incorporate this template into your own project, use the following command:
```shell
forge init --template 0xClandestine/foundry-template
```### Build
```shell
forge build
```### Test
```shell
forge test
```### Lint
```shell
forge fmt
```### Deploy
```shell
source .env
forge script DeployCounter --rpc-url $RPC_URL --private-key $PRIVATE_KEY --etherscan-api-key $ETHERSCAN_KEY
```### License
[The Unlicense](./LICENSE)