This project retrieves information about Threshold Network ( token staking. Up to now, the Threshold protocol has not any mechanism to get information in real-time about the staking state of T (Threshold), NU (NuCypher), and Keep tokens. Since Threshold staking smart contracts emit Ethereum events during the staking process, these events are captured and the information can be easily accessed from Dapps.

Threshold Staking Subgraph showcase

How it's made

The project uses The Graph technology in order to capture the events emitted to Ethereum by Threshold Staking smart contracts. This subgraph gets the information of these events, and through mappings, sorts this information, and makes it easily accessible by Dapps through a GraphQL API.