# Create your own wallet

Creating a wallet in Bitcoin is incredibly tricky. Depending on your need, there is various tools that will help you to reach your goal.

A Bitcoin wallet must do the following:

1. Generate addresses.
2. Recognize transactions spent to these addresses.
3. Detect transactions, those are spending from these addresses.
4. Show the history of the transactions involving this wallet.
5. Handle reorgs.
6. Handle conflicts.
7. Dynamically calculate transaction fees.
8. Build and sign transactions.
9. Broadcast transactions.

Doing all of this by yourself from scratch requires serious skills and experience. Luckily there are tools you can utilize.


---

# 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://programmingblockchain.gitbook.io/programmingblockchain/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.
