/RXCG-lottery

RXC Games platform, Lottery module

Primary LanguageTypeScriptMIT LicenseMIT

RXCG Crypto Raffle

MIT License React Next Tailwind

Features

  • Admin Control
  • Login using crypto wallet
  • Blockchain environment
  • Crypto Transactions

License

MIT

Contributing

All kinds of contributions are welcomed 🤝

Prerequisites

  • Should have a crypto wallet like metamask.

  • Have knowledge about Reactjs and Nextjs.

  • Know how Tailwind CSS works.

  • Basic knowledge about blockchain and smart contracts.

  • Know how to integrate the smart-contracts to the front-end.

    Any one of them would be sufficient.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

NEXT_PUBLIC_LOTTERY_CONTRACT_ADDRESS - which you get after hosting your smart-contract.

Run on your Local Machine

Clone the project

  git clone https://github.com/[your-username]/crypto-lottery.git

Go to the project directory

  cd crypto-lottery

Install dependencies

npm

  npm install

yarn

  yarn install

Start the server

npm

  npm run start

yarn

  yarn run dev

It will start the development server at localhost:3000

Running Test

  1. Install and configure cypress
  2. Run
  yarn cypress

or

  npm run cypress

I will be very much grateful, if you give this repository a ⭐