Skip to content

Realms Monorepo for Ethereum Contracts and Starknet contracts.

License

Notifications You must be signed in to change notification settings

xelduin/realms-contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Twitter

Realms x Bibliotheca header

📝 Realms Contracts

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.

Contracts

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.

Learn more about Realms

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.

Contributing

How to contribute

We encourage pull requests.

  1. 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.
  2. Fork the repo so you can make and test changes in your local repository.
  3. 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.
  4. Create a pull request and describe the changes you made. Include a reference to the Issue you created.
  5. 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!


Realms Repositories

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.

About

Realms Monorepo for Ethereum Contracts and Starknet contracts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.5%
  • Solidity 6.3%
  • TypeScript 3.9%
  • Other 1.3%