Eternum is built on Cairo smart contracts and runs on the Dojo game engine. It's open-source, licensed under both MIT for software freedom and CC0 for public domain use, ensuring wide accessibility and community-driven development.
Eternum represents the culmination of two years of dedicated effort, aimed at crafting a world that transcends the bounds of its creators. It's not just a game; it's a sophisticated fusion of economic and social frameworks, forming the backbone of a burgeoning digital society. Eternum is designed to evolve and grow, offering a dynamic experience far removed from the conventional notion of a 'finished game' like Civilization 6. Think of it as a living, breathing digital ecosystem, constantly evolving and inviting endless exploration.
Click to expand
Eternum will exist on the Realms World L3 network. Read the documentation here: dev
Emphasizing the concept of a truly Autonomous World is pivotal. In our vision, it must embody two key characteristics: radical openness and persistence. But what exactly does this entail? Let's delve into both theoretical and mechanical perspectives.
From a theoretical standpoint, radical openness signifies an inclusive world accessible to everyone. This openness transcends traditional barriers - there are no gatekeepers, no singular entities exerting control. Instead, it's a space where anyone can contribute, build, and actively participate without restrictions.
Mechanically, radical openness is reflected in the flexibility and adaptability of the world's underlying structures. The contracts that define this world are not rigid; they are designed to be extended, forked, and maintained by anyone with the willingness and capability to do so.
Envision Eternum as akin to the original cellular structure in a primordial soup. Over time, this basic form dissolves, giving rise to a more complex organism. Eternum is the genesis, the starting point from which an intricate and expansive world emerges, constantly evolving and reshaping itself in response to the contributions and interactions of its inhabitants.
Development of Eternum is open-source. All efforts are funded via OnlyDust. If you would like to contribute comment on an open issue.
- Dojo onchain game engine
- React
Install dojo via
curl -L https://install.dojoengine.org | bash
Make sure install the same version within the Scarb.toml
file. Currently this is v0.6.0-alpha.4
Eternum uses a pnpm workspace to allow easy npm packages to be created. So you will need pnpm installed also.
npm install -g pnpm
We have bundled up three scripts to run in three different CLI terminals. Run the scripts in order and leave the window open.
This will set the client up, however you must run the other scripts otherwise it will not work
sh scripts/client.sh
sh scripts/contracts.sh
sh scripts/indexer.sh
- Dependencies: Install deps
# @dev: Client will not work until the next step is also complete pnpm i && pnpm build-packages && pnpm dev
For local setup and execution on Katana, follow these steps:
-
Navigate to Contracts Directory:
cd contracts
-
Build Contracts:
sozo build
-
Run Katana:
katana --disable-fee
-
Apply Migrations:
sozo migrate
-
Run Indexer (in another cli window):
torii --world <WORLD ADDRESS>
-
Set Environment Variables:
source scripts/env_variables.sh
-
Configure Settings:
# Make sure to set a delay in seconds of at least 0.1 seconds between each transaction ./scripts/set_config.sh
This project is licensed under the MIT License. See the LICENSE file for more information.