> For the complete documentation index, see [llms.txt](https://anubis-network.gitbook.io/anubis-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anubis-network.gitbook.io/anubis-network/ecosystem-and-integrations.md). Agents can also search and read this documentation through its [MCP server](https://anubis-network.gitbook.io/anubis-network/~gitbook/mcp).

# Ecosystem & Integrations

### Overview

AnubisChain is building an open, composable, privacy-enabled blockchain ecosystem for developers, users, applications, and digital assets.

Alongside the continued development of the Anubis protocol layer, the ecosystem is expanding its integration with global blockchain infrastructure across data indexing, interoperability, wallets, explorers, DeFi, and developer tooling.

These integrations are designed to provide developers with broader infrastructure access while giving users a more complete on-chain experience.

The Anubis ecosystem infrastructure covers several key areas:

Data Infrastructure\
Blockchain indexing, structured on-chain data, and application-level data access.

Interoperability\
Cross-chain messaging, asset connectivity, and omnichain application infrastructure.

Wallet Infrastructure\
User access, asset management, application connectivity, and intelligent interaction.

Developer Infrastructure\
Block explorers, APIs, development tools, smart contract deployment, and analytics.

DeFi & Liquidity\
Trading, liquidity, asset exchange, and decentralized financial applications.

Ecosystem Applications\
AI, RWA, DeFi, gaming, NFT, digital identity, and other emerging on-chain applications.

As the network continues to scale, AnubisChain will continue expanding the infrastructure required for a more open, intelligent, and globally connected on-chain economy.

&#x20;

&#x20;

## Data Infrastructure

Blockchain applications depend on reliable and accessible data.

As more applications, protocols, assets, and users enter AnubisChain, structured blockchain data becomes increasingly important for wallets, decentralized exchanges, analytics platforms, AI applications, explorers, and other on-chain services.

AnubisChain continues to expand its data infrastructure through integration with established Web3 data networks and developer tools.

### The Graph

#### On-Chain Data Infrastructure for AnubisChain

Anubis Mainnet is officially listed as a supported network in The Graph documentation.

The integration expands the data infrastructure available to developers building applications on AnubisChain and provides access to decentralized blockchain indexing and querying through The Graph ecosystem.

The Graph enables developers to organize blockchain data into structured APIs known as Subgraphs, which can then be queried using GraphQL.

For AnubisChain developers, this creates a more efficient way to access and organize public on-chain data for decentralized applications, analytics platforms, wallets, DeFi protocols, AI applications, and other data-driven services.

## Indexing Anubis with Subgraphs on The Graph

Getting historical data off a smart contract is hard. You write your own indexer, run your own database, and handle chain reorganizations yourself. [The Graph](https://thegraph.com/) removes that work. It gives you an open API, called a Subgraph, that you query with GraphQL.

Anubis is EVM-compatible, so the Subgraph workflow is the same on most EVM chains. You point a Subgraph at your Anubis contract, define the entities you want, and Indexers on The Graph Network keep those entities current and queryable.

{% hint style="info" %}
Anubis is a selective-privacy chain. A Subgraph can only index data that is public on-chain. Transparent transactions, and the events they emit, are fully indexable. Data inside shielded (PLONK ZK) transactions is not visible on-chain, so it cannot be indexed. Design your contract's public events with this in mind if you want that data to be queryable.
{% endhint %}

### Anubis network reference

| Parameter    | Mainnet               | Testnet          |
| ------------ | --------------------- | ---------------- |
| Network name | ANUBIS Mainnet        | ANUBIS Testnet   |
| Chain ID     | `6714` (`0x1a3a`)     | `2526` (`0x9de`) |
| Gas token    | `gasDAI` (DAI-pegged) | `ANUBI`          |

### Quick start

Building a Subgraph for Anubis takes three steps:

1. Initialize a Subgraph project from your Anubis contract.
2. Publish it to The Graph Network for decentralized indexing.
3. Query it over GraphQL with an API key.

See the [Subgraph pricing page](https://thegraph.com/studio-pricing/) for current query rates and free-tier limits.

{% hint style="info" %}
Anubis is supported on The Graph Network, but does not currently have Subgraph Studio testing/staging support. Skip the standard `graph deploy` and Studio playground path. Instead, you can validate your Subgraph locally (see below) or publish directly to The Graph Network where a decentralized Indexer that supports Anubis indexes it.
{% endhint %}

### Step 1: Initialize your Subgraph project

#### Install the Graph CLI

On your local machine, install the CLI with the package manager you prefer:

```sh
# npm
npm install -g @graphprotocol/graph-cli@latest

# or yarn
yarn global add @graphprotocol/graph-cli
```

Verify the install:

```sh
graph --version
```

#### Initialize from your Anubis contract

```sh
graph init
```

The CLI walks you through a set of prompts. Anubis is a custom EVM network, so provide the network details manually when asked:

* **Protocol**: choose `ethereum`. Anubis is EVM-compatible.
* **Subgraph slug**: an identifier for your Subgraph, for example `my-anubis-subgraph`.
* **Directory**: where the project is scaffolded.
* **Ethereum network**: enter `anubis` as the network identifier.
* **Contract address**: the address of the contract you want to index. Find it on [browser.anubispace.org](https://browser.anubispace.org).
* **ABI**: if the CLI cannot fetch the ABI, export it from your build artifacts or the Blockscout contract page. Supply it as a JSON file.
* **Start block**: the block your contract was deployed at. Set this so indexing does not scan from genesis. The explorer shows the deployment block.
* **Contract name**: the name of your contract.
* **Index contract events as entities**: set this to `true`. The CLI then scaffolds entities and mappings for every emitted event.

{% hint style="info" %}
The `network` value you enter (`anubis`) must match the network identifier that The Graph has registered for Anubis. If `graph init` does not recognize the network, scaffold with any EVM network and set the `network` field manually in `subgraph.yaml` (next step).
{% endhint %}

### Step 2: Write and build your Subgraph

You work with three files:

* **Manifest** (`subgraph.yaml`): defines which data sources your Subgraph indexes.
* **Schema** (`schema.graphql`): defines the entities you want to query.
* **Mappings** (`src/mapping.ts`): AssemblyScript that translates on-chain events into your entities.

Point the manifest at Anubis:

```yaml
dataSources:
  - kind: ethereum
    name: MyContract
    network: anubis          # must match The Graph's Anubis network identifier
    source:
      address: "0xYourAnubisContractAddress"
      abi: MyContract
      startBlock: 123456      # your contract's deployment block
```

For a full walkthrough of schema and mapping authoring, see [Creating a Subgraph](https://thegraph.com/docs/en/subgraphs/developing/creating/starting-your-subgraph/).

Generate types and build:

```sh
graph codegen && graph build
```

#### Optional: Verify locally before publishing

The Studio playground cannot index Anubis, so test indexing with a local [Graph Node](https://github.com/graphprotocol/graph-node) pointed at an Anubis RPC endpoint. In your `docker-compose.yml`, set the Ethereum environment to your Anubis network:

```yaml
environment:
  ethereum: "anubis:https://rpc.anubispace.org"
```

Create and deploy to your local node:

```sh
graph create --node http://localhost:8020/ my-anubis-subgraph
graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 my-anubis-subgraph
```

Query the local endpoint until your entities look right, then publish.

### Step 3: Publish to The Graph Network

This is the recommended path for Anubis. Publishing is an on-chain action that:

* makes your Subgraph available for decentralized [Indexers](https://thegraph.com/docs/en/indexing/overview/) that support Anubis to index,
* makes it publicly searchable and queryable in [Graph Explorer](https://thegraph.com/explorer/),
* and makes it available for [Curators](https://thegraph.com/docs/en/resources/roles/curating/) to add signal.

Publish from the Graph CLI. Build, then publish:

```sh
graph codegen && graph build
graph publish
```

A browser window opens. Connect your wallet, add metadata (name, description, image), and publish your Subgraph. The `--protocol-network` flag refers to where The Graph's protocol contracts live (Arbitrum One), not to Anubis.

{% hint style="success" %}
During the publish transaction, you can add 500 GRT in curation signal to save on gas fees. Signal tells Indexers that your Subgraph is worth indexing. Any Subgraph with 500 GRT or more signal will automatically be indexed, but, without signal, no Indexer is incentivized to pick up your Subgraph.
{% endhint %}

### Step 4: Query your Subgraph

After you publish, open your Subgraph in [Graph Explorer](https://thegraph.com/explorer/) and copy its query URL from the **Query** button.

1. Create an API key from the API Keys dashboard at [thegraph.com/studio](https://thegraph.com/studio/). This dashboard handles keys and billing for The Graph Network on Arbitrum, independent of which chains Studio can index.
2. Send GraphQL queries to the query URL with your API key.

See the [Subgraph pricing page](https://thegraph.com/studio-pricing/) for query rates, and [Querying The Graph](https://thegraph.com/docs/en/subgraphs/querying/introduction/) for the full query API.

### Appendix

#### Sample GraphQL query

```graphql
{
  transfers(first: 5, orderBy: blockNumber, orderDirection: desc) {
    id
    from
    to
    value
    blockNumber
  }
}
```

#### Querying from JavaScript

```js
const query = `
  {
    transfers(first: 5, orderBy: blockNumber, orderDirection: desc) {
      id
      from
      to
      value
      blockNumber
    }
  }
`;

const res = await fetch(
  "https://gateway.thegraph.com/api/<API_KEY>/subgraphs/id/<SUBGRAPH_ID>",
  {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ query }),
  }
);

const { data } = await res.json();
console.log(data.transfers);
```

#### Resources

* [The Graph: Subgraphs overview](https://thegraph.com/docs/en/subgraphs/developing/introduction/)
* [Creating a Subgraph](https://thegraph.com/docs/en/subgraphs/developing/creating/starting-your-subgraph/)
* [Publishing a Subgraph](https://thegraph.com/docs/en/subgraphs/developing/publishing/publishing-a-subgraph/)
* [Querying The Graph](https://thegraph.com/docs/en/subgraphs/querying/introduction/)
* [Graph Explorer](https://thegraph.com/explorer/)
* [Anubis Network docs](https://anubis-network.gitbook.io/anubis-network) and [ChainList (6714)](https://chainlist.org/chain/6714)

{% file src="/files/mEjeH5QmnX9lsGEvi1PM" %}

### Network Information

| Parameter          | Anubis Mainnet |
| ------------------ | -------------- |
| Network Type       | Mainnet        |
| Protocol           | Ethereum       |
| Network Identifier | anubis         |
| Chain ID           | 6714           |
| CAIP-2 Chain ID    | eip155:6714    |
| Native Currency    | gasDAI         |

These parameters are listed in The Graph's official Anubis Mainnet documentation.

***

### Indexing Anubis with The Graph

AnubisChain is EVM-compatible, allowing developers to use a familiar Ethereum-style Subgraph development workflow.

Developers can define the smart contracts they want to index, specify the events and entities required by their applications, and publish Subgraphs to The Graph Network.

The general workflow includes:

1\. Initialize a Subgraph for an Anubis smart contract.

2\. Define the data schema and contract event mappings.

3\. Build and validate the Subgraph.

4\. Publish it to The Graph Network.

5\. Query indexed data through GraphQL.

The registered network identifier used by The Graph for Anubis is:

anubis

Developers can find contract addresses and deployment information through the Anubis Blockscout Explorer.

Anubis Blockscout Explorer

<https://browser.anubispace.org>

The Graph currently supports Anubis through The Graph Network. Its documentation notes that Anubis does not currently have Subgraph Studio testing/staging support, so developers can validate locally or publish through the supported network workflow.

***

### Selective Privacy and Data Indexing

AnubisChain is built around a Selective Privacy architecture.

This means developers should distinguish between public on-chain information and privacy-protected information when designing Subgraphs.

Public information and transparent transaction events can be indexed through The Graph.

Privacy-protected information contained within shielded transactions remains private and cannot be indexed as publicly accessible blockchain data.

This allows AnubisChain to preserve an important architectural principle:

Public data remains composable and queryable.\
Private user information remains protected.

The Graph's Anubis documentation specifically notes that transparent transactions and public events are indexable, while information contained inside shielded PLONK ZK transactions is not publicly visible and therefore cannot be indexed.

For application developers, this makes event design particularly important.

Contracts should expose the public information required for application functionality and analytics while keeping privacy-sensitive user information protected by the Anubis privacy layer.

***

### What The Graph Enables

#### DeFi Data

Developers can organize and query data related to:

· Trading activity

· Liquidity

· Token transfers

· Protocol interactions

· Transaction history

· Market activity

· Application-level metrics

This can support decentralized exchanges, liquidity protocols, portfolio applications, and other DeFi products.

#### Wallet Applications

Wallet developers can build data layers for:

· Asset activity

· Transaction history

· Token interactions

· Application activity

· Public smart contract events

This can help create richer user-facing wallet experiences across the AnubisChain ecosystem.

#### Blockchain Analytics

The Graph can support applications that analyze:

· Network activity

· Protocol usage

· Transaction trends

· User growth

· Asset activity

· Ecosystem metrics

Structured data can make AnubisChain activity easier to analyze across dashboards, explorers, research tools, and ecosystem applications.

#### AI × Web3 Applications

Structured blockchain data can also provide AI-powered applications and intelligent agents with more accessible public on-chain information.

Potential use cases include:

· On-chain data analysis

· Market intelligence

· Protocol monitoring

· Asset research

· Intelligent user interfaces

· AI Agent workflows

As AI and blockchain infrastructure continue to converge, accessible on-chain data can become an important foundation for intelligent Web3 applications.

#### Developer Applications

Subgraphs allow developers to build application-specific data layers without repeatedly processing raw blockchain data from genesis.

This can reduce backend complexity and provide applications with more efficient access to the information they require.

***

### Developer Workflow

A typical AnubisChain Subgraph architecture can be represented as:

AnubisChain Smart Contracts

&#x20;         ↓

&#x20;    Public Events

&#x20;         ↓

&#x20;     The Graph

&#x20;         ↓

&#x20;      Subgraph

&#x20;         ↓

&#x20;      GraphQL

&#x20;         ↓

Web3 Applications / DeFi / Wallets / Analytics / AI

This creates a structured data layer between AnubisChain smart contracts and application interfaces.

***

### Example Network Configuration

When configuring a Subgraph for AnubisChain, developers should use:

network: anubis

A basic data source structure may look like:

dataSources:

&#x20; \- kind: ethereum

&#x20;   name: MyContract

&#x20;   network: anubis

&#x20;   source:

&#x20;     address: "0xYourAnubisContractAddress"

&#x20;     abi: MyContract

&#x20;     startBlock: 123456

The start block should correspond to the contract deployment block to avoid unnecessary historical indexing.

The Graph's official Anubis documentation provides the complete initialization, build, publication, and GraphQL querying workflow.

***

### Ecosystem Significance

The addition of Anubis Mainnet to The Graph's supported network ecosystem represents another step in the expansion of AnubisChain's developer infrastructure.

As the AnubisChain ecosystem grows, developers require increasingly robust infrastructure for:

Data indexing\
Application analytics\
Protocol monitoring\
Asset discovery\
Wallet experiences\
AI-powered applications\
On-chain intelligence

The Graph provides an established data layer that can help applications interact with AnubisChain's public blockchain data more efficiently.

Together with AnubisChain's EVM compatibility and Selective Privacy architecture, this provides developers with a foundation for building applications that combine:

Privacy × Composability × Data Accessibility

***

### Official Network Support

✅ Anubis Mainnet is officially listed in The Graph's Supported Networks documentation.

The Graph's Anubis documentation also directly references the official Anubis Network GitBook, creating a direct documentation connection between the two ecosystems.

The Graph

&#x20;     ↓

Anubis Mainnet

&#x20;     ↓

Anubis Official Documentation

At the same time, the AnubisChain documentation provides developers with direct access to The Graph's Anubis integration resources.

AnubisChain Documentation

&#x20;         ↓

&#x20;    The Graph

&#x20;         ↓

Subgraphs & Data Infrastructure

This creates a clear documentation path for developers building data-driven applications on AnubisChain.

***

### Official Resources

#### The Graph — Anubis Mainnet

[https://thegraph.com/docs/en/supported-networks/anubis/](https://thegraph.com/docs/en/supported-networks/anubis/?utm_source=chatgpt.com)

#### AnubisChain Documentation

[https://anubis-network.gitbook.io/anubis-network](https://anubis-network.gitbook.io/anubis-network?utm_source=chatgpt.com)

#### AnubisChain Website

<https://anubischain.ai/>

#### AnubisChain Blockscout Explorer

<https://browser.anubispace.org>

***

### Closing Statement

AnubisChain continues to expand the infrastructure required for the next generation of privacy-enabled Web3 applications.

With The Graph supporting Anubis Mainnet, developers gain access to a powerful data indexing layer for building DeFi protocols, wallets, analytics platforms, AI applications, and other data-driven on-chain services.

AnubisChain × The Graph

Making on-chain data more accessible.\
Making applications more intelligent.\
Building a more connected Web3 ecosystem.

***
