Skip to content

crypkit/loopring-staking-subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loopring Staking Subgraph

A subgraph indexing the following events on UserStakingPool contract:

  • LRCStaked(address indexed user, uint amount)
  • LRCWithdrawn(address indexed user, uint amount)
  • LRCRewarded(address indexed user, uint amount)

Compilation and deployment

  1. Install the dependencies:
    npm install
  2. Generate the types:
    npm run codegen
  3. Authenticate yourself:
    graph auth https://api.thegraph.com/deploy/ <ACCESS_TOKEN>
  4. Deploy:
    npm run deploy

About

Subgraph for reading staking data from loopring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published