Skip to content

isabella232/nftx-v2-subgraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nftx-v2-subgraph

Subgraph for NFTX Protocol V2

Rinkeby Subgraph: https://thegraph.com/legacy-explorer/subgraph/nftx-project/nftx-v2-rinkeby

Mainnet Subgraph: https://thegraph.com/legacy-explorer/subgraph/nftx-project/nftx-v2

Config

The subgraph requires only the NFTXVaultFactoryUpgradable contract address and starting block number.

This network specific config can be configured by editing config/<network>.json

Scripts

yarn auth

GRAPH_ACCESS_TOKEN=<access-token> yarn auth

yarn prepare-<network>

Generates subgraph.yaml for particular network. Supported networks are rinkeby and mainnet.

yarn codegen

Generates AssemblyScript types for smart contract ABIs and the subgraph schema.

yarn build

Compiles the subgraph to WebAssembly.

yarn deploy-<network>

Deploys the subgraph for particular network to the official Graph Node.

About

Subgraph for NFTX Protocol V2

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%