Formula Ether is a dApp running on Ethereum, where multiple users can bet on their favorite Formula 1 teams. The game logic is implemented within a smart contract deployed on the blockchain.
- Node.js version > 12.0.0: https://nodejs.org/en/download/
- Metamask browser extension: https://metamask.io/
- Ganache or a connection to the UZHETH Blockchain
- Deployed smart contract and its address
This client needs a connection to a local Ganche instance. The contract
can be deployed with e.g. Remix IDE by adding the local Ganache network to Metamask and the selecting Injected Web3
as the environment upon deploying the contract. In this case the contract address needs to be updated in src/consts/addresses.const.js
The client will connect to this chain and
interact with the deployed betting contract to place bets and retrieve winners.
Alternatively, you can use the UZHETH blockchain, providing an account with some assets available. Therefore, the user needs to be within the UZH network, or establish a VPN connection. To connect to the UZHETH blockchain the following credentials can be used:
- Networkname: UZHETH
- New RPC-URL: http://130.60.244.246:8545
- Chain ID: 702
- Currency Symbol: UZHETH
More information about the UZHEthereum chain can be found here.
npm install
npm run serve
npm run build
npm run lint
