# Creating a Wallet

Key pairs created by the CLI are offline. \
\
You are responsible for safe storage of your seed phrase.

```elixir
{public_key, seed} = API.Wallet.generate_key()
```

```elixir
{"6szjTAfFU1KqxGVqyhuhGoA9GTJH93dEw6hDccVur2KV3Tc3juFfW5vYTENFe3hcPc",
 "2k3LidUYf6c6Lxs5YR2RY9mT7gJS6663XbyfarMQx8V5Pf28NF5XCQaecZrvYty6sKHxr5w4RoUct2t16agNTAQd"}
```

The output is your Base58 encoded BLS12-381 - 48byte public key and 64 byte seed. \
\
Your receiver wallet address is your public key.\
\
Keep your seed secret.


---

# 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.ama.one/cli/creating-a-wallet.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.
