lockbox2-rocks
hardhat-tracer
lockbox2-rocks | hardhat-tracer | |
---|---|---|
1 | 4 | |
0 | 329 | |
- | - | |
1.8 | 7.3 | |
over 1 year ago | 17 days ago | |
Solidity | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lockbox2-rocks
-
Unlocking the Lockbox2 | ParadigmCTF’22
The Lockbox2 challenge is available here. In this post, we'll understand the challenge and solve it (based on how I approached it during the CTF). I've posted links wherever necessary. As a heads up, this is a quite long post, it's intended for beginners/intermediates to be able to follow. For experts, feel free to skim through the post or directly skip to the final solution here.
hardhat-tracer
-
Error: call revert exception Uniswap getAmountsOut
Use hardhat-tracer to get more information, it’s really helpful for deep debug
-
Unlocking the Lockbox2 | ParadigmCTF’22
Now execute the tx, and you should see stage4 pass. I’m using Hardhat framework to view the execution trace, using the hardhat-tracer plugin. (Sidenote: A great alternative is using Foundry and it also has tracing built-in).
- hardhat-tracer: see emitted events during your hardhat tests in the console
What are some alternatives?
paradigm-ctf-2021 - Official repository for Paradigm CTF 2021
full-stack-ethereum - Building full stack apps with Solidity, Ethers.js, Hardhat, and The Graph
ethers-repl - 🔪 Ethers.js in Node.js REPL
web3-blitz - A fullstack web3 solution for blitz.js
etk - evm toolkit
uniswap-v3-token-swap - example code of uniswapV3 token swaps with hardhat and ethersjs
evm-run - 🏃 Run EVM code from console or file, on local or mainnet fork.
solidity-template - A modern Solidity starter template for developing smart contracts.
ethereumjs-monorepo - Monorepo for the Ethereum VM TypeScript Implementation
truffle - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
TypeChain - 🔌 TypeScript bindings for Ethereum smart contracts
Deadmans-Switch - Deadman's Switch. If the owner dies, the funds will be transferred to an emergency address