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 | http://ghostchain:18545 |
| ghostl2 | http://ghostl2:29545 |
| ghostl3 | http://ghostl3:39545 |
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
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
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.