Skip to main content

Oracle

Oracle

You can find the source

The decentral oracle, deployed on Shibarium, is responsible for storing important world data, such as the location of dynamic data on the specific blockchain. The decentral oracle acts as a central source of truth, providing a reliable and secure way for nodes to access the dynamic world data for all virtual worlds. It is a vital component in the functioning of our virtual world system as it ensures consistency and accuracy of the data across all worlds.

When a world is created on the decentralized oracle, it is assigned to a specific owner as a NFT on Shibarium (direct minted). This owner has full ownership of the world, including the ability to transfer and trade the world to other users.

Contract snippet

Fixed world data and version
struct World {
uint256 id;
string name;
string mainNode;
uint256 chainId;
address chainContract;
address owner;
}