Install ghost-sdk-core
pnpm add @ghostchain/ghost-sdk-core
EVM-compatible · Solidity 0.8.24 · Foundry-first workflows · GST gas token · ghost_ RPC namespace
Use Ghost-native SDKs and the ghost_ RPC namespace only.
pnpm add @ghostchain/ghost-sdk-core
import { createGhostProvider } from "@ghostchain/ghost-sdk-core";
const provider = createGhostProvider({ chain: "ghostchain" });
const chainId = await provider.ghostChainId(); console.log(chainId);
const balance = await provider.ghostGetBalance(address);
console.log("GST:", balance);
These RPC targets are sourced directly from the canonical runtime config.
| Chain | RPC URL |
|---|---|
| ghostchain | https://rpc.ghostchain.cloud |
| ghostl2 | https://ghostchain.cloud/rpc/l2 |
| ghostl3 | https://ghostchain.cloud/rpc/l3 |
Stay on the Ghost-native toolchain and surfaces.
Ethers-free SDK and the preferred integration path for new code.
Browse L1, L2, and L3 transactions and contracts from one explorer.
Forge configuration, remappings, and lint expectations for Ghost-native contracts.
Architecture, API reference, and migration guidance for Ghost-native applications.
Serve Ghost-native onboarding from the canonical docs manifest and runtime endpoints.
Ethers-free SDK and the preferred integration path for new code.
/developers/sdk
Browse L1, L2, and L3 transactions and contracts from one explorer.
/explorer
Forge configuration, remappings, and lint expectations for Ghost-native contracts.
/developers/foundry
Architecture, API reference, and migration guidance for Ghost-native applications.
/developers/docs
These repo-relative documents define architecture, launch, migration, and operations guidance for the clean rebuild path.
Canonical routing and chain-role overview for GhostChain, GhostL2, and GhostL3.
docs/architecture/custom-ghost-multichain.md
Canonical naming, replacement, package, env-var, and enforcement policy for the Ghost-native production path.
docs/branding/brand-spec.md
GhostBFT plus GhostSeal-based AI integrity receipts, dispute windows, replay, and settlement gating.
docs/architecture/poai-consensus.md
Gate review for registry wiring, services, apps, security, and promotion criteria.
docs/launch/launch-readiness-checklist.md
Selective migration shortlist for useful Ghost-native content and presentation patterns.
docs/migration/legacy-candidate-inventory.md
Protocol, services, and app backlog for the canonical Ghost-native rebuild path.
docs/todos/master-launch-todo.md
Advisory-to-ratification workflow for operational changes and governance-gated rollouts.
docs/operations/governance-approval-workflow.md
Governance-owned approval and change-control parameters for models, runtimes, task classes, and bonds.
docs/governance/poai-parameter-policy.md
Threat analysis and invariants for GhostSeal attestation, replay, challenge, and settlement gating.
docs/security/poai-threat-model.md
Use these server endpoints to fetch live Ghost-native runtime data without introducing external explorer assumptions.
Live chain probes using the ghost_chainId method against the configured Ghost RPC endpoints.
Structured developer docs catalog for the Ghost-native runtime, launch, and migration surfaces.
Project-wide app/package/service catalog for GhostChain workspace navigation and operator context.