REVM Is All You Need. How to build simulated blockchain… | by Solid Quant | Medium
You wake up in the morning feeling very confident about your progress yesterday. Now you’re about to begin working on your Solidity smart contract. “Oh, this shouldn’t be so difficult; it’s just Solidity after all.” And indeed, it’s just Solidity after all. However, you’re now on your first function call — which only took 5 minutes of your time to write. “Oh, I’m fast”, you think. It’s an all too familiar “swap” call to a Uniswap V2 pair contract that you’d like to fire up using your MEV bot. Just one more step away and you know you’re done. But life isn’t easy. You deploy your contract to the Testnet or the Mainnet using Remix / Foundry / Hardhat / Brownie (you name it). And as soon as you run “swap”, EVM REVERT 0x\b2… GN. Repeat… So that’s what smart contract development looks like from behind the scenes. Setting aside the glory, most of our time is dedicated to testing and simulating our contract calls, making sure that state changes occur as expected. Even with the amazing tooling
REVM Is All You Need How to build simulated blockchain realities (and rule that world) Solid Quant 40 min read · Sep 11, 2023 -- 10 Listen Share Press enter or click to view image in full size Minecraft Pokemon Ditto collabo with arXiv [Abstract] GM. You wake up in the morning feeling very confident about your progress yesterday. Now you’re about to begin working on your Solidity smart contract. “Oh, this shouldn’t be so difficult; it’s just Solidity after all.” And indeed, it’s just Solidity after all. However, you’re now on your first function call — which only took 5 minutes of your time to
Explore this link on the map →saved by
related reading
- How to add a custom precompile contract · Issue #280 · bluealloy/revm · GitHubgithub.com
- revm/documentation/src/crates/precompile.md at b7b92aee232558ea48e9580bfac74d442a17babd · bluealloy/revm · GitHubgithub.com
- solidity - Are there any examples of using precompiled contracts? - Ethereum Stack Exchangeethereum.stackexchange.com
- go-ethereum/core/vm/contracts.go at bd6879ac518431174a490ba42f7e6e822dcb3ee1 · ethereum/go-ethereum · GitHubgithub.com
- solidity - How to use Ethereum precompile bn256Pairing to check equality on symmetric groups? - Ethereum Stack Exchangeethereum.stackexchange.com
- GitHub - foundry-rs/forge-std: A collection of helpful contracts and libraries for use with Forge and Foundry · GitHubgithub.com
- The Ethereum Virtual Machine — How does it work? | by Luit | MyCrypto | Mediummedium.com
- Understand EVM bytecode – Part 1blog.trustlook.com
- Introduction to Smart Contracts - Solidity 0.8.24 documentationdocs.soliditylang.org
- Ethereum is a Dark Forest - Paradigmparadigm.xyz
- #1 Solidity Tutorial & Ethereum Blockchain Programming Course | CryptoZombiescryptozombies.io
- A Gentle Introduction to Ethereum Programming, Part 1 - OpenZeppelin blogblog.openzeppelin.com