# Overview

## Lightning Network

BitBanana leverages the Bitcoin Lightning Network, a second-layer framework that enhances the speed and efficiency of Bitcoin transactions. If you’d like to explore how Lightning works, please refer to our dedicated [Lightning Network](/getting-started/lightning-network.md) section for detailed explanations.

## **BitBananas' use cases**

There are essentially two ways to use BitBanana:

1. Run your own personal Bitcoin Lightning node and control it remotely with BitBanana.
2. Connect to an account hosted on a shared Lightning node (which can be yours or someone else’s).

### Remote controlling your own Lightning node

This approach is fully self-custodial, meaning you must set up your own Lightning node beforehand. In return, you gain enhanced privacy, more features, and maximum flexibility.

BitBanana supports two Lightning implementations: [LND](https://github.com/lightningnetwork/lnd) and [CoreLightning](https://blockstream.com/lightning/).\
Depending on the option you choose, BitBanana might support or lack different features. \
For further information, please check the [backend differences](/getting-started/backend-differences.md).

\-->  [I want to remote control my own node](/setup/connect-a-lightning-node.md)

### Connecting to a wallet hosted on a shared Lightning node

In most cases, this arrangement is custodial. The individual or organization running the Lightning node holds control over the funds stored in each wallet. This operator can also view the transaction history for all wallets hosted on that node. That said, there are scenarios where it makes sense:

* Someone runs a node and sets up some wallets for his family members where trust is not a concern.
* You are the operator of the node and want to have different accounts for yourself. In this case it is a self-custodial arrangement.
* You choose to deposit only small amounts, accepting reduced privacy and security for the sake of convenience.

BitBanana allows to connect to such a wallet using [Nost Wallet Connect](https://nwc.dev/) or [LndHub](https://bluewallet.io/lndhub/).\
Depending on the option you choose, BitBanana might support or lack different features. \
For further information, please check the [backend differences](/getting-started/backend-differences.md).\
\
\-->  [I want to connect to a hosted wallet](/setup/connect-a-hosted-wallet.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bitbanana.app/getting-started/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
