LDGR/Docs
DocsDevelopersDeveloper hub

Build on LDGR.

A practical route for browser apps, backends, wallet surfaces, and local CLI work. Pick the job first; the package follows.

Build with your agent

Bring your AI agent.

One prompt gives your AI coding tool the networks, packages, and guides to start building on LDGR.

Get testnet tLEDRA →

Read prompt.md →

Choose the job.

03 / assetsWork with assets →

Keep display names, public IDs, and exact amounts in the right places.

First integration

Get a safe testnet path running in three moves.

  1. 01
    Install the narrowest package

    Use the protocol for values, the client for services, and the wallet SDK for browser confirmation.

    See package examples →
  2. 02
    Fund a testnet wallet

    Use https://tst.ldgr.ltd, ledgerId: 0, and an ldgrt address. Claim tLEDRA from the faucet before testing paid actions.

    Get testnet funds →
  3. 03
    Verify the result

    Fulfil a payment only after the expected asset, amount, recipient, and transaction hash are verified.

    Read the receipt guide →

Use the right surface.

AI client
Connect @ldgr/mcp locally or use the hosted endpoint for public reads and unsigned requests. Follow the MCP setup guide.
Browser UI
Use @ldgr/wallet-sdk for Ledra Connect, payment elements, and the reusable swap widget.
Backend service
Use @ldgr/client for authoritative reads, payment verification, and caller-owned service signing.
Wallet surface
Use @ldgr/wallet-core when your app itself needs browser-safe vault and signing primitives.
Exact values
Use @ldgr/protocol for canonical payloads, addresses, asset IDs, and decimal-to-atomic conversion.
Testnet first

Test with disposable funds, then change the network deliberately. Mainnet uses https://ldgr.ltd, ledgerId: 1, and native public ID t1.

Add-ons

Ledra Memory is a separate service built on the LDGR ledger. It provides encrypted project memory for agents, with scoped access and prepaid service credit. It is currently a testnet preview.

Explore Ledra Memory → · Set up the service →