Skip to content

NFTX-project/nftx-v2-subgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nftx-v2-subgraph

Subgraph for NFTX Protocol V2

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

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published