keep-network / tbtc-dapp

Deposit BTC and redeem TBTC
http://dapp.test.tbtc.network/
MIT License
33 stars 31 forks source link

tBTC subgraph #216

Open creckhow-zz opened 4 years ago

creckhow-zz commented 4 years ago

It's difficult to build stats or a dashboard of the network without putting up an indexing backend. One approach is to use The Graph.

Publishing a tbtc-subgraph repo will make third-party dApp development much easier. We need to make sure the subgraph eposes

Shadowfiend commented 4 years ago

What does subgraph mean in this context? It’s unclear to me what this issue is meant to capture.

mhluongo commented 4 years ago

Sorry, this is from my rough notes. Adding details

juliankoh commented 4 years ago

@mhluongo @creckhow consider this done 😎 https://thegraph.com/explorer/subgraph/juliankoh/keep-network

This is my submission for July PfK btw! Check out the example queries -- these are what Carolyn mentioned in the OP

mhluongo commented 4 years ago

Fancy @juliankoh! Digging in.

@suntzu93 looks like you have competition :D

suntzu93 commented 4 years ago

Fancy @juliankoh! Digging in.

@suntzu93 looks like you have competition :D

:D I knew sir and I'm trying my best.

I'm doing this too for tBTC. https://thegraph.com/explorer/subgraph/suntzu93/tbtc

Shadowfiend commented 4 years ago

@juliankoh @suntzu93 do y'all have the actual config for these in a repo or PR somewhere?

suntzu93 commented 4 years ago

@Shadowfiend on my private repo, if u need I can add you.

juliankoh commented 4 years ago

@Shadowfiend same! was thinking of keeping it private for the competition.. but happy to make it public immediately after!