KGKasGraphGitHub

docs overview

KasGraph documentation starts from the monorepo.

This site summarizes the live package and crate surfaces. The canonical implementation details remain in README.md, STATUS.md, PLAN.md, and docs/references inside GitHub.

clone and verify
git clone https://github.com/trillskillz/KasGraph
cd KasGraph
npm install
npm run verify
cli commands
npx kasgraph init my-subgraph
npx kasgraph codegen
npx kasgraph build
npx kasgraph deploy --database-url "$DATABASE_URL"
npx kasgraph deploy --node https://your-node
npx kasgraph status my-subgraph
npx kasgraph remove my-subgraph
npx kasgraph mcp-config

Developer path

Repo map

crates/kasgraph-node

Indexer binary: ingest, detect, map, persist, POI, fan-out, registry reload.

crates/kasgraph-rpc

Multi-RPC client with failover, health probes, and continuous wRPC recovery.

crates/kasgraph-store

Postgres adapter for migrations, schemas, registry, lineage, and reorg-safe unwind.

crates/kasgraph-detectors

OpenSilver, KCC20, KRC-20/KRC-721 pattern detectors and ledgers.

crates/kasgraph-mapping

Wasmtime runtime for deterministic AssemblyScript mapping handlers.

crates/kasgraph-poi

Proof of Indexing hash chain and verifier.

crates/kasgraph-stream

KasStream event delivery primitive.

sdk / cli / api / mcp

TypeScript SDK, CLI, GraphQL gateway, and MCP package surfaces.

Reference topics

The repo includes reference docs for KIP-20 Covenant ID queries, BlockDAG reorg semantics, The Graph compatibility, native KRC-20/KRC-721 shape, and the Kaspa RPC layer.

Operator docs