Miftahul Arifin
Home
Writing

Notes from the work.

Explainers on the systems I build with: payments, smart-contract security, cryptography and how LLMs behave. Each one starts from a question I had to answer for real work.

17 Oct 2026 · 13 min readWhy cat bigfile freezes webview terminals: backpressure from ConPTY to xterm.jsA webview terminal has no natural brake between the shell and the screen. Here is why a flood of output freezes the UI or eats memory, and the batching and ack-based flow control that push the pressure back to the shell.ArchitectureRustDevTools
3 Jun 2026 · 12 min readGas sponsorship without draining your balanceTurning on a paymaster is easy. Keeping it solvent is the real work. Here is the threat model for sponsoring gas — and the validation, accounting, and policy layers that stop your deposit from bleeding out.BlockchainSecurityArchitecture
22 May 2026 · 9 min readHow ERC-4337 actually works: bundler, paymaster, entrypointERC-4337 ships account abstraction without touching the consensus layer. Here is how a UserOperation travels from a user's wallet to on-chain execution — and what each of the three core primitives actually does.BlockchainArchitecture
27 Feb 2026 · 4 min readContext Rot: Why Giving AI Too Much Info Can Ruin the ResultsA beginner-friendly overview of Chroma's 'Context Rot' research. Learn why stuffing AI models with millions of words doesn't always work, and what you can do instead.AI
24 Jan 2026 · 10 min readHow Reentrancy Exploits Drain Smart ContractsReentrancy is fundamentally a race condition. The vulnerability lies not in the code that runs, but in the code that *awaits* to run during state updates.BlockchainSecurityDeFi
27 Dec 2025 · 5 min readThe Odyssey of Consensus: From Byzantine Generals to BlockchainJourney through four decades of distributed consensus evolution—from the impossibility proofs of 1982 to the optimized two-phase protocols powering today's trillion-dollar blockchains.BlockchainInfraArchitecture
23 Dec 2025 · 5 min readHow Merkle Trees Secure Blockchain and BeyondDiscover how Merkle trees enable blockchain to verify massive amounts of data efficiently. Learn why this elegant data structure is the backbone of Bitcoin, Ethereum, and Git!BlockchainCryptographyArchitecture
21 Dec 2025 · 4 min readThe Unforgeable Seal: Understanding ECDSA Digital SignaturesLearn how ECDSA keeps your crypto transactions safe through simple explanations and visual guides. No complex math required!BlockchainCryptography