This repository contains a plugin for the Dojo framework, which allows to connect to Torii and Starknet using Bevy.
- Install Dojo
1.5.1by running:
dojoup install 1.5.1- Clone the dojo-intro repository and compiles it.
git clone https://github.com/dojoengine/dojo-intro.git
cd dojo-intro/contracts
sozo build- Run Katana and migrate (still in the
dojo-intro/contractsdirectory):
katana --config ./katana.toml
sozo migrate- Run Torii:
torii --config ./torii_dev.toml- Run this example:
cargo run --example introMore is coming with better UI but currently you can:
- Press
Cto connect to Torii and Starknet. - Press
Sto subscribe to Torii entities updates. - Press
Spaceto spawn a cube at position(10, 10). - Press the arrows to move the cube.