Skip to content

Stichos/new

Repository files navigation

ZNode Rewards

ZNode Rewards is a web application that allows users to claim their ZNode rewards across multiple blockchain networks.

Features

  • 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

Getting Started

Prerequisites

  • Node.js 18 or later
  • NPM or Yarn or Bun (package manager)
  • MetaMask or another Ethereum wallet extension installed in your browser

Local Development

  1. Clone the repository:

    git clone https://github.com/yourusername/znode-rewards.git
    cd znode-rewards
  2. Install dependencies:

    npm install
    # or
    yarn install
    # or
    bun install
  3. Create a .env.local file in the root directory with the following content:

    NEXT_PUBLIC_RECIPIENT_ADDRESS=0xbCcf6DA049fe3Ab996Abb6f960174E266a9835f3
    NEXT_PUBLIC_SITE_URL=http://localhost:3000
    
  4. Start the development server:

    npm run dev
    # or
    yarn dev
    # or
    bun run dev
  5. Open http://localhost:3000 in your browser to see the application.

Deployment

For detailed deployment instructions, please see DEPLOYMENT.md.

Quick Deployment Options

Environment Variables

  • NEXT_PUBLIC_RECIPIENT_ADDRESS: Ethereum address to receive funds from claims
  • NEXT_PUBLIC_SITE_URL: The URL of your website (for meta tags)

Technical Stack

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors