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 https://rpc.ghostchain.cloud
ghostl2 https://ghostchain.cloud/rpc/l2
ghostl3 https://ghostchain.cloud/rpc/l3

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

architecture

Ghost Brand Spec

Canonical naming, replacement, package, env-var, and enforcement policy for the Ghost-native production path.

docs/branding/brand-spec.md

protocol

G-POAi Consensus

GhostBFT plus GhostSeal-based AI integrity receipts, dispute windows, replay, and settlement gating.

docs/architecture/poai-consensus.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

operations

G-POAi Governance Parameter Policy

Governance-owned approval and change-control parameters for models, runtimes, task classes, and bonds.

docs/governance/poai-parameter-policy.md

operations

G-POAi Threat Model

Threat analysis and invariants for GhostSeal attestation, replay, challenge, and settlement gating.

docs/security/poai-threat-model.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.

API

/api/project

Project-wide app/package/service catalog for GhostChain workspace navigation and operator context.