Clone repository
git clone https://github.com/Starklandxyz/app --recursive
Clone submodule
git submodule add https://github.com/Starklandxyz/contract contracts
-
Build contracts
-
Build Frontend
Subsequently, clone this project and execute the following commands in the terminal:
yarn
yarn dev
instal dojo toolchain with dojoup -v nightly
go contracts folder
- terminal_1
katana --disable-fee
- terminal_2, comment world_address
sozo build && sozo migrate name --test
- terminal_3 uncomment world_address
touch indexer.db
torii -d indexer.db
To avoid redeploying contracts, you can save the Katana state by using the following command.
katana --disable-fee --load-state ./dump-state.bin --dump-state ./dump-state.bin
-
generate component
yarn components
-
generate sql indexer
yarn codegen