Eternum Expansion Starter: A comprehensive starter template for creating expansions for Eternum, the first major mod of the Realms Autonomous World.
Note: to use dojo-language-server, make sure to update cairo1.languageServerPath
in .vscode/settings.json
to the path of your dojo-language-server installation. You can get it by running $ where dojo-language_server
in your terminal
Eternum is built using dojo engine. You can install the dojo toolchain by:
curl -L https://install.dojoengine.org | bash
Read the dojo book here to discover the toolchain in depth.
Follow the steps here.
- In contracts directory, add your new models/systems
- Build your new contracts:
sozo build
- In Scarb.toml comment out account_address, private_key and world_address under ##prod and uncomment under ##dev
- Update remote eternum world:
sozo migrate
- In contracts directory, add your new models/systems
- Build your new contracts:
sozo build
- In Scarb.toml comment out account_address, private_key and world_address under ##dev and uncomment under ##prod
- Update remote eternum world:
sozo migrate rpc-url https://api.cartridge.gg/x/eternum/katana