Repo Map — Nibiru and Personal Repos
Maps and routes between key repositories on my machine (boku, nibi-chain, nibi-geth, nibi-go-hm, nibi-ts-sdk, sai-web, sai-perps, nibi-iac, nibi-web, gh-io-ud, and the in-tree Wasm runtime and Rust contracts). Use when the user asks which repo to look at, where a feature lives, how repos connect, how services are deployed (Terraform/IaC), when a task spans chain, EVM, indexer, SDK, frontend, and docs, or when the user asks about the personal site, blog posts, official Nibiru docs, or Astro/gh-pages.
npx skills add https://github.com/Unique-Divine/jiyuu/tree/main/ai-skills/repo-map Use this skill to quickly route questions/tasks to the correct repo(s) under path $HOME/ki/.
Quick routing
Blockchain and EVM Impl
$HOME/ki/nibi-chain: Chain logic, modules, and Nibiru CLI (nibiru). This repo defines the logic, and you can runnibiru tx,nibiru query, or other commands in the terminal to inspect exact functionality. Core L1 chain (Go). App wiring + custom modules. Includescmd/nibid. |x/,app/,proto/,cmd/nibid/$HOME/ki/nibi-chain/x/evm: Nibiru EVM execution and precompiles live here.. RPC is standard for the EVM.$HOME/ki/nibi-geth: EVM state transition internals that do not involve precompiles; go-ethereum logic$HOME/ki/nibi-chain/lib/wasmvm: Nibiru’s maintained Go WasmVM bindings and Rust FFI runtime. The Go types live inwvm/, and the Rust crate lives inlibwasmvm/. Follow this directory’sREADME.mdfor builds and releases.$HOME/ki/nibi-chain/lib/cosmwasm-vmand$HOME/ki/nibi-chain/lib/wasmer: Nibiru’s maintained Rust VM and patched Wasmer runtime. Dependency paths connect these in-tree directories tolib/wasmvm/libwasmvm.$HOME/ki/nibi-chain/wasm-contractsand Rust packages under$HOME/ki/nibi-chain/lib: Nibiru’s maintained CosmWasm contracts and reusable Rust crates, includingnibiru-stdandnibiru-ownable. Readnibi-chain/spec/04-rust-contract-workspace.mdfor the root Cargo workspace andjust rscommands.- Archived standalone forks:
NibiruChain/go-wasmvmandNibiruChain/nibiru-wasmare public archives. Their former local checkoutswasm-go-wasmvmandnibi-wasmwere removed. Route maintained work to the in-tree directories above; consult archived tags and releases only for history. $HOME/ki/wasm-cosmwasm: Upstream CosmWasm reference checkout,CosmWasm/cosmwasm. Nibiru’s maintained VM implementation lives in the monorepo.
Nibiru Indexer and TypeScript SDK
$HOME/ki/nibi-go-hm:- Indexer server (Heart Monitor) and GraphQL schema. This is the Nibiru Indexer schema’s source of truth.
graphql/graph/*.graphqls(e.g.staking.graphqls,user.graphqls)
- Indexer server (Heart Monitor) and GraphQL schema. This is the Nibiru Indexer schema’s source of truth.
$HOME/ki/nibi-ts-sdk: TypeScript SDK (@nibiruchain/nibijs) and Nibiru Indexer (HeartMonitor) client. Look forHeartMonitor, generatedGQL*types, and query builders.
Sai Exchange
$HOME/ki/sai-web/webapp: Sai: web app (lives in monorepo). Web frontend and API integrations. This uses the “sai-keeper” GraphQL interface.$HOME/ki/sai-perps: Official Sai protocol contracts (EVM + Wasm). This repo defines what gets deployed onchain; the web app and sai-keeper both talk to these contracts. Used by trading tools and integrations.$HOME/ki/sai-keeper: Defines the “sai-keeper” GraphQL interface for Sai.$HOME/ki/nibi-chain/sai-trading: Sai: Trading bot automation service$HOME/ki/sai-docs: Public-facing user documentation for Sai. Great conceptual resource.
Nibiru public site, docs, and wallet app
$HOME/ki/nibi-web: Combined Nibiru website,NibiruChain/nibi-web. Astro marketing and blog source lives insrc/. VitePress docs live indocs-v2/, with content synced fromnibi-chain/docs. React wallet app source lives inapp/. One Bun workspace builds/,/docs, and/appintodistfor a shared Firebase release. Use rootjust dev,just build, andjust preview; focused app commands remain available.- Legacy names
nibi-home-site,home-site, andnibi-webapproute maintained work tonibi-web, ornibi-web/appfor app features. Existing old worktrees usenibi-web-*names when retained for user branches and history. The main checkout is$HOME/ki/nibi-web; linked worktrees share its Git directory. Do not delete or repurpose worktrees with unique work. - Archived
NibiruChain/nibi-webappretains historical app PR discussions and releases. New app PRs belong inNibiruChain/nibi-web.
Infrastructure (IaC)
$HOME/ki/nibi-iac: Infrastructure as code (Terraform). Source of truth for live deployments, DNS, and endpoints. Provisions GKE clusters, RPC/archive endpoints, indexer (Heart Monitor) GraphQL, sai-keeper GraphQL/REST, monitoring (Grafana, PagerDuty). For detailed repo connections and how nibi-iac deploys other services, see REFERENCE.md. |terraform/(environments:dev-gcp,itn2-gcp,mainnet-gcp,nibiru-gcp),terraform/_modules/(e.g.sai-keeper,go-hm-graphql,heart-monitor)
Personal, Blog, Boku Workspace
$HOME/ki/boku: Personal knowledge base and project hub. Monorepo for sandboxing, backups, and external brain. Use when working on epics, specs, Nibiru notes, focustime, or scripts that span nibi-chain, sai-perps, sai-web. Contains:epics/,nibi/(addr-book, cook),free/(todos, journal),sde/,jiyuu/(focustime, mdtoc),scripts/. Bun/TS + Go + Rust. Runjust test,just install.$HOME/ki/gh-io-ud: Personal site (GitHub Pages). Astro 4 + Tailwind. Blog content insrc/content/post/(schema insrc/content/config.ts). Site configsrc/config.yaml, navsrc/navigation.js. Runjust dev, buildjust b, deployjust deploy.
GitHub Remotes and Git Cloning
Repos with Prefix “sai-” or “nibi-” ($HOME/ki)
Nibiru work lives under org NibiruChain. Local directory names often differ from the repository slug (e.g. clone nibiru into nibi-chain). gh repo list NibiruChain lists canonical slugs for your account.
| Local folder | Remote |
|---|---|
nibi-chain | git@github.com:NibiruChain/nibiru.git |
nibi-geth | git@github.com:NibiruChain/go-ethereum.git |
nibi-go-hm | git@github.com:NibiruChain/go-heartmonitor.git |
nibi-ts-sdk | git@github.com:NibiruChain/ts-sdk.git |
nibi-web | git@github.com:NibiruChain/nibi-web.git |
sai-web | git@github.com:NibiruChain/sai-web.git |
sai-perps | git@github.com:NibiruChain/sai-perps.git |
sai-keeper | git@github.com:NibiruChain/sai-keeper.git |
sai-docs | git@github.com:NibiruChain/sai-docs.git |
nibi-iac | git@github.com:NibiruChain/iac.git |
Other entries in this map: wasm-cosmwasm → git@github.com:CosmWasm/cosmwasm.git; boku → git@github.com:Unique-Divine/boku.git (personal). The archived Nibiru forks are NibiruChain/go-wasmvm and NibiruChain/nibiru-wasm; cloning NibiruChain/nibiru provides their maintained replacements.
Copy-paste git clone commands, optional idempotent clone helper function, and notes on discovering org repos: cloning.md.
Unique Divine