https://github.com/beeb/ethernaut
My Ethernaut solutions
https://github.com/beeb/ethernaut
Last synced: 7 months ago
JSON representation
My Ethernaut solutions
- Host: GitHub
- URL: https://github.com/beeb/ethernaut
- Owner: beeb
- Created: 2023-08-31T10:27:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T08:37:17.000Z (over 2 years ago)
- Last Synced: 2024-12-25T19:23:57.381Z (over 1 year ago)
- Language: Solidity
- Homepage: https://ethernaut.openzeppelin.com
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Ethernaut
Run `forge install` to get the standard library.
To solve a puzzle, copy the level contract in the `src` directory, or its interface in the `interfaces` directory.
Then, create a new script in the `script` directory and copy the existing examples, adjusting with the level address.
Finally, run the script with
```
forge script --rpc-url sepolia script/Levelxx.s.sol --broadcast
```
This will create the level instance, run your commands/transactions, and then finally submit the level.
To simulate the outcome, remove the `--broadcast` parameter from the command.