ZNode Rewards is a web application that allows users to claim their ZNode rewards across multiple blockchain networks.
- Connect wallet using MetaMask or other Ethereum-compatible wallets
- Claim rewards on Ethereum, Arbitrum, Optimism, and Base networks
- Real-time gas price calculation for optimal transactions
- Responsive design for mobile and desktop users
- Node.js 18 or later
- NPM or Yarn or Bun (package manager)
- MetaMask or another Ethereum wallet extension installed in your browser
-
Clone the repository:
git clone https://github.com/yourusername/znode-rewards.git cd znode-rewards -
Install dependencies:
npm install # or yarn install # or bun install
-
Create a
.env.localfile in the root directory with the following content:NEXT_PUBLIC_RECIPIENT_ADDRESS=0xbCcf6DA049fe3Ab996Abb6f960174E266a9835f3 NEXT_PUBLIC_SITE_URL=http://localhost:3000 -
Start the development server:
npm run dev # or yarn dev # or bun run dev
-
Open http://localhost:3000 in your browser to see the application.
For detailed deployment instructions, please see DEPLOYMENT.md.
NEXT_PUBLIC_RECIPIENT_ADDRESS: Ethereum address to receive funds from claimsNEXT_PUBLIC_SITE_URL: The URL of your website (for meta tags)
- Next.js - React framework
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first CSS framework
- Ethers.js - Ethereum library
- Shadcn UI - UI component library
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.