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

https://github.com/ericglau/foundry-upgrades-test


https://github.com/ericglau/foundry-upgrades-test

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Sample Foundry Project

This project demonstrates a basic Foundry use case. It comes with a contract generated by [OpenZeppelin Wizard](https://wizard.openzeppelin.com/), a test for that contract, and a script that deploys that contract.

## Installing Foundry

See [Foundry installation guide](https://book.getfoundry.sh/getting-started/installation).

## Initializing the project

```
bash setup.sh
```

## Testing the contract

```
forge test
```

## Deploying the contract

You can simulate a deployment by running the script:

```
forge script script/MyToken.s.sol
```

See [Solidity scripting guide](https://book.getfoundry.sh/tutorials/solidity-scripting) for more information.