> For the complete documentation index, see [llms.txt](https://bibliotheca.gitbook.io/lootverse-master-scroll/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bibliotheca.gitbook.io/lootverse-master-scroll/technology/the-stack.md).

# The Stack

## Contracts

Bibliotheca's Open Source contracts can be found in a monorepo at <https://github.com/BibliothecaForAdventurers/realms-contracts>. We are actively seeking contributors, with rewards to be issued by the DAO.&#x20;

### **Solidity (L1 Ethereum)**

*Realms NFT* - <https://etherscan.io/address/0x7afe30cb3e53dba6801aa0ea647a0ecea7cbe18d>

*Journey Staking/Bridge* - <https://etherscan.io/address/0x17963290db8c30552d0cfa2a6453ff20a28c31a2>

### **Cairo (L2 StarkNet)**

The various games and services are rapidly developing, adapting to the evolving StarkNet ecosystem. Token contracts are built from Open Zeppelin standards (not yet finalised). Gaming logic contracts are built with an upgradable modular architecture consisting of an Arbiter & ModuleControlle, developed by the DopeWare RYO game. Anyone is able to propose modules to extend functionality, and if approved by governance the module is incorporated into the main logic (read more at <https://github.com/BibliothecaForAdventurers/realms-contracts/tree/main/contracts/settling_game#contract-hierarchy>).

*Desiege Minigame*

*Realms + Resources*&#x20;

*Settling Game*

*NFT Marketplace*

*Automated Market Maker (AMM)*

*Characters*

*Loot Distillation*

## Frontend

### **Nuxt.js/Vue.js**&#x20;

Bibliotheca adventurer explorer website and staking functionality at <https://bibliothecadao.xyz/>

This site is open-source and we encourage development.

### **React**

The main game client will run on next.js. This is in active development and will be made open-source when ready.

## Ancillary

### **Subgraphs**

Loot Ecosystem - <https://thegraph.com/hosted-service/subgraph/bibliothecaforadventurers/loot-ecosystem>

Realms - <https://thegraph.com/hosted-service/subgraph/bibliothecaforadventurers/realms>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://bibliotheca.gitbook.io/lootverse-master-scroll/technology/the-stack.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
