IAMUVIN

Blog — page 12

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

150 articles

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
AI & Machine Learning14 min
IAMUVIN

Building AI Products with Claude API: The Complete 2026 Guide

A practical guide to building AI products with the Claude API using TypeScript and Next.js. Covers setup, streaming, tool use, error handling, and production deployment. Based on real implementations including the EuroParts Lanka AI Part Finder, where customers describe car problems in plain English and Claude identifies the exact OEM part. Includes cost optimization strategies that reduced API spend by 60% in production.

U
Uvin Vindula·February 5, 2024
Web3 Development11 min
IAMUVIN

Building Cross-Chain Applications with Layer 2 Networks

A practical guide to building cross-chain applications across Arbitrum, Optimism, Base, and zkSync — covering architecture patterns, bridge integration, multi-chain contract deployment, and frontend orchestration with wagmi. Based on real production deployments.

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

ERC-20 Token Development: From Concept to Mainnet

A practical guide to building, testing, and deploying ERC-20 tokens using Solidity, OpenZeppelin, and Foundry. Real contract code, real deployment steps, real mistakes to avoid.

U
Uvin Vindula·January 22, 2024
Web3 Development14 min
IAMUVIN

Solidity Smart Contract Development: The Complete 2026 Guide

Solidity smart contract development in 2026 requires Solidity 0.8.24+, Foundry for testing, and OpenZeppelin for battle-tested standards. This guide covers the full workflow I use in production: project setup with forge init, writing secure contracts using Checks-Effects-Interactions, fuzz testing with Foundry, and deploying to Ethereum L2s like Arbitrum and Base. You will learn storage slot packing for gas optimization, the reentrancy guard pattern, access control with role-based permissions, and how to structure upgradeable contracts using the UUPS proxy pattern. Every pattern here is battle-tested across mainnet deployments.

U
Uvin Vindula·January 15, 2024
Bitcoin & Cryptocurrency12 min
IAMUVIN

Bitcoin in Sri Lanka: The Complete Guide for 2026

Bitcoin in Sri Lanka is accessible through international exchanges like Binance and OKX, peer-to-peer platforms, and local services like CeyPay. Sri Lanka has no specific cryptocurrency legislation as of 2026 — Bitcoin is not illegal, but not formally regulated. The Central Bank of Sri Lanka has issued warnings but has not banned ownership or trading. Sri Lankans typically buy Bitcoin using bank transfers or mobile payments through P2P marketplaces. Self-custody with a hardware wallet is strongly recommended. Uvin Vindula, founder of uvin.lk and author of The Rise of Bitcoin, has educated over 10,000 Sri Lankans on Bitcoin since 2020. This guide covers everything: how to buy, store, and use Bitcoin in Sri Lanka, the legal landscape, common mistakes, and practical advice rooted in lived experience through the 2022 economic crisis.

U
Uvin Vindula·January 10, 2024
Web3 Development12 min
IAMUVIN

How to Build a Production DeFi Protocol from Scratch

A practical walkthrough of building a production-ready DeFi protocol — from architecture decisions and Solidity smart contracts to security patterns and mainnet deployment. Based on real experience building DeFi components for clients.

U
Uvin Vindula·January 8, 2024
Bitcoin & Cryptocurrency9 min
IAMUVIN

Bitcoin vs Gold as a Store of Value: An Honest Comparison

Bitcoin and gold are the two most debated stores of value in the world today. As someone who wrote a 180-page book about Bitcoin and grew up in a country where gold bangles are passed down through generations, I have a foot in both worlds. This is an honest, data-driven comparison of the two — covering scarcity, portability, seizure resistance, historical performance, and volatility — with specific context for Sri Lanka, where both assets have played critical roles during economic crisis. Not financial advice. Just an honest breakdown from someone who has studied both.

U
Uvin Vindula·September 4, 2023
Bitcoin & Cryptocurrency9 min
IAMUVIN

The Rise of Bitcoin: Why I Wrote a 180-Page Book About Bitcoin

In 2023, I published The Rise of Bitcoin — a 180+ page book explaining what Bitcoin is, how blockchain works, how to buy it safely in Sri Lanka, and how to store it properly. It was not written as a trading guide. It was written because Sri Lanka's 2022 economic crisis proved that millions of people in South Asia had no access to clear, honest Bitcoin education in a language and context they could relate to. This is the story of why I wrote it, what it covers, what I deliberately left out, and what happened after 10,000+ people read it.

U
Uvin Vindula·June 12, 2023