Docs
Case Studies
Blog
Discord (opens new window)
GitHub (opens new window)
GitHub (opens new window)
Docs
Case Studies
Blog
Discord (opens new window)
GitHub (opens new window)
GitHub (opens new window)
  • Documentation

    • Introduction
      • Use Cases
      • Architecture
      • Peer Management
      • Persistent Storage
      • Blockchain Data
      • Wallet Management
      • Networking
      • Private Key Management
      • Transactions
      • Random Number Generation
    • Building a node with LDK

    • Running a sample LDK node
    • Blockchain Data

    • Key Management
    • Fee Estimation
    • Probing and Path Finding
    • Examples
  • API Reference

    • Rust

      • lightning (opens new window)
      • lightning-background-processor (opens new window)
      • lightning-block-sync (opens new window)
      • lightning-invoice (opens new window)
      • lightning-net-tokio (opens new window)
      • lightning-persister (opens new window)
      • lightning-rapid-gossip-sync (opens new window)
      • lightning-transaction-sync (opens new window)
      • lightning-custom-message (opens new window)
    • Swift (opens new window)

# Persistent Storage

You can store the channel state any way you want - whether Google Drive/iCloud, a local disk, any key-value store/database/a remote server, or any combination of them - LDK provides a clean API, where objects can be serialized into simple binary blobs, and stored in any way you wish.

LDK's Persist docs (opens new window)

Sample module in Rust (opens new window)

Edit this page (opens new window)
Last Updated: 4/7/2025, 9:18:46 AM

← Peer Management Blockchain Data →

Docs

Introduction
Building a node with LDK
Running a sample LDK node
Architecture
Blockchain Data
Key Management
Fee Estimation
Probing and Path Finding
Examples

Community

GitHub (opens new window)
Twitter (opens new window)
Chat on Discord (opens new window)
LDK Calendar (opens new window)
LDK Review Club (opens new window)
Code of Conduct

Resources

Case Studies
Blog

Other

Bitcoin Dev Kit (opens new window)
Reporting a Vulnerability (opens new window)

Copyright © 2025 LDK Developers