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
|-- 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
Install Dojo as described here, https://book.dojoengine.org/getting-started/quick-start.html
You can use Katana, a centralised high performance sequencer, to run your world.
In terminal start katana with this command:
katana
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
In terminal 3 for client,
cd client
yarn dev