Realms is an ever-expanding on-chain permission-less gaming Lootverse built on StarkNet.
This monorepo contains all of the Contracts (StarkNet/Cairo Ethereum/Solidity) for BibliothecaDAO, $LORDS, and Realms.
Directory | Title | Description |
---|---|---|
/settling_game | The Realms Settling Game | A modular game engine architecture built on StarkNet. |
/desiege | Desiege | A web-based team game built on Starknet. |
/token | Standard Tokens | Standard tokens (ERC721, ERC1155, ERC20) written in Cairo. |
/L1-Solidity | L1 contracts | A set of L1 contracts including the $LORDS, Realms, and the Journey (Realms staking). |
/openzeppelin | OpenZeppelin libraries | Ports of common libraries (e.g. ERC721) written in Cairo. |
/game_utils | Game Utils | Game utility contracts such as grid positions written in Cairo. |
/loot | Loot | Loot contracts ported to Cairo. |
/exchange | Exchange | Allows trades between pairs of ERC20 and ERC1155 contract tokens. |
/nft_marketplace | NFT Marketplace | A marketplace for Realms, Dungeons, etc. built on Starknet. |
/utils | Cairo utility contracts | Helper contracts such as safemath written in Cairo. |
First, visit the Bibliotheca DAO Site for an overview of our ecosystem.
Next, read the Master Scroll. This is our deep dive into everything about the game. The Master Scroll is the source of truth before this readme.
Finally, visit The Atlas to see the Settling game in action.
If you want to get involved, join the Realms x Bibliotheca Discord.
How to contribute
We encourage pull requests.
- Create an issue to describe the improvement you're making. Provide as much detail as possible in the beginning so the team understands your improvement.
- Fork the repo so you can make and test changes in your local repository.
- Test your changes Follow the procedures for testing in each contract sub-directory (e.g. /contracts/settling_game and make sure your tests (manual and/or automated) pass.
- Create a pull request and describe the changes you made. Include a reference to the Issue you created.
- Monitor and respond to comments made by the team around code standards and suggestions. Most pull requests will have some back and forth.
If you have further questions, visit #builders-chat in our discord and make sure to reference your issue number.
Thank you for taking the time to make our project better!
The Realms Settling Game spans a number of repositories:
Content | Repository | Description |
---|---|---|
contracts | realms-contracts | StarkNet/Cairo and Ethereum/solidity contracts. |
ui, atlas | realms-react | All user-facing react code (website, Atlas, ui library). |
indexer | starknet-indexer | A graphql endpoint for the Lootverse on StarkNet. |
bot | squire | A Twitter/Discord bot for the Lootverse. |
subgraph | loot-subgraph | A subgraph (TheGraph) for the Lootverse on Eth Mainnet. |