https://github.com/dimensiondev/redpacket-subgraph
HappyRedPacket Subgraph
https://github.com/dimensiondev/redpacket-subgraph
Last synced: 10 months ago
JSON representation
HappyRedPacket Subgraph
- Host: GitHub
- URL: https://github.com/dimensiondev/redpacket-subgraph
- Owner: DimensionDev
- License: other
- Created: 2020-11-24T14:15:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T04:44:51.000Z (almost 3 years ago)
- Last Synced: 2025-02-15T12:52:50.444Z (12 months ago)
- Language: TypeScript
- Homepage: https://thegraph.com/explorer/subgraph/dimensiondev/mask-red-packet
- Size: 136 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.