Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🎮 NuGame

NuGameGif

NuGame is a pioneering web application that rewards gamers with cryptocurrency for in-game achievements. Players can earn GameTokens, our unique cryptocurrency, by completing various challenges and milestones within supported games.

🚀 Table of Contents

  • Features
  • Technologies Used
  • Installation
  • Smart Contract Deployment
  • Usage
  • Code Overview
  • Contributing
  • Contact

✨ Features

  • 🏆 Reward System: Earn GameTokens for in-game achievements.
  • 🔐 Blockchain Integration: Utilizes Ethereum smart contracts for secure and transparent transactions.
  • 🔑 User Authentication: Secure login and signup system.
  • 🎮 Game and Achievement Sections: Explore supported games and track your achievements.

🛠️ Technologies Used

  • 🌐 Frontend: React.js
  • 🚀 Backend: Node.js
  • ⛓️ Blockchain: Ethereum, Solidity
  • 📜 Smart Contracts: Ethers.js
  • 🎮 API: Steam API (for fetching player game data)

🚀 Installation

  1. Clone the repository:
    git clone https://github.com/soorajdmg/nugame.git
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm start

📜 Smart Contract Deployment

  1. Ensure you have MetaMask or another Ethereum wallet installed.
  2. Deploy the smart contract to the Ethereum network.
  3. Update the contractAddress and contractABI in the project to match your deployed contract.

📋 Usage

  1. Open the application in your browser.
  2. Connect your Ethereum wallet.
  3. Sign up or log in to your account.
  4. Explore games and achievements.
  5. Earn GameTokens for your in-game achievements!

🗂️ Code Overview

Main Components

  • App.js: The main application component. Manages state and wallet connection.
  • Navbar.js: Navigation bar component for user interaction.
  • Home.js: Home page component.
  • Login.js: Login component for user authentication.
  • Signup.js: Signup component for new user registration.
  • SectionGames.js: Displays the list of supported games.
  • SectionAchievements.js: Displays the list of achievements.
  • Achievements.js: Manages achievement-related actions.

State Management

  • Utilizes React useState and useEffect hooks for managing component state.
  • Handles wallet connection and contract interaction within App.js.

Contract Interaction

  • Connects to Ethereum wallet and smart contract using ethers.js.
  • Functions killAch and playtimeAch handle token transfers for specific achievements.

🤝 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit your Changes (git commit -m 'Add some AmazingFeature').
  4. Push to the Branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

📬 Contact

Have a question or want to collaborate? Reach out to me:


⭐️ Don't forget to give a star if you like the project!

NuGameSS1

NuGameSS2

NuGameSS3

About

NuGame - Gamer Rewards

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages