World Contract
The World contract acts as a central database that stores all models and systems while managing permissions. Think of it as a global store for your application's state.
By abstracting these details with the World API, developers can focus on building rich, interactive systems without worrying about the underlying data management intricacies.
Each project utilizing the same version of Dojo employs an identical world contract, which is part of the dojo-core library.
Dive into the world contract details:
- API the full API of the world contract and some utilities functions.
- Events emitted by the world to notify the indexer about state changes of the world.
- Authorization how to grant and revoke permissions to define who can write and read to the world's models.
- Metadata how to set and get metadata for the world.