Solv Protocol
Published in

Solv Protocol

Solv Vouchers Uses The Graph to Power Its New Marketplace

This new development allows faster and more accurate on-chain price feeds.

Solv Vouchers is a platform that allows you to create, manage or trade locked tokens for projects, where users can either list their vouchers for sale or purchase and trade vouchers of interest.

Solv Vouchers helps projects mint their own vouchers as vested tokens, currently in the form of financial NFTs. Vouchers can be added within the new marketplace, with Solv Vouchers compatible with ERC-721 token standards, so users can combine or split existing vouchers as well as new ones freshly bought.

With the launch of Solv Vouchers, Solv has also launched a new marketplace interface which shows the collection of available products.

However, considering the various types of vouchers that make up the front-end display and the variety of information that needs to be displayed, it can be quite difficult for users to navigate.

The Graph, which provides a convenient way to access data from the blockchain, has established an efficient solution to deal with this issue. Solv Vouchers will use The Graph to query order lists and trade information, while also helping you to maintain a record of the market.

We’ve been able to translate the event data of smart contracts to data entities on Solv Vouchers, so that any operation in the market can be monitored by The Graph and stored on the database. This allows us to retrieve all open voucher sale orders to the subgraph using the GraphQL API.

Additionally, in order to provide users with a view of their actions in the voucher marketplace, we can make a call to the subgraph, adding in the user’s address as an extra query criterion.

When you’re using a trading market, one of your main priorities is always likely to be the ability to filter orders according to your interests. With the help of The Graph, Solv Vouchers can do this with minimal effort.

We can also make combined queries to the subgraph. For example, the query below will retrieve all sale orders using the supported payment token, ETH, from the first order to the last.

Last but not least, The Graph can be used to track a variety of data statistics. In our subgraph, we have defined a number of statistical models to keep records of the voucher marketplace, including the number of open sale orders, historical transaction records and the daily trading volume, among others. The value of these data entities are updated as new events occur.

With all that being said, retrieving statistics from Solv Vouchers is now super convenient with just a simple query to the subgraph required.

Notable subgraphs like Rinkeby testnet and Mainnet of Ethereum are already on board for this new collaboration. Developers who want to retrieve data from Solv Vouchers can visit the following subgraphs:



About The Graph

The Graph is the indexing and query layer of the decentralized web. Developers build and publish open APIs, called subgraphs, that applications can query using GraphQL. The Graph currently supports indexing data from Ethereum, IPFS, and PoA with more networks coming soon. To date, over 18,000 subgraphs have been deployed on the hosted service and now subgraphs can be deployed directly on the network! ~20,000 developers have built subgraphs for applications, such as Uniswap, Synthetix, Aragon, Gnosis, Balancer, Livepeer, DAOstack, AAVE, Decentraland, and many others.




Solv is a DeFi protocol which has created the first ever vNFT token standard, designed for the future of DeFi & Financial NFT’s

Recommended from Medium

NEX vision and opportunities — part I

When Blockchain, DAOs and Smart Contracts revolutionize financing for renewable energy projects

Zap Project June Update

Cleaner Crypto: Tezos for the RadBots

How to Create iOS App Calling Ethereum Smart Contracts

Friends with Benefits: DAO

TEA Project: 2 Minute Teaser

EcoCelium becomes a multichain DeFi platform and launches a new feature.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Solv Protocol Team

Solv Protocol Team

The DeFi platform for creating, managing, and trading Financial NFTs.

More from Medium

Punk Tokens Are Coming…

perpetual punk token

Weekly Update Q1/08

Decentralized Autonomous Organization (DAO)

Meet Chillchat’s Investors!