GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Dispa1r/linear-subgraph: LiNEAR Protocol subgraph

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
.husky
.husky
 
 
config
config
 
 
docs
docs
 
 
src
src
 
 
test
test
 
 
.env.example
.env.example
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.lintstagedrc.mjs
.lintstagedrc.mjs
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
package.json
package.json
 
 
schema.graphql
schema.graphql
 
 
subgraph.template.yaml
subgraph.template.yaml
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

LiNEAR Protocol subgraph

Development

# copy env and adjust its content
# you can get an access token from https://thegraph.com/explorer/dashboard
cp .env.example .env
# install project dependencies
yarn
# prepare subgraph.yaml
yarn prepare:mainnet
# run codegen
yarn codegen
# now you're able to deploy to thegraph via
yarn deploy

Deployment

To be able to deploy to the hosted solution you will need to create a .env file and add ACCESS_TOKEN environment variable. You can find this in the dashboard of the TheGraph

// For Testnet:
yarn deploy:testnet

// For Mainnet:
yarn deploy:mainnet

Test

To test the deployed subgraph, you can try querying with the examples.

yarn
# test APY data
node test/apy.js
# test staking rewards data
node test/stake.js

About

LiNEAR Protocol subgraph

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.