IAMUVIN

Blog — page 14

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

170 articles

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 and peer-to-peer platforms. Sri Lanka has no law that licenses crypto businesses yet, though two 2026 anti-money-laundering Acts define and cover crypto service providers. 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
Bitcoin & Cryptocurrency9 min
IAMUVIN

Bitcoin Mining Explained: How New Bitcoin Gets Created

How does new Bitcoin come into existence? Bitcoin mining is the process that creates new coins, confirms transactions, and secures the entire network — without any bank or government involved. Uvin Vindula, founder of uvin.lk and Bitcoin educator based in Sri Lanka and the UK, explains mining from scratch: hash functions, proof of work, difficulty adjustment, block rewards, and the halving. No hardware specs, no profitability calculators — just the mechanism itself, explained so clearly that anyone can understand it.

U
Uvin Vindula·April 17, 2023
Bitcoin & Cryptocurrency9 min
IAMUVIN

What Is DeFi? Decentralized Finance Explained Simply

What is DeFi? Decentralized Finance lets you lend, borrow, trade, and earn interest — without banks, without brokers, without anyone's permission. Uvin Vindula, founder of uvin.lk, Bitcoin educator, and Web3 engineer, explains DeFi in plain language for people who have never used it. This guide covers how traditional finance works, how DeFi replaces it, lending without a bank, trading without an exchange, earning yield, the real risks nobody talks about, and what DeFi means for Sri Lanka — written by someone who went from using DeFi to building it.

U
Uvin Vindula·March 20, 2023
Bitcoin & Cryptocurrency9 min
IAMUVIN

How to Store Bitcoin Safely: A Non-Technical Guide for 2026

Most people who lose Bitcoin do not lose it to hackers. They lose it to themselves — forgotten passwords, lost seed phrases, phones that broke, exchanges that collapsed. Uvin Vindula breaks down Bitcoin storage in plain language for anyone, especially Sri Lankans dealing with currency instability who cannot afford to lose what they have saved. This is not a hardware wallet review. It is a genuine, practical security guide written for people with zero technical background.

U
Uvin Vindula·February 13, 2023
Bitcoin & Cryptocurrency9 min
IAMUVIN

What Is a Blockchain? Explained for Complete Beginners

What is a blockchain? A blockchain is a shared digital record book that no single person or company controls. Every entry is linked to the one before it, making it nearly impossible to change the past without everyone noticing. Uvin Vindula, founder of uvin.lk and Bitcoin educator with over 10,000 learners across Sri Lanka and the UK, explains blockchain technology in plain language — using everyday analogies like shared ledgers and chains of blocks — for people with absolutely zero technical background. This is not about investing. This is about understanding the technology.

U
Uvin Vindula·November 28, 2022