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

    • Introduction
    • Running a sample LDK node
    • Overview

      • Architecture
      • Peer Management
      • Persistent Storage
      • Blockchain Data
      • Wallet Management
      • Networking
      • Private Key Management
      • Transactions
      • Random Number Generation
    • Payments
    • Blockchain Data

    • Key Management
    • 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)
    • Java/Kotlin (opens new window)
    • Swift (opens new window)
    • TypeScript (opens new window)

# Networking

To enable you to run a full Lightning node on an embedded machine, LDK doesn't specify exactly how to connect to another node at all! The default implementation uses TCP sockets, but, e.g., if you wanted to run your full Lightning node on a hardware wallet, you could, by piping the Lightning network messages over USB/serial and then sending them in a TCP socket from another machine.

  • Sample module in Rust (opens new window)
  • Sample module in Java (opens new window)
Edit this page (opens new window)
Last Updated: 11/29/2021, 3:23:07 PM

← Wallet Management Private Key Management →

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

Documentation

Introduction
Sample LDK node
Architecture
Payments
Blockchain Data
Key Management
Examples

Resources

Case Studies
Blog

Other

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

Copyright © 2023 LDK Developers