RetroShades: gas-less events to power seamless indexing

Define in a few lines of code your cloud indexing from the smart contract and save with gas-less events
Header image

Contract-level indexing

Define the indexer directly inside your contract without altering it on-chain. All you need to create your indexer are basic Soroban coding skills.

Near-Instant Development

Develop even complex indexers in a few lines of code, streamlining your workflow.

Gas-less events

Retroshades are emitted off-chain and are not a burden to your users fee-wise as they don't grow the on-chain meta size.

Hassle-Free Infrastructure

No need to manage any infrastructure: Deploy to Mercury's Retroshade network and start submitting SQL queries.

Customized SQL Queries

Customer-crafted pure SQL queries. RetroShades allows you to design and implement precise, efficient database queries tailored to your specific needs.

Retroshades Backend & DB Adapter

Rely Mercury's sophisticated and efficient XDR backend and database adapter: interact with human-readable types for efficient and advanced queries, say goodbye to XDR.

How It Works

Building indexers like never before: fork, build, deploy and query.

Fork Smart Contract Binaries.

Fork the smart contract, include logic to retrieve data as runtime variables, and emit retroshades.

Deploy To Retroshades Network.

Deploy the fork of the smart contract to the Retroshades Mercury network. The network runs in parallel to the main network, ensuring that your retroshade events are emitted off-chain in real-time.

Retrieve Data: Craft and send SQL Queries.

Our Mercury Retroshades backend can process retroshade events and organize them as structured database tables that do not interface with XDR, ensuring efficient and unlimited queries. Send your SQL requests directly through Mercury's API.