Just built a modern DeFi DApp! ๐
Swap, add liquidity, and stake LP tokens for yield farming rewards.
Smooth Web3 UX with React 19, TS, Tailwind, wagmi & viem on Ethereum.
#DeFi#Web3#Ethereum#React#BuildInPublic
Today's journey : Yield Farming: The "Lego" of DeFi
Stacking fees, staking, and incentives for max rewards. Keep an eye on APY (Price, TVL, Emissions) and watch out for Impermanent Loss.
Stay sharp, farmers!
#DeFi#YieldFarming#Web3#BuildInPublic
Today's deep dive: The Synthetix #Staking model.
Use 'Reward Per Token' checkpoints to minimize gas and maximize precision.
Logic flow:
- Deposit LP Tokens
- Track global Reward Rate
- Calculate share per second
- Claim rewards!
#DeFi#Web3Dev#Solidity#BuildInPublic
Today's DeFi journey:Liquidity Pools
I finally understand the 50:50 ratio,LP tokens and how those 0.3% fees add up. But Iโm still a bit nervous about Impermanent Loss.
Do you have any favorite tools or calculators to track IL? Iโd love some recommendations!๐ #DeFi#LiquidityPool
Today's DeFi journey: Diving deep into AMM (Automated Market Makers)
Understanding the "x * y = k" formula is a game-changer. No more order books, just pure math and liquidity pools. It's fascinating how a simple equation can power billions in decentralized volume. #Web3#DeFi
Yesterday's journey : Just finished my complete NFT minting DApp
๐ซ Not deploying to Vercel yet. Why? This NFT minter is just the foundation. Once I have 3-4 polished projects, I'll launch a unified portfolio site that showcases the full journey.
#Web3#Wagmi#Viem#BuildInPublic
Just finished UI optimization for my NFT minting DApp:
๐จ Shipped:
- Toast notifications (Sonner)
- Skeleton loading states
- Smooth transitions & animations
- Button loading states
- Error handling UX
- Fixing TxHistory with actual data
#Web3UI#React#TypeScript#BuildInPublic
Today's journey : User Transaction History Complete!
GM. Just Implemented full #NFT ownership & transaction history for my minting #DApp.
Features shipped:
โ #Alchemy NFT API integration
โ User's owned NFT gallery
โ Transaction history table
โ #IPFS metadata fetching
Just implemented live event listeners for my #NFT minting #DApp!
Now when someone mints, the UI updates instantly โ no refresh needed.
Tech stack:
- #Wagmi's useWatchContractEvent
- #Viem for type-safe event parsing
- WebSocket RPC (Alchemy) for real-time subscription
Pro tip: Public HTTP RPCs don't support watchEvent. If you're building real-time features, invest in a WebSocket endpoint early.
Question I got: "How do I test event listeners without paying for WebSocket RPC?"
Answer: Build a unified hook that auto-switches!
Yesterday: #Wagmi + #Viem core logic. โ
Today: Seamless Wallet Integration. โ
Integrated WalletConnect via RainbowKit.
Why? Because building a QR modal from scratch is risky. Using industry standards ensures security & mobile compatibility (Deep linking + QR).
โ Implementing robust hooks (useRead/WriteContract)
โ Ensuring full TypeScript safety on ABIs
It's a slight delay, but refactoring now saves hours of debugging later. The foundation must be solid before scaling.
#Web3#ReactJS#Wagmi#Viem#Ethereum#BuildInPublic#Developer
I decided to pause the Vercel deployment for my #NFT mint #DApp from last week. Why? Because I want to integrate #Wagmi + #Viem properly before going live.
Speed is good, but stability & type-safety are better.
โ Migrating to Wagmi v2 + Viem
๐ Just built a clean NFT Mint UI with React + TypeScript + ethers.js!
No wagmi/viem (yet) - keeping it simple to understand the fundamentals first.
โ Wallet connection
โ Real-time supply tracking
โ Quantity selector + price preview
โ Transaction feedback + Etherscan link
Progress Update: Smart Contract Deployment ๐
Fixed the HH117 config error, then hit the classic Web3 rite of passage: "Insufficient funds for gas" โฝ
Learned today:
โ Testnet โ Free unlimited gas
โ Need Sepolia ETH from faucets
โ Localhost network is a lifesaver 4 testing