Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 684 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 684 Bytes

Web3 Rock-Paper-Scissors

Disclaimer

This code is intended for educational purposes only. It is not production-ready. Use at your own risk.

Running the code

  1. Deploy the contracts
cd packages/contracts
pnpm test
pnpm deploy:hekla
  1. Deploy the subgraph

  2. Update the deployment values in the setup contract and start the game with test data:

cd packages/contracts
pnpm setup:hekla
  1. Update the deployment values for the close contract and close the game (publish the results):
cd packages/contracts
pnpm close:hekla