A multi-chain decentralized application (DApp) that allows users to send "GM" messages across multiple blockchain networks with a small fee. Built for the Base, Celo, and Optimism ecosystems.
🌐 Live Demo: https://gm-dapp-hub-ecosystem.vercel.app/
- Multi-Chain Support: Connect and interact with Base, Celo, and Optimism networks
- Dynamic Pricing: Always pay ~$0.01 equivalent in native currency (ETH/CELO)
- User Statistics: Track your GM streak and total GM count
- Wallet Integration: Supports MetaMask, Rabby Wallet, and other EVM wallets
- Real-time Fee Calculation: Automatic fee adjustment based on current token prices
| Network | Chain ID | Native Token | Contract Address |
|---|---|---|---|
| Base | 8453 | ETH | 0x4cA7...16FD |
| Celo | 42220 | CELO | 0x316b...f1fe |
| Optimism | 10 | ETH | 0x6693...781f |
- Connect Wallet: Click "Connect Wallet" and approve the connection
- Switch Networks: Use the "Switch to [Network]" buttons to change chains
- Check Fee: Verify the current GM fee for each network
- Say GM: Click "Say GM ☀️" to send your message and maintain your streak!
Each network has its own deployed contract with the following features:
sayGM()- Send a GM message with feegetGmFee()- Get current fee amountgetUserStats()- Retrieve user statistics (streak, total GM)- Automatic fee calculation based on current ETH/USD price (Base & Optimism)
- Fixed fee with manual adjustment (Celo)
- Frontend: HTML5, Bootstrap 5, Vanilla JavaScript
- Blockchain: Ethers.js 5.7.2
- Smart Contracts: Solidity 0.8.20
- Networks: Base, Celo, Optimism
- Price Oracles: Chainlink Price Feeds
This project is licensed under the MIT License - see the LICENSE file for details.