DEV Community

DevMonster for Soroswap.Finance

Posted on

New Partnerships Unveiled: SubQuery and Mercury

In a previous update, we explored the prospect of forming partnerships with ten different entities within the Stellar ecosystem. Today, we're thrilled to announce our collaborations with two standout partners: SubQuery and Mercury. We'll also provide an in-depth look at the specialized code we're crafting for each partnership.

Among the ten potential partners we considered, the list included indexers, wallets, decentralized protocols, interoperability protocols, and educational content providers. Although each of these options presented a valuable opportunity to enrich the Stellar ecosystem, we have identified SubQuery and Mercury as the partners that most align with Soroswap's immediate objectives.

While SubQuery and Mercury both serve as indexers, they operate differently, which makes each uniquely valuable to us.

First Partnership: SubQuery

Our inaugural partnership is with SubQuery, a multifaceted indexer that works closely with various blockchain platforms, including Stellar and Soroban. SubQuery's user-friendly interface simplifies production deployments.

SubQuery provides a comprehensive solution for project configuration and its IPFS publishing feature promotes a more decentralized pipeline. However, to access the information we need, we are required to either rent or set up a private RPC, since public RPCs have usage restrictions and a SubQuery project tends to exceed those.

In specific terms, we're developing software that customizes the SubQuery project to efficiently pull information related to Smart Contracts. This software will be deployable to IPFS, enabling its use on SubQuery's Managed Service.

Second Partnership: Mercury

Our second alliance is with Mercury, a subscription-based indexer offering cost-effective and efficient solutions. Mercury comes equipped with various tools, including an alert system and a code execution environment that benefit from direct access to our database.

Mercury's API is readily available; you simply request an API key and begin querying their endpoints for information. Given its subscription-based model, it's crucial to know upfront what data you need to extract from Soroswap's Smart Contracts since Mercury only stores data once you've subscribed to a specific data type.

In the coming days, we'll be sharing code for a client built on Node.js, using Axios to both subscribe to contracts and query Mercury's endpoints for state changes in contracts.

Top comments (0)