IAMUVIN

Blog

Blog

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

130 articles

NFT & Digital Assets10 min
IAMUVIN

NFT Royalties with ERC-2981: Implementation and Marketplace Support

A practical guide to implementing ERC-2981 royalty standard in NFT smart contracts. Covers the standard explained, custom royalty splits, marketplace support reality, on-chain enforcement strategies, the Operator Filter Registry, and the future of creator compensation on Ethereum.

U
Uvin Vindula·October 7, 2024
Performance & Optimization11 min
IAMUVIN

Core Web Vitals for Next.js: How I Hit 95+ on Every Project

A hands-on guide to achieving 95+ Lighthouse scores in Next.js — covering LCP, INP, CLS, bundle optimization, image strategy, font loading, and Server Components. Based on real production numbers from FreshMart and other projects I have shipped.

U
Uvin Vindula·September 16, 2024
Startup & Product Building9 min
IAMUVIN

How to Price Software Development Services: What I've Learned

A transparent breakdown of how I price software development services from $8K to $80K per project and $5K/month retainers — including real numbers, the mistakes I made, and why I stopped competing on price from Sri Lanka. A guide for developers and clients alike.

U
Uvin Vindula·September 9, 2024
DeFi Deep Dives12 min
IAMUVIN

Yield Farming Explained: A Developer's Technical Guide

A technical deep dive into yield farming — LP token staking mechanics, reward distribution math, auto-compounding vaults with ERC-4626, multi-pool farming architecture, APR vs APY calculations with code, and building farm contracts that don't collapse.

U
Uvin Vindula·September 2, 2024
Next.js & React10 min
IAMUVIN

Next.js Middleware Patterns for Production Applications

Battle-tested Next.js middleware patterns I use on every production app — authentication redirects, rate limiting at the edge, geo-based routing, bot detection, A/B testing, and a complete middleware.ts template you can drop into any project.

U
Uvin Vindula·September 2, 2024
Career & Professional Growth10 min
IAMUVIN

Working as a Remote Developer from Sri Lanka with Global Clients

A practical guide to working as a remote developer from Sri Lanka with clients in the UK, USA, Canada, and Europe. Uvin Vindula shares real numbers on pricing ($8K-$80K projects), time zone management across IST and GMT, payment solutions that actually work for Sri Lankan developers, and the common mistakes that keep talented developers undercharging. Based on years of experience running Terra Labz and building production software for international clients from Colombo and London.

U
Uvin Vindula·August 19, 2024
Blockchain Security11 min
IAMUVIN

Access Control in Smart Contracts: Patterns That Prevent Exploits

A security auditor's guide to smart contract access control — from simple Ownable to role-based AccessControl, multi-sig patterns, timelocks, and emergency pauses. Includes real anonymized audit findings, vulnerable vs fixed code, and Foundry tests that catch access control bugs before attackers do.

U
Uvin Vindula·August 19, 2024
Supabase & PostgreSQL11 min
IAMUVIN

Supabase Row Level Security: The Patterns That Actually Work

A battle-tested guide to Supabase Row Level Security policies — SELECT, INSERT, UPDATE, DELETE patterns, auth-based policies, role-based access, multi-tenant RLS, performance tuning, and the mistakes I have made so you do not have to.

U
Uvin Vindula·August 12, 2024
Full-Stack Engineering12 min
IAMUVIN

Authentication in Next.js with Supabase: Production Patterns

Production authentication patterns I use in every Next.js project with Supabase Auth. From email/password and OAuth flows to middleware-based session management, protected routes on both server and client, role-based access control, and the auth bugs that cost me hours. Real patterns from uvin.lk and EuroParts Lanka that handle expired sessions, OAuth callback races, and edge cases most tutorials skip.

U
Uvin Vindula·August 5, 2024
NFT & Digital Assets12 min
IAMUVIN

On-Chain SVG NFTs: Building Dynamic Metadata That Lives on the Blockchain

A hands-on guide to building on-chain SVG NFTs with dynamic metadata that evolves based on blockchain state. Covers Solidity SVG generation, base64 encoding for tokenURI, gas optimization patterns, and comparison with IPFS-based approaches.

U
Uvin Vindula·August 5, 2024
Startup & Product Building11 min
IAMUVIN

How to Build an MVP That Actually Works: A Developer's Guide

A practical guide to building MVPs that validate your idea and attract real users — with real budgets, timelines, and examples from building products like GemStore.lk and EuroParts Lanka. Stop overbuilding. Start shipping.

U
Uvin Vindula·August 5, 2024
Next.js & React10 min
IAMUVIN

Streaming and Suspense in Next.js: Patterns for Fast Page Loads

Battle-tested streaming and Suspense patterns from production Next.js apps. Learn how to get LCP under 1.5 seconds by streaming expensive data fetches while showing an instant shell. Real examples from EuroParts Lanka and FreshMart.

U
Uvin Vindula·July 22, 2024