---
title: "Greenlight — definition | Nuri Glossary"
description: "A hosted Lightning node where the operator runs the infrastructure but the user keeps the keys."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/greenlight"
---

# Greenlight

A hosted Lightning node where the operator runs the infrastructure but the user keeps the keys.

## Basically

Blockstream runs your Lightning node in its cloud to keep it reliable, while your keys stay on your device. You keep control of your funds without running the node yourself.

## Key Takeaways

- Greenlight runs a Core Lightning node in Blockstream's cloud for you, while your private keys stay on your device. You keep self-custody without the operational burden of running node infrastructure.
- The Validating Lightning Signer (VLS) checks every signing request against Lightning protocol rules before your device approves it. This stops the cloud node from stealing funds.
- Developers can integrate through gRPC APIs with SDKs for Rust, Python, Kotlin, and Swift. Wallets and apps can offer LSP-backed Lightning without managing node infrastructure themselves.

## What Is Greenlight?

Greenlight is Blockstream's Lightning-as-a-Service platform for provisioning and managing Core Lightning (CLN) nodes in the cloud for end users. Custodial Lightning wallets give a provider control of both the node and the keys, but Greenlight splits these responsibilities. Blockstream operates the networking, database, backups, and watchtowers, while your private keys remain exclusively on your device and never touch Blockstream's servers.
Greenlight targets wallet developers and application builders who want to offer Lightning without running and maintaining node infrastructure. A Greenlight node can be registered in under one second and starts in approximately 200 milliseconds. It operates on demand and enters sleep mode when it is not processing payments.
Greenlight sits between fully custodial solutions, where a provider controls everything, and fully self-hosted setups, where you manage all infrastructure. You get the security of self-custody with the convenience of managed infrastructure.

## How It Works

Greenlight's architecture builds on Core Lightning's modular design. In a standard CLN installation, a component called hsmd is the only module that ever touches cryptographic keys. Greenlight extracts this signing module and runs it on your device instead of the server, creating a two-domain control model:
The cloud node sends a request to the signer on your device when it needs to open a channel, forward an HTLC, or commit a new state. The signer validates the request, signs it if it passes policy checks, and returns the signature. The node then broadcasts the signed transaction or updates the channel state.

## Validating Lightning Signer (VLS)

VLS is the critical component that makes this model truly non-custodial. It is an open-source Rust library that powers the signer. A naive approach to remote signing would be "blind signing", where the device signs whatever the node asks without checking whether the request is legitimate. That is effectively shared custody because a compromised node with a blind signer can craft malicious transactions to steal funds.
VLS prevents blind signing by independently validating every signing request. It applies these checks before approving a request:
Your signer would reject any malicious signing request even if Blockstream's infrastructure were fully compromised, so an attacker could not steal user funds. Greenlight reports zero funds lost to node compromise across its user base.

## Authentication and Communication

All communication between clients and Greenlight's infrastructure uses gRPC with mutual TLS (mTLS) authentication. Each client receives its own identity consisting of a private key and certificate. The registration flow works as follows:
Multiple frontend applications on mobile, browser, and desktop can connect to a single Greenlight node simultaneously. Only one signer can be active at a time, and the device holding the keys must be online for the node to process payments.

## Developer Integration

Greenlight provides SDKs across multiple languages. These tools make it accessible to most mobile and backend development teams:
The gl-testing library provides a complete mock environment so developers can build and test without hitting the production service. Developer access is managed through the Greenlight Developer Console, which provides self-service certificate management and API key generation.

## Breez SDK Integration

The Breez SDK offered a high-level integration layer on top of Greenlight. It bundled the signer, node provisioning, LSP channel management, and submarine swap functionality into a single SDK, allowing wallet developers to integrate Lightning with minimal code. Relai, for instance, used the Breez SDK with Greenlight to onboard over 100,000 users to Lightning.
The Breez SDK Greenlight integration has since been deprecated in favour of newer SDK approaches. The underlying Greenlight platform and its native SDKs remain actively maintained.

## Comparison to Other Lightning Models

Greenlight occupies a specific point on the Lightning custody spectrum. Its position relative to the alternatives clarifies its trade-offs:
Greenlight removes the single point of failure found with custodial Lightning Service Providers, where a provider compromise can mean lost funds. Compared with self-hosted nodes running LND or CLN on your own hardware, it also removes the DevOps burden of keeping a node online, updated, and backed up.
The Lightning Service Providers guide and the mobile wallet architecture overview offer a deeper comparison of Lightning infrastructure approaches. They provide more detail on the available models and their trade-offs.

## Wallet Applications

Greenlight's primary use case is powering non-custodial Lightning wallets. Wallet developers can provision a Greenlight node for each user instead of asking users to run their own node or trusting a custodian with their funds. The wallet app runs the VLS signer locally, giving users the UX of a simple mobile wallet with the security guarantees of self-custody. Blockstream Green uses Greenlight for its own Lightning functionality.

## Fintech and Payment Integration

Businesses can use Greenlight as their backend to accept or send Lightning payments without operating node infrastructure. The gRPC API integrates into existing payment stacks, and the on-demand node model means businesses only consume resources when actively processing transactions. The free tier supports up to 1,000 nodes, with enterprise plans available for larger deployments.

## Rapid Prototyping

Developers building on Lightning can use Greenlight to skip the infrastructure setup phase entirely. A node registers in under a second, and the testing library provides a mock environment for development. This lowers the barrier to experimenting with Lightning features like keysend payments, BOLT12 offers, or hodl invoices.

## Why It Matters

The operational complexity of running a node is one of the biggest barriers to Lightning adoption. Users must keep hardware online 24/7, manage channel liquidity, handle backups, and stay current with software updates. This complexity pushes most users towards custodial solutions, which defeats one of Bitcoin's core value propositions: self-custody.
Greenlight addresses this problem by decoupling key custody from node operations. Users who lack the technical ability or desire to run infrastructure can still hold their own keys and maintain sovereign control of their funds. For the broader Bitcoin ecosystem, this expands the set of users who can participate in Lightning non-custodially.
Layer 2 solutions like Greenlight, Lightning, and Spark each take different approaches to making Bitcoin more usable at scale. Greenlight focuses on reducing the infrastructure barrier for Lightning specifically, while Spark provides an entirely new layer with native self-custody and stablecoin support built in. Both reflect the same principle: users should not have to sacrifice custody for convenience.

## Privacy Tradeoffs

Blockstream has visibility into transaction metadata because it operates the node, including invoices, payment amounts, channel counterparties, and routing information. This is a meaningful trade-off compared with running your own node, where no third party sees your activity. Blockstream has acknowledged this and has been working on encrypting invoice details and routing payments as onions to reduce their visibility, but users should understand that Greenlight is not equivalent to a self-hosted node in terms of privacy.

## Signer Availability

Your device must be online and running the signer for the node to process payments. If your phone is off, in aeroplane mode, or the app is killed by the OS, the node cannot sign transactions. This creates a tension between the security model of keeping keys on your device and the always-on nature of Lightning nodes. Incoming payments, channel state updates, and force-close responses all require the signer.

## Vendor Dependency

Greenlight supports offboarding, so users can export their node and migrate to self-hosted CLN infrastructure. Active use still depends on Blockstream's infrastructure being available. Users need a migration path if Blockstream discontinues the service or experiences prolonged outages. Greenlight nodes run standard Core Lightning, which makes this migration technically straightforward, but it still represents a dependency.

## Not for Routing Nodes

Greenlight is designed for endpoint and wallet nodes, not for routing node operators. Users who want to earn routing fees or provide inbound liquidity to the network should run their own dedicated node infrastructure instead.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
