Skip to content

Jonatan-Chaverri/dojo-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Dojo Starter example

This is an unofficial Dojo Starter Guide, designed to help you quickly set up your provable game in Dojo. This guide will assist you with the initial setup.

Read the full official tutorial here.

Pre requisites

  • NodeJS
  • Install dojo
curl -L https://install.dojoengine.org | bash
dojoup -v 0.7.4

Running Locally

Contracts

Terminal one (Make sure this is running)
# Run Katana
katana --disable-fee --allowed-origins "*"
Terminal two
cd contracts

# Build the example
sozo build

# Migrate the example
sozo migrate apply

# Authorize actions system to access your models
./scripts/default_auth.sh

# Start Torii
torii --world 0xb4079627ebab1cd3cf9fd075dda1ad2454a7a448bf659591f259efa2519b18 --allowed-origins "*"

Client (React app)

On another terminal

cd client

# Install dependencies
pnpm i

# Run the project
pnpm run dev

Happy coding!

About

Dojo starter app for starknet bootcamp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published