Skip to content

shramee/dojo-raw-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dojo no-framework starter

Completely unopinionated starter that just gives you basic interface to interact with your Dojo world.

Included helper methods in Dojo class - https://github.com/shramee/dojo-js

Directory structure

|-- client 
  | - public     Additional public files
  | - src        Your client source
  | - index.html Your index.html
  | - ...        Other build/package related stuff
|-- contracts
  | - src        Your cairo contracts
  | - scarb.toml Your cairo package config

Getting started

Step 0

Install Dojo as described here, https://book.dojoengine.org/getting-started/quick-start.html

Step 1: Sequencer

You can use Katana, a centralised high performance sequencer, to run your world.

In terminal start katana with this command:

katana

Step 2: Build/Test/Deploy

Terminal 2 can be used for building and deploy and later testing as you work on your contracts. In another terminal, build your contracts with sozo build and deploy with sozo migrate.

cd contracts
sozo build
sozo migrate

Step 3

In terminal 3 for client,

cd client
yarn dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published