interbtc-ui icon indicating copy to clipboard operation
interbtc-ui copied to clipboard

DeFi external analytics: DeFiLlama, Coingecko, Coinmarketcap

Open nud3l opened this issue 2 years ago • 5 comments

Abstract

Add analytics to serve stats to DeFiLlama, Coingecko, and Coinmarketcap.

Motivation

Users use external sources to compare Interlay to other projects and to learn more about it. We should support common platforms and deliver stats about our platform.

Specification

  • Implement an RPC API to serve DefiLlama, Coingecko, and Coinmarketcap
  • Coinmarketcap requirements: https://tinyurl.com/y2hj58pd
  • Coingecko requirements: https://docs.google.com/document/d/1v27QFoQq1SKT3Priq3aqPgB70Xd_PnDzbOCiuoCyixw/edit#
  • DefiLlama: https://docs.llama.fi/list-your-project/submit-a-project

Reference Implementation

None

Security Considerations

These services will read public data. Availability should be provided via the vercel endpoints under which these APIs will be deployed.

Related / split off issues

Squid

  • https://github.com/interlay/interbtc-squid/issues/146
  • https://github.com/interlay/interbtc-squid/issues/147
  • https://github.com/interlay/interbtc-squid/issues/148

UI

  • https://github.com/interlay/interbtc-ui/issues/1596

nud3l avatar Aug 14 '23 06:08 nud3l

First PR is up for DefiLlama: https://github.com/DefiLlama/DefiLlama-Adapters/pull/8530

Interlay DEX TVL. Once we get that merged, I'll open a PR for lending TVL which depends on helper methods in the PR above. Plus learning how we can (more) effectively test it.

bvotteler avatar Dec 29 '23 10:12 bvotteler

Nice, looks like the PR got merged @bvotteler !

nud3l avatar Jan 02 '24 06:01 nud3l

Nice, looks like the PR got merged @bvotteler !

Yes, they were very quick and helpful. It's also gone live here: https://defillama.com/protocol/interlay-dex

Next up: lending TVL. I should have that PR ready tomorrow.

bvotteler avatar Jan 02 '24 06:01 bvotteler

Interlay lending TVL PR is up for DefiLlama: https://github.com/DefiLlama/DefiLlama-Adapters/pull/8552

bvotteler avatar Jan 02 '24 08:01 bvotteler

Interlay lending PR has been merged Friday/Saturday and has gone live: https://defillama.com/protocol/interlay-lending

bvotteler avatar Jan 08 '24 11:01 bvotteler