Blog — page 13
Technical writing on Web3, AI, Bitcoin, and building software. Written by Uvin Vindula.
170 articles
TypeScript Patterns I Use in Every Production App
The TypeScript patterns that survive production: strict mode enforcement, Zod runtime validation, discriminated unions for state machines, branded types for entity IDs, generic API clients, type-safe environment variables, and the utility types that actually matter. Real code from apps I've shipped, not textbook examples. Includes patterns I stopped using and why.
Understanding Ethereum Virtual Machine: A Developer's Guide
A developer's deep dive into the Ethereum Virtual Machine — how bytecode executes, stack-based computation works, gas metering prices every operation, and storage layout affects your contract costs. Written from hands-on Solidity experience, not textbook theory.
Prompt Engineering for Production Applications
A practical guide to prompt engineering for production applications, drawn from shipping real AI features with the Claude API. Covers system prompt design, few-shot vs zero-shot patterns, chain-of-thought reasoning, structured JSON output, temperature tuning, and systematic testing. Includes real prompt examples from the EuroParts Lanka AI Part Finder, where natural language descriptions get mapped to exact OEM part numbers for 40,000+ European car parts.
How to Build an NFT Marketplace from Scratch
A full-stack guide to building an NFT marketplace — from a Solidity marketplace contract with listing, buying, and bidding logic to royalty enforcement with ERC-2981, a React frontend with wagmi, and IPFS metadata storage. Security-first approach based on real client builds.
How I Built the EuroParts Lanka AI Part Finder with Claude
A build log of how I integrated Claude's API into europartslanka.lk to let customers describe car problems in plain English and get back exact OEM part numbers, compatible models, and pricing — serving 966 customers and 1,444 parts delivered.
Deploying Smart Contracts on Arbitrum: Step-by-Step
A practical step-by-step guide to deploying Solidity smart contracts on Arbitrum using Foundry. Covers testnet and mainnet deployment, contract verification, gas cost comparison with Ethereum, and key differences you need to know before going live.
Claude API vs OpenAI API: An Honest Comparison for Developers
A developer-first comparison of Claude API and OpenAI API covering pricing, response quality, tool use, streaming, and developer experience — based on months of production usage building real products.
Building a DAO Governance System with Solidity and React
A complete guide to building a production DAO governance system — from OpenZeppelin Governor contracts and timelock execution to a React frontend with wagmi. Based on real governance contracts I have deployed for clients.
Multi-Agent AI Systems: Architecture and Implementation
A practical guide to multi-agent AI system architecture — orchestrator, pipeline, and swarm patterns with TypeScript implementation. Based on real experience building IAMUVIN OS, a multi-business command center powered by Claude AI agents.
Foundry vs Hardhat in 2026: Which Framework Should You Use
A hands-on comparison of Foundry and Hardhat for Solidity development in 2026. Speed benchmarks, testing approaches, fuzz testing, and when to pick each framework.
RAG Systems Explained: Build Your First Retrieval-Augmented Generation App
A production-focused guide to building retrieval-augmented generation systems with TypeScript, Supabase pgvector, and the Claude API. Real code, real architecture, zero hand-waving.
Smart Contract Gas Optimization: 30 Techniques That Work
30 proven gas optimization techniques for Solidity smart contracts with before/after code examples and real gas savings numbers. From storage packing to assembly tricks, based on production deployments on Ethereum and L2s.