---
# System prepended metadata

title: 'DIP-87: Layers of Dope'

---

# DIP-87: Layers of Dope

### Summary

The proposal focuses on deploying [Dope World](https://snapshot.org/#/dopedao.eth/proposal/0xfefee96a321ccc218d26c9f913bbd24cf2d733c801d030e863362b45388d207d) (DW) and [Roll Your Own](https://rollyourown.preview.cartridge.gg/) (RYO) as a Layer 3 (L3) application on top of the OP Mainnet. This proposal is an extension of [DIP-75: Dope World](https://snapshot.org/#/dopedao.eth/proposal/0xfefee96a321ccc218d26c9f913bbd24cf2d733c801d030e863362b45388d207d), the first version of RYO will still be deployed to Starknet in the short term according to the original proposal.

This extension will utilize [Cartridge Slot](https://cartridge.gg/blog/introducing-slot) with [Katana](https://book.dojoengine.org/toolchain/katana/overview.html) for execution, taking advantage of [zero-knowledge proofs (zkproofs) and fractal scaling](https://www.dojoengine.org/en/articles/provable-games/) to provide cheap, low latency, high throughput compute that will be settled on to OP Mainnet. The L3 network will use PAPER tokens for transaction fees. The proposal also includes the development of a bridge between Layer 2 (L2) and L3 for briding tokens and data between the networks.

### Technical Specification

**Layer 3 Deployment**: DW and RYO will be launched as an L3 application, leveraging the scalability and efficiency of Dojo and Cartridge Slot. The exact scaling architecture is still being defined, there will likely be a persistent [Dope World](https://snapshot.org/#/dopedao.eth/proposal/0xfefee96a321ccc218d26c9f913bbd24cf2d733c801d030e863362b45388d207d) Layer 3 and potentially ephermeral Layer 4 (L4) sequencers used for RYO sessions.

**Use of Zero-Knowledge Proofs**: DW and RYO game rounds will employ zkproofs for aggregating and settling transactions onto the OP Mainnet. This reduces transaction costs, while maintaining the integrity and transparency of the game. Leveraging this technology entails deploying a STARK verifier and [fact registry](https://medium.com/starkware/the-fact-registry-a64aafb598b6) to OP Mainnet, necessary for registering outcomes of higher layers to lower layers.

**Layer 2 Integration**: A bridge will be developed to facilitate seamless interaction between L2 and L3+ layers. This bridge will support the transfer of assets and data. Cartridge will provide tooling and infrastructure to seamlessly move between chains. Additionally, Cartridge will extend the hustler configuration and indexing services to ensure functionality and compatibility with Dope World.

**PAPER as Fee Token**: Transactions within the game and across the bridge will require PAPER tokens as fees. This integration provides utility to the PAPER token, enhancing its relevance within the ecosystem.

### Timeline

It is expected that this work will be ready for testing in Q2 2024 and production in Q4. There are dependencies on proving infrastructure, audits, and settlement technologies that could delay the production deployment. The Cartridge team has a track record of delivering innovative technologies to the Dope Wars ecosystem and will continue with that commitment.

### Compensation

The proposal requests 100k OP tokens as compensation for the development and deployment of these features, vested over 1 year.

### Maintainance

Cartridge will operate the L3 network. The operation of the Dope World network, including sequencing, proving, and settlment onto OP Mainnet, will be covered by transaction fees. The DAO can optionally assess a fee margin to be deposited back into the DAO treasury or burned.

### Intellectual Property

For this project, any new intellectual property created by Cartridge, while working in the dopedao github repositories (e.g., any new intellectual property created while extending the hustler configuration and indexing services to ensure functionality and compatibility with Dope World) will be licensed under CC0, MIT, or a similar open-source license that is equally permissive. Cartridge shall otherwise retain sole discretion to determine whether and how any other intellectual property it developed or will develop may be licensed to assigned to this project.

### Conclusion

This proposal aims to bring innovative gaming experiences to the Dope Wars ecosystem, leveraging the latest in blockchain technology for enhanced gameplay and user interaction. The integration of zkproofs and the development of a new L2 <-> L3 bridge are particularly noteworthy, as they represent significant advancements in blockchain gaming infrastructure.