gameBit is a full-stack web application powered by blockchain technology and Next.js. It creates a platform where users can freely and securely sell or buy game keys using cryptocurrencies.
- Next.js
- React
- TypeScript
- daisyUI
- Axios
- Formik
- Yup
- Wagmi
- Web3.js
- Ethers.js
- Cryptocurrency Wallet Integration - Possibility to connect a diverse range of cryptocurrency wallets to allow secure transactions.
- Game Key Marketplace - Effortlessly list and purchase game keys.
- Intuitive Search Functionality - Easily discover available game listings through a user-friendly search interface.
- Comprehensive Game Information - Access detailed descriptions of each game.
- Dynamic Sorting and Filtering - Possibility to filter games based on genres, tags, and other relevant criteria.
Before setting up the project, make sure you have the following prerequisites installed:
- Node.js
The smart contract has been deployed, and the database is established, allowing for potential modifications. To implement updates to the database or deploy a new smart contract, follow the outlined steps by cloning the designated repositories:
Database
https://github.com/matvis01/graph-game-keys-marketplace
Smart Contract
https://github.com/matvis01/hardhat-game-keys-marketplace-backend
-
Navigate to the root directory in a terminal:
cd frontend
-
Install the frontend dependencies:
npm install
-
In the
.env
file, fill the following environment variables:
NEXT_PUBLIC_WALLET_CONNECT_ID = <wallet connect key>
NEXT_PUBLIC_RAWG_KEY = <rawg game API private key>
NEXT_PUBLIC_ENCRYPT_KEY = <generated encryption key>
- Start the frontend development server:
npm run dev
The application should start at port 3000.
_To alter the application's network, ensure to update the NEXT_PUBLIC_CHAIN_ID with the desired network's chain ID. Additionally, to switch to your own database, modify the NEXT_PUBLIC_GRAPH_URL to your preferred URL._
gameBit is licensed under the MIT License