Skip to content

Lexe Developer Docs

Lexe is a next-generation self-custodial Lightning wallet with free node hosting and reliable 24/7 payments. Lexe makes it easy to send and accept Bitcoin payments after only a few minutes of setup.

This website contains guides and documentation on how to integrate Lightning payments and make Lightning payouts in your application. The Showcase lists recent projects built on Lexe.

For wallet documentation, including how Lexe works, Lexe's security model, pricing, and product information, please refer to docs.lexe.app.

Platforms

Servers

Control a Lexe wallet from any backend with the Rust or Python SDK, the sidecar, or the Lexe CLI.

Static sites

Accept Lightning payments on a static site with no server of your own, using an embeddable tip widget or LNURL-verify.

Mobile and desktop

Link the Rust SDK through a Rust layer in your app, or bundle the sidecar on desktop.

Browser extensions

Send and receive payments from an extension through a hosted sidecar.

SDKs

Lexe CLI

The Lexe CLI allows you to create and control self-custodial, always-online Lightning wallets from the command line.

Rust SDK

The Rust SDK is our most advanced SDK, ideal for building secure, reliable, high-performance applications.

Python SDK

The Python SDK provides a simple interface that makes it easy to integrate a self-custodial Lightning wallet into any Python application, or create and manage a wallet interactively via a Python REPL.

Sidecar SDK

The Sidecar SDK lets you build Lightning-powered apps in any language. It runs a local webserver that proxies REST requests to your Lexe node, so you can integrate Lightning payments using only HTTP calls.

Protocols

LexeConnect

LexeConnect lets users connect their Lexe wallet to your app or service in one tap. Your app requests the scopes it needs and receives a client credential limited to them, which the user can revoke at any time.

Pay with Lexe links open a payment code directly in the Lexe app, so your users can pay from your website or app without scanning or copy-pasting.