Skip to content

Ruxiol/RXCG-lottery

 
 

Repository files navigation

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 ⭐

About

RXC Games platform, Lottery module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.1%
  • JavaScript 1.5%
  • CSS 0.4%