Welcome to Blockchain by devs for devs
Explore the latest insights, tutorials, and deep dives into blockchain technology, smart contracts, and decentralized applications.
Last Updated Posts
View allSign Data with EIP-712 in Solidity: A Complete Guide (2026)
Learn all about signing data in smart contracts, how typed structured data works, and how EIP-712 is used to sign data in smart contracts. Get code examples and best practices for signing data in Solidity.
ERC-2612 Permit: Gasless Token Approvals and Transfers in Solidity (2026)
Deep dive into ERC-2612 (EIP-2612): how the permit function enables gasless ERC-20 approvals via EIP-712 signatures, how transferWithPermit works, and how to implement, test, and secure your own token in Solidity.
Foundry Anvil: Complete Guide to Local Ethereum Node, Mainnet Forking & JSON-RPC Cheatcodes
Master Anvil, Foundry local Ethereum node. Learn mainnet forking, mining modes, account impersonation, custom JSON-RPC methods (anvil_setBalance, anvil_snapshot), and persistent state management for reproducible smart contract testing.