Skip to content

Monorepo for both backend and contract developments of Regen Bingo!

Notifications You must be signed in to change notification settings

neu-fi/regen-bingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regen-bingo

A global trustless Bingo game where half of the proceeds go to public good funding.

Development

Use Node 16+ and Yarn 3.

Tab 1

Install dependencies

yarn

Run Hardhat Chain

yarn chain

Tab 2

While keeping the yarn chain tab open, follow the instructions below in a seperate tab.

Deploy the contract

yarn deploy

While deploying if the hardhat chain crashes due to heap allocation error, please use --max-memory parameter. In order to do that, add --max-memory <memory-size> to the packages/backend/package.json. e.g.

hardhat deploy --max-memory 8192 --export-all ../frontend/contracts/hardhat_contracts.json

Run the frotnend

yarn dev

Documentations

  • create-web3.xyz to view the full documentation of the boilerplate.
  • wagmi to learn more about the React Hooks for Web3 integrations library.
  • RainbowKit for the wallet connection component.

About

Monorepo for both backend and contract developments of Regen Bingo!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published