# Getting started

Welcome to the Lightning Development Kit documentation!

If you have any questions about anything related to LDK, feel free to ask our community on GitHub Discussions (opens new window) or join us on Discord (opens new window).

# System Requirements

MacOS, Windows and Linux are supported.

# Installation

To add LDK to a project, run:

  • Rust
  • Java
  • Kotlin
  • JavaScript
  # Add the following dependencies to your cargo.toml and replace {VERSION} with the version number you want to use.

  [dependencies]
  lightning = { version = {VERSION}, features = ["max_level_trace"] }
  lightning-block-sync = { version = {VERSION}, features = [ "rpc-client" ] }
  lightning-invoice = { version = {VERSION} }
  lightning-net-tokio = { version = {VERSION} }
  lightning-persister = { version = {VERSION} }
  lightning-background-processor = { version = {VERSION} }
  lightning-rapid-gossip-sync = { version = {VERSION} }

Example usage after installation is complete:

  • Rust
  • Java
  • Kotlin
  • JavaScript
use lightning::chain::chaininterface::FeeEstimator;