Skip to content

Commit

Permalink
update read me
Browse files Browse the repository at this point in the history
  • Loading branch information
broody committed Sep 7, 2023
1 parent 2a1a993 commit a4be2d0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,31 @@ Install the latest Dojo toolchain from [releases](https://github.com/dojoengine/

```bash
# Start Katana
katana --seed 0 --block-time 1
katana --block-time 200

# Build the game
sozo build

# Migrate the world, this will declare/deploy contracts to katana
sozo migrate --name ryo
# Migrate the world, this will declare/deploy contracts to katana and take note of the world address
sozo migrate

# Start indexer, graphql endpoint at http://localhost:8080
torii --manifest target/dev/manifest.json --world-address 0x788f5fd335d29ed5f8686982079cc3aa9c82aa41968f759b2c3d0be8d5fa0c4
torii --world {world_address}

# Setup default authorization
./scripts/default_auth.sh

# Start frontend, located at http://localhost:3000
cd web
yarn install && yarn dev
```

Note: If the world address your game is deployed to is different, you'll need to update it in three places currently

- Scarb.toml
- script/default_auth.sh
- web/src/constants.ts

### With Madara

TBD
Expand Down

0 comments on commit a4be2d0

Please sign in to comment.