Skip to content

A blockchain-based web app casino game. Built for RPI's CSCI-4470 Open Source Software course.

License

Notifications You must be signed in to change notification settings

jweiss0/OSS-CryptoCasino

Repository files navigation

Crypto Casino

Overview

Crypto Casino is a web-based game, built on blockchain technology. It will utilize the blockchain to record and verify transactions that occur within the game, such as actions or task a player completes. Crypto Casino is a collection of casino games that will be played on a front end web application, with transactions recorded on the blockchain. This includes games such as blackjack, roulette, and slots.

Ultimately, we plan to use this project as a learning experience for blockchain development. The project is licensed under GPL v3.0 to ensure it maintains an open source status and can be used by others in the community to learn blockchain development. Much of the project is not set in stone, leaving it up to the developers and community to modify the plans for the project as they see fit.

Development

This project is currently under development, utilizing React + Typescript for the front end with Solidity + Hardhat for the smart contract back end. We plan to deploy the smart contracts to the Polygon network, but this is subject to change. For testing purposes, the Localhost network and Matic Mumbai network are used.

Front End

Running Local Project in Development Mode

  • Navigate to the frontend folder
  • Run $ npm install
  • Run $ npm start
  • Open http://localhost:3000 to view in browser

Back End

Configuring and Using Hardhat Environment

  • Navigate to project root folder
  • Run $ npm install

Hardhat Tasks

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.ts
TS_NODE_FILES=true npx ts-node scripts/deploy.ts
npx eslint '**/*.{js,ts}'
npx eslint '**/*.{js,ts}' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix

Local Network Deployment

  • Run $ npx hardhat node in a terminal
  • Run $ npx hardhat run --network localhost scripts/deploy.ts in a different terminal

Team

Name GitHub Handle
Jeremy Weiss jweiss0
Eugene Rozental eugrro
Kevin Cruz kevtlw
Brandon Red brandon-red
Ben Xu x-u-b

License

GPL v3.0

About

A blockchain-based web app casino game. Built for RPI's CSCI-4470 Open Source Software course.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published