© 2022

A developer’s blog: Web3 and Blockchain development

February 17, 2024

ERC-2612 tutorial and adoption research

Browsing the crypto Twitter/X, I found a service smolrefuel.com, (tweet), which solves the problem of obtaining a gas token on Ethereum networks if you don’t have one, for example when you withdraw a stablecoin from an exchange. I did a little research on how it works. A high-level overview: ERC-2612 The foundation of this is […]

January 31, 2023

Swapping ERC20 tokens – sweepToken Uniswap’s SwapRouter MEV opportunity

After previous article about Uniswap’s SwapRouter bug that permits unspent ETH to be left in SwapRouter and then picked up by a MEV bot, I got replies on Twitter that there is also a possibility to left funds in SwapRouter when swapping ERC-20 tokens. To sweep ERC20 tokens that may have left in SwapRouter after […]

January 24, 2023

Uniswap’s SwapRouter refund bug – how much MEV bots can earn

Inspired by the post of Jeiwan about Uniswap’s SwapRouter bug (or feature?), I became curious to calculate how much MEV bots have earned so far exploiting this behaviour. A short recap, the bug/feature is that some unfortunate user can construct such a call to SwapRouter so that some ETH will be left in the SwapRouter […]

August 1, 2022

Ethereum development tools online

Here are the tools for Ethereum development I created: ABI Encoding and decoding online for Solidity smart contracts  

July 13, 2022

Uniswap V3 SDK Swap Tutorial

First of all, a short Q&A. What is Uniswap? Uniswap (Uniswap protocol) is a DeFi (Decentralised Finance) application and protocol that swaps tokens. E.g. you have an ETH and you want to get USDT that’s – that’s swap. The beauty is that Uniswap is decentralized, not controlled by anyone and lives on blockchain. Why another […]

more posts
About Web3 and blockchain developer.
Interests: Ethereum, Uniswap and DeFi, TypeScript and Go.
more