diff --git a/.prettierignore b/.prettierignore index e14c166..1fb2648 100644 --- a/.prettierignore +++ b/.prettierignore @@ -16,3 +16,5 @@ package-lock.json pnpm-lock.yaml yarn.lock foundry/lib + +README.md diff --git a/README.md b/README.md index 6978550..0d52656 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,17 @@ Holds the contracts that web3 developers use on a daily basis, including etherna yarn ``` -正常安装 +Common install ```bash forge install ``` -安装指定版本 +Install spec lib version ```bash -git submodule update --init --recursive - -forge install +git submodule add https://github.com/OpenZeppelin/openzeppelin-contracts foundry/lib/@openzeppelin/contracts-v4.7.3 +cd foundry/lib/@openzeppelin/contracts-v4.7.3 && git checkout tags/v4.7.3 && cd ../../../../ ``` ```bash @@ -38,30 +37,22 @@ forge script foundry/script/Deploy.s.sol --fork-url http://localhost:8545 --broa Ethernaut is a Web3 / Solidity based adversarial game inspired by overthewire.org, running on the Ethernaut virtual machine. Each level is a smart contract that needs to be hacked. -| Status | Level | - - Docs | Video | Note | - -| :----: | :------------------------------------------------------------------------------------------------------- | -| :----------------------------------------------------------------------------------------------------------------: | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | --- | --- | -| :----------------------------------------------------------------------------------------------------------------: | -| :--: | | ✅ | [0.Hello Ethernaut](https://ethernaut.openzeppelin.com/level/0x7E0f53981657345B31C59aC44e9c21631Ce710c7) | -| ... | [YouTube](https://www.youtube.com/watch?v=BE0J7I13CPo) 、[BILIBILI](https://www.bilibili.com/video/BV1GV411w7bk) | -| ... | | ✅ | [1.Fallback](https://ethernaut.openzeppelin.com/level/0x3c34A342b2aF5e885FcaA3800dB5B205fEfa3ffB) | -| [Mirror](https://mirror.xyz/leekdev.eth/fQn4QQF3iIwhOdolLmQpTTB5M7R9RWcvFaRFLdTodPM) | -| [YouTube](https://www.youtube.com/watch?v=6SZcd4bbTjQ) 、[BILIBILI](https://www.bilibili.com/video/BV1qu411u7Rn) | ... | -| ✅ | [2.Fallout](https://ethernaut.openzeppelin.com/level/0x676e57FdBbd8e5fE1A7A3f4Bb1296dAC880aa639) | -| [Mirror](https://mirror.xyz/leekdev.eth/GuFMbyyOnKqJOp49vRugrk_EWr2-JUIc9y-kJVWONeg) | -| [YouTube](https://www.youtube.com/watch?v=Q2EYC1a4VVM) 、 [BILIBILI](https://www.bilibili.com/video/BV1TC4y1o7Up/) | ... | -| | | [3.CoinFlip](https://ethernaut.openzeppelin.com/level/0xA62fE5344FE62AdC1F356447B669E9E6D10abaaF) | ... | ... | -| ... | | | [4.Telephone](https://ethernaut.openzeppelin.com/level/0x2C2307bb8824a0AbBf2CC7D76d8e63374D2f8446) | ... | ... | -| ... | | | [5.Token](https://ethernaut.openzeppelin.com/level/0x478f3476358Eb166Cb7adE4666d04fbdDB56C407) | ... | ... | -| ... | | | [6.Delegate](https://ethernaut.openzeppelin.com/level/0x73379d8B82Fda494ee59555f333DF7D44483fD58) | ... | ... | -| ... | | | [7.Force](https://ethernaut.openzeppelin.com/level/0xb6c2Ec883DaAac76D8922519E63f875c2ec65575) | ... | ... | -| ... | | | [8.Vault](https://ethernaut.openzeppelin.com/level/0xB7257D8Ba61BD1b3Fb7249DCd9330a023a5F3670) | ... | ... | -| ... | | | [9.King](https://ethernaut.openzeppelin.com/level/0x3049C00639E6dfC269ED1451764a046f7aE500c6) | ... | ... | -| ... | | | [10.Reentrance](https://ethernaut.openzeppelin.com/level/0x2a24869323C0B13Dff24E196Ba072dC790D52479) | ... | -| ... | ... | + +| Level | Docs | Video | Note | +| -------- | --- | ------ | ---- | +| ✅ [0.XXXX]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| ✅ [0.Hello Ethernaut](https://ethernaut.openzeppelin.com/level/0x7E0f53981657345B31C59aC44e9c21631Ce710c7) | [Mirror]() | [YouTube](https://www.youtube.com/watch?v=BE0J7I13CPo) 、[BILIBILI](https://www.bilibili.com/video/BV1GV411w7bk) | ... | +| [1.Fallback]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [2.Fallout]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [3.CoinFlip]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [4.Telephone]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [5.Token]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [6.Delegate]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [7.Force]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [8.Vault]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [9.King]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | +| [10.Reentrance]() | [Mirror]() | [YouTube]()、 [BILIBILI]() | ... | + ## [ONLYPWNER CTF](https://onlypwner.xyz) @@ -83,4 +74,3 @@ RESEARCHERS AND ENTHUSIASTS. | | [11.DIVERSION](https://onlypwner.xyz/challenges/4) | ... | ... | ... | | | [12.PAYDAY](https://onlypwner.xyz/challenges/11) | ... | ... | ... | -https://tokenhouse.github.io/solhint/rules.html