IAMUVIN

Blog — page 13

Technical writing on Web3, AI, Bitcoin, and building software. Written by Uvin Vindula.

170 articles

Full-Stack Engineering12 min
IAMUVIN

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.

U
Uvin Vindula·March 25, 2024
Web3 Development11 min
IAMUVIN

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.

U
Uvin Vindula·March 25, 2024
AI & Machine Learning11 min
IAMUVIN

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.

U
Uvin Vindula·March 18, 2024
Web3 Development14 min
IAMUVIN

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.

U
Uvin Vindula·March 18, 2024
AI & Machine Learning11 min
IAMUVIN

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.

U
Uvin Vindula·March 11, 2024
Web3 Development9 min
IAMUVIN

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.

U
Uvin Vindula·March 11, 2024
AI & Machine Learning11 min
IAMUVIN

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.

U
Uvin Vindula·March 4, 2024
Web3 Development13 min
IAMUVIN

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.

U
Uvin Vindula·March 4, 2024
AI & Machine Learning13 min
IAMUVIN

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.

U
Uvin Vindula·February 19, 2024
Web3 Development10 min
IAMUVIN

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.

U
Uvin Vindula·February 19, 2024
AI & Machine Learning13 min
IAMUVIN

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.

U
Uvin Vindula·February 12, 2024
Web3 Development13 min
IAMUVIN

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.

U
Uvin Vindula·February 12, 2024