Skip to main content

Getting Started

Hit the live network

The gateway is live at https://gateway.lodestar-dashboard.com. Every request must include your Ethereum address in the X-Consumer-Address header — the gateway uses it to charge GRT from your escrow on-chain.
No X-Consumer-Address header → 402 Payment Required. No funded escrow → the provider rejects the request. Fund your escrow at lodestar-dashboard.com/dispatch before making requests. See Payments for the full escrow setup. Every response carries an x-drpc-attestation header — an ECDSA signature from the provider over keccak256(chainId || method || params || response || blockHash). You can verify this with the consumer SDK (see Using the Network).

Smoke test a live provider

Fires real TAP-signed JSON-RPC requests directly at the provider endpoint (bypasses the gateway). Requires a key that is in the provider’s authorized_senders list.
Expected output:
DISPATCH_SIGNER_KEY must be the private key of an address in the provider’s authorized_senders list. DISPATCH_PROVIDER_ADDRESS must match the provider’s registered address exactly — it is embedded in the TAP receipt and validated on-chain.

Run the drop-in proxy

Point MetaMask, Viem, or any Ethereum library at the Dispatch network without changing application code. The proxy runs locally and handles everything — key management, provider discovery, receipt signing.
On first run it generates a consumer keypair, prints your consumer address, and links to the funding dashboard. Fund the escrow at lodestar-dashboard.com/dispatch, then add http://localhost:8545 to MetaMask as a custom network. See Using the Network → dispatch-proxy for full configuration options.

Run the local demo

Runs a complete local stack on Anvil — Horizon contracts, dispatch-service, dispatch-gateway — makes 5 RPC requests, submits a RAV, and proves GRT lands in the payment wallet. The full loop in one command. Requires: Foundry and Rust stable.

Build from source


Docker Compose

The quickest path to a full running stack:
The default stack starts dispatch-service, dispatch-gateway, and PostgreSQL.