> 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

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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
