EstebanDev0411 / nftx-entire

Subgraph of nftx marketplace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 of nftx marketplace


Languages

Language:TypeScript 100.0%