Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 904 Bytes

README.md

File metadata and controls

28 lines (26 loc) · 904 Bytes

Proof Of Speed

Instruction

  1. Install Asdf
  2. Install Dojo
  3. Enter the client folder, install the dependencies and run:
    cd client
    npm i
    npm run dev
  4. In a new terminal enter the contract folder and run Katana tool (built in Dojo)
    cd contract
    katana --dev --dev.no-fee --http.cors_origins '*'
  5. In a new terminal enter the contract folder again and run
    cd contract
    sozo build && sozo migrate
  6. In a new terminal in the Proof-Of-Speed root folder run
    sh torii persistent "dojo_starter-Moved dojo_starter-PlayerSpawned dojo_starter-StartGame"
  7. Launch the browser and navigate to http://localhost:5173/
  8. Press the + button to start the game and then the arrows to move the player.