The Graph

Rik Krieger, Serial Entrepreneur
HOPR
Published in
2 min readFeb 2, 2023

--

HOPR is leveraging The Graph to become the first project to use the protocol across multiple chains. We’ve deployed new subgraphs onto their decentralized network, moving off the hosted service and away from running a local Graph Node.

Staying true to decentralization, this transition is consistent with the core values of HOPR and a decision that comes with many benefits for services and dapps built on the HOPR network.

What The Graph does

Blockchains are immutable, distributed databases. Transactions are added and sorted by their time of creation, which makes querying data directly from the blockchain computationally intensive, expensive and time-consuming.

To solve this, you could build out your own server, process the transactions, store them on a database and build an API endpoint on top of it all to query the data.

But this is resource intensive, requires constant maintenance and creates a single point of failure, which breaks security properties required for decentralization.

On the other hand, The Graph Network is a highly efficient decentralized indexing protocol that scans the blockchain for events relevant to the mappings you’ve preset in your subgraph and then collects, maps and stores this data.

Through the GraphQL API, you can utilize The Graph’s underlying functionality to efficiently query for any of this information, improving performance, uptime and stability for services that rely on this data.

How HOPR Uses The Graph:

Our main subgraph is HOPR Channels which can be queried to see payment channels and nodes on the HOPR network.

But we also have subgraphs for the HOPR token on mainnet/Gnosis and subgraphs dedicated to our staking mechanism.

Currently, HOPR uses subgraphs for:

  • DAO Voting
  • Staking mechanism
  • And the network dashboard

Our subgraphs will be an essential component of our first commercial service RPCh.

Why we’re migrating to the decentralized network

By moving to a decentralized network, we no longer have a single point of failure or need to trust a single point of authority.

This is a core value in web3. One shared by both HOPR and The Graph Ecosystem, as they are championing the sunrise of decentralized data.

--

--

Rik Krieger, Serial Entrepreneur
HOPR

Rik Krieger holds an Executive MBA from the University of Zurich and has extensive experience in Brand, HR, Operations & Business Development