Hackathon project that enables restaurant owner to manage table and menu and customer payments through Polygon blockchain
Add feature list
State current limitations
- We use lerna package manager so go a head and install lerna first: https://lerna.js.org/
- Make sure you have a wallet and add the mumbai polygon testchain: https://medium.com/stakingbits/how-to-connect-polygon-mumbai-testnet-to-metamask-fc3487a3871f
- Make sure you have some MATIC: https://mumbaifaucet.com/ Since the smartcontract is already deployed to mumbai testnet we only need to install dependencies and start the server
- run on the root level
lerna bootstrap - cd to src/website
- run
yarn dev - server is now exposed on http://localhost:3000/
In case you want to deploy smart contract to mumbai testnet:
- Navigate to packages/hardhat
- run
npm run deploy - Once deployed you should cope the "Spawner" contract id
- Set this id within the website folder env to NEXT_PUBLIC_SPAWNER_CONTRACT_ADDRESS