Developer Portal

Build on GhostChain

EVM-compatible · Solidity 0.8.24 · Foundry-first workflows · GST gas token · ghost_ RPC namespace

Quick Start

Use Ghost-native SDKs and the ghost_ RPC namespace only.

01

Install ghost-sdk-core

pnpm add @ghostchain/ghost-sdk-core
02

Connect to GhostChain L1

import { createGhostProvider } from "@ghostchain/ghost-sdk-core";
const provider = createGhostProvider({ chain: "ghostchain" });
03

Query ghost_chainId

const chainId = await provider.ghostChainId();
console.log(chainId);
04

Query GST balance

const balance = await provider.ghostGetBalance(address);
console.log("GST:", balance);

Provider Targets

These RPC targets are sourced directly from the canonical runtime config.

ChainRPC URL
ghostchain http://ghostchain:18545
ghostl2 http://ghostl2:29545
ghostl3 http://ghostl3:39545

Resources

Stay on the Ghost-native toolchain and surfaces.

ghost-sdk-core

Ethers-free SDK and the preferred integration path for new code.

GhostScan

Browse L1, L2, and L3 transactions and contracts from one explorer.

Foundry Profile

Forge configuration, remappings, and lint expectations for Ghost-native contracts.

Docs

Architecture, API reference, and migration guidance for Ghost-native applications.

Developer Docs Feed

Serve Ghost-native onboarding from the canonical docs manifest and runtime endpoints.

Resource

ghost-sdk-core

Ethers-free SDK and the preferred integration path for new code.

/developers/sdk

Resource

GhostScan

Browse L1, L2, and L3 transactions and contracts from one explorer.

/explorer

Resource

Foundry Profile

Forge configuration, remappings, and lint expectations for Ghost-native contracts.

/developers/foundry

Resource

Docs

Architecture, API reference, and migration guidance for Ghost-native applications.

/developers/docs

Internal Documents

These repo-relative documents define architecture, launch, migration, and operations guidance for the clean rebuild path.

architecture

Custom Ghost Multichain Architecture

Canonical routing and chain-role overview for GhostChain, GhostL2, and GhostL3.

docs/architecture/custom-ghost-multichain.md

launch

Launch Readiness Checklist

Gate review for registry wiring, services, apps, security, and promotion criteria.

docs/launch/launch-readiness-checklist.md

migration

Legacy Candidate Inventory

Selective migration shortlist for useful Ghost-native content and presentation patterns.

docs/migration/legacy-candidate-inventory.md

protocol

Master Launch TODO

Protocol, services, and app backlog for the canonical Ghost-native rebuild path.

docs/todos/master-launch-todo.md

operations

Governance Approval Workflow

Advisory-to-ratification workflow for operational changes and governance-gated rollouts.

docs/operations/governance-approval-workflow.md

Runtime Endpoints

Use these server endpoints to fetch live Ghost-native runtime data without introducing external explorer assumptions.

API

/api/status

Live chain probes using the ghost_chainId method against the configured Ghost RPC endpoints.

API

/api/docs

Structured developer docs catalog for the Ghost-native runtime, launch, and migration surfaces.