![]() ![]() ![]() Note: your API codebase must be open sourced in order to be considered for the index.Over Over the past few years, cohorts of engineers, researchers, creatives, and investors willed into existence two highly disruptive applications of blockchain technology: decentralized finance (DeFi), and one-of-kind digital certificates of ownership (NFTs). Once this endpoint is available add your protocol to The Web3 Index registry, and include a usage field that points to your endpoint. provide as many days available, up to 1,000 until pagination is supported. "revenue": 843.22 // total revenue accrued during this day "date": 1578960000, // timestamp representing start of day at 12:00 am UTC "ninetyDaysAgo": 23635.26 // total revenue as of ninety days ago ![]() "sixtyDaysAgo": 33635.26 // total revenue as of sixty days ago, "thirtyDaysAgo": 48620.2, // total revenue as of thirty days ago "twoWeeksAgo": 53635.26 // total revenue as of two weeks ago ![]() "oneWeekAgo": 58620.2, // total revenue as of one week ago "twoDaysAgo": 60390.5, // total revenue as of two days ago "oneDayAgo": 60579.17, // total revenue as of 1 day ago Revenue should be denominated in USD at time of payout Its json response should return data in the following format, updated at least twice a day: If a protocol's blockchain is not supported by The Graph and you can't use the Web3 Index's own database for some reason, you can provide fee data via your own publically accessible API endpoint. Method #3: A Publically Accessible API Endpoint Make sure to set the set its subgraph field to false. Step 2: Add your protocol to The Web3 Index registry using the protocol and directory name you created. When executed, it should store the protocol's paid fees using the Prisma ORM according to the database schema. This endpoint will get called every hour by a Github action (create your Github action in. Step 1: Create a command line script inside cmd/.ts. If a protocol's blockchain is not supported by The Graph, you can index its fee data using the Web Index's own database. Once you've successfully added your protocol to the subgraph, make sure to add the protocol to the Web3 Index registry using its subgraph protocol entity id as the key and set its subgraph field to true. You can find the subgraph here and instructions on how to add a protocol's fee data to it here. If the protocol you'd like to add to the index is built on Ethereum or any other blockchain supported by The Graph, we recommend adding it to The Web3 Index subgraph. This data can be provided using one of several different methods. Protocol fee data must be surfaced in a format that's consumable by The Web3 Index site. In order for a protocol to be considered for the index, we ask that you first submit this application. Protocol Application Instructions Step 1: Submit an applicationĪs the web3 ecosystem of applications continues to grow, there's been a surge in interest to be listed on this site. network fees and usage) are more accurate estimators of a network's intrinsic value, rather than the listed market value of the protocol. A key belief behind the fundamental index methodology is that underlying valuation figures (i.e. Unlike most indexes in defi (a sector of web3) that weight listings based on market capitalization or "total value locked (TVL)", The Web3 Index uses a fundamental index methodology. Stay up to date on the latest web3 trends whether you’re a supply-side participant keeping tabs on in-demand networks, a developer interested in building on top of the most promising web3 infrastructure, or simply a crypto-enthusiast passionate about the web3 movement. The Web3 Index reports on the fees being paid into web3 network protocols in an effort to showcase real usage across the web3 stack. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |