An open API service indexing awesome lists of open source software.

https://github.com/dimensiondev/redpacket-subgraph

HappyRedPacket Subgraph
https://github.com/dimensiondev/redpacket-subgraph

Last synced: 10 months ago
JSON representation

HappyRedPacket Subgraph

Awesome Lists containing this project

README

          

# RedPacket Subgraph

This subgraph tracks all of the red packets created by the HappyRedPacket contract.

## Setup

```bash
yarn
yarn codegen
yarn build
```

## Running Locally

Make sure to update package.json settings to point to your own graph account.

## Key Entity Overviews

### RedPacket

Cotains data about a red packet.

### Token

Contains detailed data on a specific token.

### Creator

Cotains data about the creator of a red packet.

### Claimer

Cotains data about the consumer of a red packet.