Skip to content

0xPlaygrounds/kg-node

Repository files navigation

GRC20 Neo4j Indexer

This repo contains a GRC20 indexer that uses Neo4j to store triple data.

Running the indexer

❗Important: Both methods require the SUBSTREAMS_ENDPOINT_URL (and optionally SUBSTREAMS_API_TOKEN if using a substreams provider with authentication) environment variables to be set.

With docker-compose

cd docker/
docker compose up

Without docker

1. Start Neo4j

docker run \
    --publish=7474:7474 --publish=7687:7687 \
    --volume=./data:/data \
    --env=NEO4J_AUTH=none \
    neo4j

2. Compile and run the indexer

In a separate terminal, run the following command:

cargo run --bin kg-node -- \
    --rollup \
    --reset-db \
    --neo4j-uri neo4j://localhost:7687 \
    --neo4j-user neo4j \
    --neo4j-pass neo4j

GRC20 CLI

Coming soon™️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published