NFTMart partners with SubQuery to build a marketplace for NFTs

Reading on-chain data was a slow process until we met SubQuery.

In the very beginning, our frontend app fetched NFT data directly from Substrate’s rpc endpoint in order to get the latest information about NFTs. Some pages could take seconds to load, while nobody wants to wait for a long time to see their NFTs. We soon realized that we needed a better way to fetch data, and SubQuery caught our attention. The documentation was quite easy to follow. Based on the starter project we wrote our own indexer, so that each time an NFT was minted, SubQuery will automatically read the NFT’s data from the chain node, and store it in our database. Plus it exposes the data through a GraphQL API. We can then retrieve the exact amount of information we need through the GraphQL API and display it on our frontend in a single request, which drastically reduces the time it takes to load a page.

Gaining insights from the blockchain is easy thanks to SubQuery.

Since SubQuery not only fetches the latest data, but also keeps the history, it enables us to show every single event that happened on an NFT. No matter how many times an NFT has been transferred, auctioned or sold, we will never lose track of it. Collectors can use it to decide which NFTs they want to buy. And artists can use it to see trading history of their own creations. What’s more, the data from SubQuery helped us rule out bad actors during our airdrop campaign and trading contests to make sure the rewards are fair. SubQuery is a great tool for anyone who wants to understand on-chain activity.

Our ecosystem is incomplete without SubQuery.

We have recently achieved EVM compatibility on our testnet, which means developers will soon be able to deploy Solidity smart contracts on NFTMart Network. We also need to make sure that developers have access to data in smart contracts, so that they can build apps faster and more easily on our blockchain. With SubQuery’s innovation, it can now query and filter EVM logs and transactions in addition to Substrate data sources. SubQuery introduces more advanced filters than other indexers, allowing filtering of non-contract transactions, transaction senders, contracts and indexed log arguments, so developers can build a wide variety of projects that cater to their specific data needs. We are working on integrating SubQuery into our ecosystem, and we are excited to see what SubQuery can do for us.

SubQuery is a powerful tool for Web3 developers. It’s easy to learn and simple to use. As a developer myself, I really appreciate the SubQuery team’s work. SubQuery has become an indispensable part of our project. Choosing SubQuery has always been a great decision for us.

Black John, founder of NFTMart agrees:

At NFTMart, we love using SubQuery and we are excited to use it to build our ecosystem. We are also excited to see how SubQuery has expanded its data indexing capabilities to other chains like Terra and Avalanche. Innovation is always a good thing, and we will continue to cooperate with SubQuery to build a better ecosystem for NFTs.

As a result of the collaboration, NFTMart’s on-chain data are now available on SubQuery Explorer: https://explorer.subquery.network/subquery/NFTT-studio/nftmart

About SubQuery

SubQuery is a blockchain developer toolkit enabling others to build Web3 applications of the future. A SubQuery project is a complete API to organize and query data from layer-1 chains. Currently servicing Polkadot , Substrate and Avalanche projects, this data-as-a-service allows developers to focus on their core use case and front-end, without needing to waste time on building a custom backend for data processing. The SubQuery Network proposes to enable this same scalable and reliable solution, but in a completely decentralised way.

About NFTMart

NFTMart is an independent public chain developed based on Substrate, focusing on the field of NFT transactions. Artists can publish and sell their own NFTs. At present, the EVM module is also integrated to allow developers to easily use the public chain transaction features. Next, NFTMart will consider accessing the Polkadot ecosystem through the slot to strengthen the liquidity of NFT on NFTMart.

--

--

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
NFTMart

NFTMart

NFTmart is committed to becoming the world’s most professional decentralized NFT trading market.