scrtlabs / Grants

Repository for grant proposal submissions
42 stars 22 forks source link

Indexing Secret Network for data End points ,Parser, Building Blockchain Explorer for Secret Network #67

Open Nishanth-s-r opened 2 years ago

Nishanth-s-r commented 2 years ago

Proposal for Secret Network <> Unmarshal

Project : Indexing Secret Network, Blockchain Explorer and Notifications

1. Project Overview

Unmarshal fetches all the data from the chain directly hence the integrity & reliability of the data is guaranteed. Our Top Notch Decoders understand all the encoded data and convert them into meaningful data Our team perform their magic and enable data provision in multiple formats like APIs, Notifications , Web Sockets , Price Store , Token Store to name a few

Unmarshal aims to reduce the burden of DApp builders by providing an easy and quick to integrate data solution that can power DApps.

Unmarshal indexes the blocks on a specified blockchain and provides:

  1. Simple, easy to use data for DeFi apps or for anybody who requires on-chain data.
  2. A plug and play smart customised notification (mobile and browser) service for Dapp users and developers
  3. Integration of chain into a multichain explorer xscan, where Secret Network users can track their portfolio along with 5 different chains

2. Partnership Overview: Unmarshal would like to index the entire Secret Network chain and provide meaningful on-chain data that will enable the Secret Network ecosystem of developers to utilise the data End points for their convenience.

Indexing Secret Network Chain can be useful for multiple Stakeholders in various ways. Our Solution will be helpful for

Secret Network Team: To Provide defi users dynamics and business intelligence, mapping out the next growth sector.

Blockchain Entrepreneurs and Dapp developers: To Develop custom APIs for Dapp developers to directly work on powering their apps rather than work on the core infrastructure, enhancing the Secret Network blockchain attractiveness and reducing the time to market launch.

VCs, Institutional and Retail Investors: To Help gauge the current market sentiment and make data powered investment decisions. Based on our previous implementations, the greater the investor interest the stronger dapp adoptions = user growth and satisfaction.

Strong successful Dapps such as Uniswap, Aave, Compound, will only support a new chain, as long as they have access to qualitative / updated real time information which we will be able to provide

Along with providing the transactions and wallet balances details as APIs, Unmarshal Labs incubated Xscan.io, will also support DeFi users by allowing them to view their wallet balances, asset holdings, DeFi positions (such as LP positions, staking etc) transactions and NFTs and much more.

Unmarshal’s latest launch the parsers as we call it will be enabled for the Secret Network chain. Secret Network users will be able to set up their own nodes to index particular contract and utilise the data to build their own Analytics charts or build their custom GraphQL endpoint to fetch the real time on chain data

3. Solution Approach :

Unmarshal will be setting up its own nodes for indexing the Secret Network data. Once the entire data is synced the nodes will be set to pull live data. The following will be done once the data is completely synced

Decoding the encoded raw data Build the basic API suite for Secret Network Enabling Notification framework for Secret Network Build an exclusive Token and NFT explorer for Unmarshal Enabling the parser framework for self indexing and Analytics

All future Secret Network network upgrades will be integrated into the system.

About our Data Endpoints:

Any of the on-chain transaction data including the asset balances will be made available in various formats as APIs, GraphQL, Web Sockets, CSV and so on. The basic API suite consists of asset balances, list of wallet transactions and transaction details for a particular transaction hash.

Unmarshal Smart Notification Framework- an overview:

Unmarshal smart notifications can be delivered directly to mobile applications using firebase, websockets etc. or Clients (Dapp developers can pull real time data using webhooks) Decoding the data and serving it in the formats required by our partners is our core mission. Notifications will be decoded and converted in a single line description for the apps to read. DApps can choose a template of their choice to customise the outcome. .

Unmarshal has already built the notification for the Binance Smart Chain and the Ethereum Ecosystem, Polygon(Matic) and XinFin Network for the following transactions: Send Receive Add liquidity Remove liquidity Approve Stake UnStake Exchange

Smart Notifications enabled: With the help of Unmarshal’s Smart Notification framework, DApps built on Secret Network chain will be able to notify and update users of the relevant transaction, liquidation alerts and any event that occurs on a chain.

Unmarshal will be able to read all the transactions from the Secret Network Network and provide a crisp note of what has actually happened on a particular transaction. The Secret Network Dapps will have the privilege of providing smart notifications without having to spend a lot of time and effort decoding the data. It can be integrated into the DApp with very minimal code.

XScan - an overview: Our pet project which turned out to be the most favourite is our multichain Explorer XScan- https://xscan.io which has been creating a considerable impact in our community. It's our B2C offering to our community where users can track all their assets and transactions including NFTs at one place for multiple chains.

XScan has made life easy for the retail investors to work in one place to understand the latest standings of their portfolio, track their trades to start with. Our newly coined team specifically for XScan is already waiting to launch exciting features on our explorer. Since its all at one place like our data, users need not access multiple avenues to check transactions. We currently live on fewer chains than that we support , however the latest version will house all more chains on XScan.

Data reliability and availability have never been a problem for us since we have all the data being picked up from our own data source. Secret Network will have its own Explorer powered by Unmarshal.

Unmarshal Parser - an overview: Our latest addition to our Arsenal is the Unmarshal parser which allows user to run their own nodes for any particular contract address, cherry pick the events they need from the address to create a live sync database which only they have access to to create visual versions of the rich data provided by Unmarshal.

  1. Timeline and Milestones

Milestone 1 — Setting up and running node The Node (Will be provided by Secret Network) Estimated Tech Work - 12 days Time to Sync data - 7-14 days (depends on the volume of data) Number of resources - 4 Approximate Estimated Cost - $30,000

Milestone 2 — ABI decoding service Estimated Duration - 18 days Number of resources - 2 Approximate Estimated Cost - $25,000

Milestone 3 — API services Estimated Duration - 14 days Number of resources - 2 Approximate Estimated Cost - $30,000

Milestone 4 — Notification Services Estimated Duration - 14 days Number of resources - 3 Approximate Estimated Cost - $35,000

Milestone 5 — Parser Services Estimated Duration - 21 days Number of resources - 2 Approximate Estimated Cost - $30,000

Milestone 6 — Enabling Analytics Framework Estimated Duration - 14 days Number of resources - 2 Approximate Estimated Cost - $35,000

Unmarshal Grant Proposal for Secret Labs.pdf — Building Explorer for Secret Network (NFT and Token Explorer exclusive for Secret Network) Estimated Duration - 14 Days Approximate Estimated Cost - $125,000

Total Timeframe: 45 days

6. Co Marketing Both Unmarshal and Secret Network team to help each other with co marketing in promoting the collaborations. Secret Network to list Unmarshal as official partner for data indexing. And Unmarshal lists Secret Network on their website as supported blockchain.

_7. Proposed Grant

Considering, Secret Network will be providing a Node Endpoint for Unmarshal with the following specifications: Latency (US Region) -Avg 250ms Bandwidth - 3 million calls/day Uptime - 99.9%

The estimated one time initial cost for Unmarshal solution totals to $310,000 which will include all initial one time development and infrastructure costs.

The final grant amount requested will stand at $310,000 to be paid in milestones as per the completion of integrating individual products mentioned above . Unmarshal will also work on any upgrades in the Secret Network network or any suitable new products on the Unmarshal ecosystem based on client requirements.

JayScrtNetwork commented 2 years ago

Please contact me via telegram so we can further discuss this grant. @LongFellow21 Ty