A comprehensive collection of Solidity smart contracts and Next.js applications demonstrating various Web3/blockchain concepts and DeFi protocols.
A modern decentralized exchange interface built with Next.js and wagmi. Enables users to swap tokens directly from their wallets using smart contract interactions.
Tech Stack: Next.js 15, React 19, wagmi, viem, ethers.js, TailwindCSS
Features:
- Wallet connection with wagmi
- Token swap functionality
- Real-time reserve data
- Swap preview & confirmation
- Responsive UI with Lucide icons
A complete ERC-20 token implementation with an interactive web interface for token management and interaction.
Tech Stack: Solidity, Next.js, wagmi, RainbowKit, ethers.js, TailwindCSS
Features:
- Standard ERC-20 token contract
- Token transfer interface
- Balance checking
- Multi-wallet support with RainbowKit
An NFT smart contract following the ERC-721 standard with a web interface for minting and viewing NFTs.
Tech Stack: Solidity, Next.js, wagmi, viem, TailwindCSS
Features:
- ERC-721 NFT contract implementation
- NFT minting interface
- Metadata management
- On-chain verification
A blockchain-based todo application demonstrating state management on Ethereum.
Tech Stack: Solidity, Next.js, wagmi, TailwindCSS
Features:
- Create, read, and delete todos on-chain
- Persistent blockchain storage
- Wallet-based user identification
Each project is independently configured. Navigate to the project directory and run:
npm install
npm run devThe development server will start at http://localhost:3000
- Smart Contracts: Solidity
- Frontend Framework: Next.js 15
- Web3 Libraries: wagmi, viem, ethers.js
- Styling: TailwindCSS, Lucide React
- State Management: React Query, React Context
- Wallet Integration: wagmi, RainbowKit
- Node.js 18+
- npm or yarn
- Web3 wallet (MetaMask, WalletConnect, etc.)
Each project requires:
- Contract addresses (in contract config files)
- Contract ABIs (included in respective projects)
- Chain configuration (via wagmi config)
MIT
Author: Wasif Bin Nasir
Email: wasifbinnasir@gmail.com