Scalable Off-Chain Marketplace dApp with Cartesi Rollups

RFP Title:
Scalable Off-Chain Marketplace dApp with Cartesi Rollups


Wave 2 Intent:
Grow the Cartesi ecosystem


Overview:
The traditional limitations of on-chain marketplaces, including high gas costs and limited computational power, can hinder large-scale applications, such as bulk item management or extensive data handling. Current Web3 solutions often struggle to balance scalability, affordability, and performance.

This RFP proposes a Scalable Off-Chain Marketplace dApp using Cartesi Rollups to integrate off-chain computational power and ensure gas efficiency. Leveraging Cartesi’s infrastructure allows us to manage complex logic, like bulk orders and item discounts, through off-chain servers, which significantly reduces costs and allows for enhanced marketplace features. This approach will serve as a model to onboard more Web2 users into Web3 by demonstrating cost-effective, high-performance applications.


Solution:
The desired solution is a dApp marketplace where complex calculations (e.g., bulk discounts, transaction processing) are handled off-chain with Cartesi Rollups, while essential data and ownership records remain on-chain for transparency and security.

Solution Steps:

  1. Smart Contract Development: Writing a smart contract that manages basic marketplace functions (e.g., listing, and buying items).
  2. Off-Chain Server Integration: Create a JavaScript off-chain server that handles intensive marketplace logic, such as discounts and inventory checks.
  3. Cartesi Rollups: Use Cartesi Rollups to communicate between the off-chain server and the blockchain, ensuring efficient data transfer for computations.
  4. Frontend Interface: Develop an intuitive interface that allows users to interact seamlessly with both the off-chain server and the on-chain contract.
  5. Web2 to Web3 Transition: Ensure the solution is user-friendly, scalable, and appealing to Web2 users interested in Web3 technology.

Team Qualifications:
To accomplish this project, the team will need skills in:

  • Smart Contract Development: Proficiency in Solidity for Ethereum-compatible dApps.
  • Off-Chain Computation: Experience with Node.js and JavaScript for handling bulk marketplace computations off-chain.
  • Cartesi Rollups Integration: Familiarity with Cartesi’s infrastructure, API, and Rollups framework.
  • Frontend Development: Expertise in creating interactive, scalable user interfaces (React.js, Next.js).
  • Project Management and Testing: Ability to design and execute end-to-end testing for marketplace operations to ensure reliability and scalability.

1 Like

@Samuel Glad to see your submission!

Please review the CGP Wave 2 Intents to confirm and update your RFP proposal with the intent it aligns with.

It looks like you’re using the Tightly-Scoped RFP Template, but the proposed solution currently reads as broad. If your goal is to propose a specific solution, I encourage you to make it more specific and clearly defined.

Feel free to refer to the RFP examples for guidance on structuring a Tightly-Scoped RFP proposal. Let me know if you have any questions or need further clarification!

1 Like

@hellen Thank You. I have updated the RFP proposal with the intent it aligns with.

I’m having a bit of a hard time understanding the angle here, are you trying to make a framework or a marketplace dApp?

The intent in question specifies:

"Objective: Strengthen the ability of developers to deploy and run applications on Mainnet L1s or L2s.

The ecosystem should focus on growing the number of high-demand Mainnet applications through support for infrastructure, services, and software for mainnet applications.

This includes software and tooling that reduce challenges of deploying Cartesi-based Mainnet applications."

This feels more like something that tries to launch a particular dApp rather something that benefits and grows mainnet applications in practice.

Given the scalability requirements I would also mention that this has to use large scale enough data availability as the price per order or item of database updates would probably be prohibitive otherwise. There is also a privacy issue scenario, as customers would not necessarily want let’s say, a christmas present leaked to the wider public and Cartesi does not yield ZK level privacy.

Additionally, I don’t see how this contributes to the Success Criteria - could you elaborate how you see this?

"* Increase in the number of developers deploying applications on mainnet.

  • Positive feedback and strong engagement from the developer community have been demonstrated."

Thank you i have corrected the intent to “Grow the Cartesi ecosystem
A marketplace is a familiar concept that makes it easier for Web2 developers to bring real-world ideas into Web3

Bridging the Gap Between Web2 and Web3:
The marketplace concept offers a straightforward path for Web2 developers to adapt real-world ideas like e-commerce, service marketplaces, or resource-sharing platforms—into decentralized applications on the blockchain. The familiarity of the model reduces the complexity of translating these ideas into functional Web3 solutions.

Encouraging Innovation with Scalable Infrastructure
By leveraging Cartesi Rollups for off-chain computation, the proposal demonstrates how even complex real-world applications, like supply chain marketplaces or ticketing systems, can operate efficiently on the blockchain. This scalability removes the limitations developers typically face, opening the door for more ambitious ideas to be deployed on mainnet.

Reducing Technical Barriers for Newcomers:
Web2 developers often struggle with the steep learning curve of blockchain development. This proposal provides:
Pre-built components: Making it easier to plug in familiar features like product listings, transactions, and reviews.
Comprehensive tutorials and templates: Guiding developers step-by-step in turning their real-world ideas into deployable mainnet applications.

Inspiring Real-World Applications
A decentralized marketplace showcases the potential for blockchain-based solutions in solving real-world challenges, such as:
Transparent and tamper-proof supply chain tracking.
Peer-to-peer gig economy platforms with decentralized governance.
International marketplaces without intermediaries.
These examples encourage developers to think creatively about applying their Web2 expertise in Web3 contexts, leading to more mainnet deployments.