The game is fully decentralised. Players come together to play a tournament entirely via submitting transactions on chain.
- Clone this repository:
git clone https://github.com/xrchz/hodlem - Get dependencies:
- Node.js: https://nodejs.org/
- Foundry: https://getfoundry.sh/
- Vyper:
pip install vyper - Ape:
pip install eth-ape
- Install Ape plugins:
ape plugins install . ape test
Follow the installations instructions above first.
ape run -I deployto start a local dev net with the contracts deployedcd interfaceandnpm ci- it should install the required node modules automatically- (still in
interface)node runto start the interface, listening onlocalhost:8080by default - Visit
http://localhost:8080to see the interface and take it from there!
The contracts have not yet been deployed. When they are, it will be the same as
above (from step 2) to run the interface, providing the deployment address and
an RPC node as environment variables (or in the .env file).