Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quantumlyy/nftx-holdings-subgraph-mainnet


https://github.com/quantumlyy/nftx-holdings-subgraph-mainnet

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# nftx-vault-tokens-holdings-subgraph

Subgraph for NFTX token holdings for NFTX Protocol V2

Rinkeby Subgraph: `https://thegraph.com/legacy-explorer/subgraph/--add--`

Mainnet Subgraph: `https://thegraph.com/legacy-explorer/subgraph/--add--`

## Scripts

#### `yarn auth`

```sh
GRAPH_ACCESS_TOKEN= yarn auth
```

#### `yarn prepare-`

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-`

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