https://github.com/ericglau/foundry-upgrades-test
https://github.com/ericglau/foundry-upgrades-test
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ericglau/foundry-upgrades-test
- Owner: ericglau
- Created: 2023-07-18T21:32:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T20:20:14.000Z (over 2 years ago)
- Last Synced: 2025-02-09T02:15:42.283Z (over 1 year ago)
- Language: Solidity
- Size: 37.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.