harystyles.hashnode.devWriting a Smart Contract: Proof of ExistencePart 1: Understanding the Problem 1. What Is Proof of Existence and Why Does It Matter? Imagine you write a novel. You want to prove that YOU wrote it, and that it existed on a specific date. If someo1d ago·35 min read
harystyles.hashnode.devInteracting with the Uniswap V2 Router and Factory: A Complete Technical Deep DivePart 1: Understanding Uniswap V2 — The Mental Model 1. What Problem Uniswap Solves In traditional finance, if you want to exchange one currency for another, you go to an exchange with an order book — 1d ago·28 min read
harystyles.hashnode.devPractice Writing Smart Contracts: Five Progressive Exercises From Beginner to AdvancedExercise 1: Voting Contract — State Machines, Access Control, and Mappings 1. The Brief: What You're Building Build a contract where an admin creates proposals with a time window, registered voters ca1d ago·25 min read
harystyles.hashnode.devIntroductory Smart Contracts: Your First Steps From Zero to UnderstandingPart 1: What Is a Smart Contract? (No Code Yet) 1. The Simplest Explanation: A Vending Machine A smart contract is a program that lives on the blockchain. The easiest way to understand it is to compar1d ago·27 min read
harystyles.hashnode.devInheritance in Solidity: A Complete Technical Deep Dive From Single Contracts to Complex HierarchiesPart 1: Foundations — What Inheritance Is and Why It Exists 1. The Problem Inheritance Solves Look at your ERC20 contract and your SaveAsset contract. Both need ownership control — but neither has it 1d ago·29 min read