# 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 →](/docs/guides/faucet)

[Read prompt.md →](/docs/prompt.md)

## Choose the job.

01 / browser **[Build a payment flow →](/docs/guides/payments)**

Request a wallet confirmation and verify the settled receipt.

02 / wallet **[Connect a user wallet →](/docs/guides/wallets)**

Use Ledra Connect without receiving or storing the private key.

03 / assets **[Work with assets →](/docs/guides/assets)**

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

04 / swap **[Embed a swap widget →](/docs/developers/packages)**

Give a user a configurable swap surface with wallet confirmation.

05 / service **[Read and verify from a backend →](/docs/guides/sdks)**

Use the client package for public reads, quotes, and payment verification.

06 / terminal **[Work locally with the CLI →](/docs/developers/packages)**

Create a local wallet, inspect balances, and send from the terminal.

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 →](/docs/developers/packages)
    
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 →](/docs/guides/faucet)
    
3.  03
    
    **Verify the result**
    
    Fulfil a payment only after the expected asset, amount, recipient, and transaction hash are verified.
    
    [Read the receipt guide →](/docs/guides/explorer)
    

## 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](/docs/guides/mcp).

**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 →](/docs/guides/ledra-memory) · [Set up the service →](/docs/guides/ledra-memory-setup)

[Browse the cookbook →](/docs/developers/cookbook)[Open package examples →](/docs/developers/packages)[Read the integration overview →](/docs/guides/sdks)
