NFTX Protocol V2 Subgraph

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.

 


Download details:

Author: ConsenSys

Source: https://github.com/ConsenSys/nftx-v2-subgraph.git 



#typescript #ts 

NFTX Protocol V2 Subgraph
1.00 GEEK