# The Stack

## Technology Stack

All game states and logic are created on the chain, and most transactions occur on the main chain. Then, the data is cached in the GraphQL indexer with good performance. Any front-end application can query the indexer, such as Atlas website or user created experience.

## contract

The open source contracts for Wandering Warrior can be found in Monoreto on GitHub (opened in a new tab), including L1 contracts written in Solidity and L2 contracts written in Cairo for StarkNet. These contracts include Wandering Warrior's hero and territory NFT asset contracts (ERC721 and ERC1155), to betting, game logic, bridging, and content (legend) contracts.

### The contracts currently deployed to the main network include:

Contract network address

Wandering Warrior Hero NFT (ERC721) Address:

Wandering Warrior Territory NFT (ERC721) Address:

Game V1 Address:

Game V2 Address:

## Indexer

Asset and game events are tracked by our own Indexer (opened in a new tab) using Apollo Server, Typescript, Prisma, and Postgres. This allows any client application (such as front-end, analysis tool, or robot) to use GraphQL to query events, or any suggested module to update the indexer, making new events available to the client.

## customer

Currently, most of the development is conducted on the Wandering Warrior official website (opened in a new tab), which will serve as the foundation for future Wandering Warrior games. This React client is built on Next.js and hosted on Vercel. You can find the source code on GitHub (opened in a new tab)

## contribution

We are actively seeking contributors and the DAO will distribute rewards. Contact the # builders committee on our Discord
