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.
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.
- Navigate to the
frontend
folder - Run
$ npm install
- Run
$ npm start
- Open http://localhost:3000 to view in browser
- Navigate to project root folder
- Run
$ npm install
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
- Run
$ npx hardhat node
in a terminal - Run
$ npx hardhat run --network localhost scripts/deploy.ts
in a different terminal
Name | GitHub Handle |
---|---|
Jeremy Weiss | jweiss0 |
Eugene Rozental | eugrro |
Kevin Cruz | kevtlw |
Brandon Red | brandon-red |
Ben Xu | x-u-b |
GPL v3.0