MCPcopy Index your code
hub / github.com/0xobelisk/dubhe

github.com/0xobelisk/dubhe @v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.0 ↗ · + Follow
2,543 symbols 6,926 edges 661 files 455 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Dubhe



Dubhe is a community-driven, open-source Move application engine and provable game engine — a full-stack toolkit for building verifiable DApps and fully on-chain worlds.

Dubhe v2 runs in production on Sui (testnet and mainnet). It pairs an on-chain Move framework with a three-tier storage model, a Rust event indexer (GraphQL + gRPC), and type-safe TypeScript/React SDKs, so you can go from pnpm create dubhe to a deployed, queryable DApp in hours.

🔑 Key Features

  • ⚡️ Built with Move, production-ready on Sui
  • 🗄️ Three-tier storage: DappHubDappStorageUserStorage, plus extended storage (objects, scenes, permits)
  • 🔑 Session keys for silent, delegated signing
  • 🛒 Built-in marketplace and reactive cross-user writes
  • 🧩 ECS world client and React hooks
  • 🔎 Rust indexer exposing GraphQL and gRPC over PostgreSQL
  • 🛠️ Type-safe SDKs, code generation from dubhe.config.ts, logic upgrades & data migration
  • 🌐 Multi-Move ecosystem clients (Aptos / Movement, Rooch, Initia)

🔮 Roadmap

  • 🔐 ZK-login Plugin Integration
  • 💰 Transaction Sponsorship Plugin
  • 🔄 State Synchronization Client Hooks
  • ⚙️ Custom Runtime Sandbox
  • 🌍 World Browser Interface

📦 Packages

Package Description Version
create-dubhe Project scaffolding tool npm
@0xobelisk/sui-cli Sui CLI for testing, deployment & more npm
@0xobelisk/sui-client Sui TypeScript Client npm
@0xobelisk/sui-common Sui Core Utilities npm
@0xobelisk/client High-level Dubhe client (v2) npm
@0xobelisk/react React hooks (session keys, tx, ECS) npm
@0xobelisk/grpc-client gRPC client for the Dubhe indexer npm
@0xobelisk/aptos-cli Aptos/Movement CLI Tools npm
@0xobelisk/aptos-client Aptos/Movement TypeScript Client npm
@0xobelisk/aptos-common Aptos/Movement Core Utilities npm
@0xobelisk/rooch-cli Rooch CLI Tools npm
@0xobelisk/rooch-client Rooch TypeScript Client npm
@0xobelisk/initia-cli Initia CLI Tools npm
@0xobelisk/initia-client Initia TypeScript Client npm
@0xobelisk/graphql-client GraphQL Client for Dubhe npm
@0xobelisk/ecs ECS Client for Dubhe npm
@0xobelisk/graphql-server GraphQL Server for Dubhe npm

🗒 Quick Links

Contributors ✨

Thanks to these outstanding contributors ❤️

⭐ Star History

Star History Chart

Extension points exported contracts — how you extend this code

DubheContextValue (Interface)
* Context interface for Dubhe client instances * All clients are stored using useRef to ensure single initialization
packages/react/src/sui/provider.tsx
IDubheGrpcClient (Interface)
(no doc) [2 implementers]
packages/grpc-client/src/proto/dubhe_grpc.client.ts
DubheLock (Interface)
Top-level structure of a dubhe.lock.json file.
packages/sui-common/src/codegen/utils/generateLock.ts
AvatarProps (Interface)
* PetAvatar — pixel-art SVG pet portraits. * Each species has 3 visual stages keyed by level: * Stage 0 (Lv 1-3) :
templates/nextjs/sui-farm/packages/client/src/app/components/PetAvatar.tsx
Storage (Interface)
(no doc) [2 implementers]
crates/dubhe-common/src/db/traits.rs
ClientConfig (Interface)
(no doc)
packages/client/src/sui/types.ts
MessageMeta (Interface)
(no doc)
packages/aptos-client/src/types/index.ts
MessageMeta (Interface)
(no doc)
packages/sui-client/src/types/index.ts

Core symbols most depended-on inside this repo

object
called by 446
packages/sui-client/src/dubhe.ts
error
called by 430
crates/dubhe-common/src/query.rs
assertContains
called by 289
e2e/tests/schemagen/helpers.ts
to_string
called by 235
crates/dubhe-common/src/primitives.rs
moveCall
called by 138
packages/sui-client/src/dubhe.ts
filter
called by 123
crates/dubhe-common/src/query.rs
defineConfig
called by 121
packages/sui-common/src/codegen/utils/renderMove/dapp.ts
readGenerated
called by 116
e2e/tests/schemagen/helpers.ts

Shape

Function 1,266
Method 759
Class 274
Interface 209
Enum 35

Languages

TypeScript84%
Rust16%

Modules by API surface

crates/dubhe-common/src/events.rs83 symbols
crates/dubhe-common/src/table.rs77 symbols
packages/sui-client/src/dubhe.ts75 symbols
packages/ecs/src/world.ts75 symbols
packages/graphql-client/src/client.ts56 symbols
packages/sui-cli/src/utils/utils.ts51 symbols
packages/grpc-client/src/proto/dubhe_grpc.ts50 symbols
packages/ecs/src/query.ts46 symbols
packages/initia-client/src/libs/initiaContractFactory/types.ts40 symbols
packages/sui-client/src/libs/suiTxBuilder/index.ts38 symbols
packages/graphql-client/src/types.ts36 symbols
packages/rooch-client/src/dubhe.ts35 symbols

Datastores touched

postgresDatabase · 1 repos
dbDatabase · 1 repos
dubhe_graphqlDatabase · 1 repos
indexerDatabase · 1 repos
sui_indexerDatabase · 1 repos
sui_indexer_dbDatabase · 1 repos

For agents

$ claude mcp add dubhe \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page