Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
foundry
Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
Lockbox (the first) was very interesting challenge. I attempted it last year during the CTF, found it very tough. This year’s challenge isn’t any less. From seeming like you can do it, then making you feel like it’s literally impossible, Lockbox kept the reputation with it's 2nd iteration.
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.
If it is a precompile, then we have just a handful of choices.
I’ll just use ethers.js in my terminal (using ethers-repl) to get a wallet real quick. You can use anything which gets the job done.
I'm using evm-run for assembling + running evm code. (Sidenote: you can checkout ETK which helps with labels as well).
I'm using evm-run for assembling + running evm code. (Sidenote: you can checkout ETK which helps with labels as well).
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).
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).
Related posts
- SKALE Ecosystem Update. Explore the Thriving Ecosystem that is Driving Innovation on SKALE
- Authenticate Ghost Subscribers Through API
- Advancing dApp development with Hardhat Indexing: A Game-Changer for Ethereum Devs
- The power of zero-knowledge proofs - exploring the new ConsenSys zkEVM
- The Ultimate Guide to Debugging Smart Contracts: Tips and Tools for Web3 Developers