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 deploy
to start a local dev net with the contracts deployedcd interface
andnpm ci
- it should install the required node modules automatically- (still in
interface
)node run
to start the interface, listening onlocalhost:8080
by default - Visit
http://localhost:8080
to 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).