> For the complete documentation index, see [llms.txt](https://docs.lightning.engineering/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lightning.engineering/lightning-network-tools/wavelength/first-steps.md).

# First Steps

Run Wavelength, deposit funds over Lightning or onchain, and send them out.

When using the CLI, you may have to define the network your `waved` instance is running on, e.g.:

`wavecli --network=signet/testnet getinfo`

## Create a wallet

When using the `btcwallet` (neutrino) or `lwwallet` (esplora) backend, you will first have to create a wallet.

`wavecli create`

This will prompt you to choose a password that will be used to encrypt your keys. After you confirm this password, you will be shown your seed phrase. Write it down carefully, ideally with pencil on paper, and store that paper somewhere securely.

## Unlock your wallet

After an eventual restart of waved, you may unlock your wallet using the password with:

`wavecli unlock`

## Receive

You can receive over Lightning, or onchain.

`wavecli recv --offchain --amt 2100 --memo ‘my first payment’`

You will be given a Bolt11 invoice, which you can pay from any Lightning wallet.

`wavecli recv --onchain`

You will be given an onchain address, to which you can send any amount. After one confirmation it will be swept and appear in your balance. Onchain fees and liquidity fees will be deducted.

## Activity

You can always inspect your balance.

`wavecli balance`

You can also check your activity log.

`wavecli activity`

## Send

You can send over Lightning or onchain.

`wavecli send --offchain <bolt11 invoice>`

Additionally, you can define a maximum offchain fee with `--max_fee <max fee in satoshis>`

`wavecli send --onchain <onchain address> --amt <amount>`

Alternatively, you can also sweep all funds with `--sweep-all` and define a maximum fee with `--max_fee`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lightning.engineering/lightning-network-tools/wavelength/first-steps.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
