# Wallet FAQ
This document contains frequently asked questions related to BTCPay Server's internal wallet.
- What is BTCPay Server wallet?
- How to set up my wallet with BTCPay Server?
- Can I use a hardware wallet with BTCPay Server?
- Is there address re-use for separate stores using same xpub?
- Do I have to use BTCPay Server wallet?
- Why is sending a transaction using Trezor failing?
- Missing payments in my software or hardware wallet
- What is a derivation scheme?
- What is a Replace-By-Fee (RBF) transaction?
- How to add custom labels and comments to transactions?
- I don't see Lightning network payments in BTCPay wallet?
- Is there a mobile app for BTCPay Server wallet?
# What is BTCPay Server wallet?
BTCPay Server has an internal wallet which you can use to view incoming and outgoing associated Bitcoin transactions and spend your funds.
It works like any other wallet, but has enhanced privacy features (non-custodial, no third-parties, verified with your server's dedicated full node, etc.) by default and also solves certain UX problems you may encounter when using an existing wallet with BTCPay Server. It also includes many other wallet features such as custom transaction labelling, blockchain explorer links, transaction confirmation status, etc. It can be connected with many different external wallet types and even server generated hot wallets. For these reasons, it's recommended to use the internal wallet for the most flexible and best wallet experience in BTCPay Server.
# How to set up my wallet with BTCPay Server?
Your store's wallet setup page should guide you completely step by step to setting up any kind of wallet with BTCPay Server. If you have more questions, check our in-depth documentation on how to set up a wallet.
# Can I use a hardware wallet with BTCPay Server?
This means that you're using a hardware wallet without leaking information to third-party apps or servers unlike the default software for the devices, since the wallet relies on the full node in your BTCPay.
# Is there address re-use for separate stores using same xpub?
In short, no there is not. Create 2 separate stores on BTCpay Server under the same instance with the same xpub. If you do so, BTCPay Server will do address rotation correctly and never re-use between the stores.
This has to be done on the same instance. As was documented in Github issue #960 (opens new window)
# Do I have to use BTCPay Server wallet?
By default BTCPay Server only requires an extended public key. To receive payments to your BTCPay store, you provide an extended public key (xPub) which you can generate in an external (existing) wallet. You do not have to use the built in wallet at all, you can manage funds in your existing wallet instead.
However, it's recommended to use the built in wallet for funds management. The built in wallet not only improves your privacy by default, but also solves user-experience issues like gap-limit.
# Why is sending a transaction using Trezor failing?
If you are experiencing problems (such as "user refused" or unresponsive Trezor) while trying to send a (PSBT) transaction using the BTCPay HWI (Vault) and your Trezor wallet, enable the Always include non-witness UTXO if available setting by expanding the Advanced Settings on the Send page.
# Missing payments in my software or hardware wallet
If you're using an existing software or a hardware wallet with your BTCPay Server, you may experience a discrepancy between balance in your BTCPay wallet and the external wallet's web, desktop or mobile app. This discrepancy is usually related to a gap-limit issue.
# The gap limit problem
The majority of third party wallets are light wallets (opens new window), which share a node between many users. To prevent performance issues, both light and full node reliant wallets limit the amount (typically 20) of addresses without balance that they track on the blockchain. BTCPay Server generates a new address for every invoice.
With above in mind, after BTCPay Server generates 20 consecutive unpaid invoices, the external wallet stops fetching the transactions, assuming no new transactions occurred. Once 21st, 22nd, etc invoices are paid, your external wallet won't show them.
On the other hand, internally, BTCPay Server wallet tracks any address it generates itself along with a much greater gap limit. It does not rely on a third-party and is able to always show a correct balance.
# The gap limit solution
It's not easy to solve the gap limit problem. You have two options:
- Increase the gap limit in your existing (external) wallet
- Use internal BTCPay Server wallet
# 1. Increasing the gap limit
If your external/existing wallet allows gap-limit configuration, the easy fix is to increase it. However, majority of wallets do not allow this.
Unfortunately, with any other wallet you're likely to encounter a problem.
If you'd like to use an external wallet to manage the funds, we recommend that you recover your existing wallet into one of following wallets and increase the gap limit:
After you've increased the gap limit, the balance in your external wallet and BTCPay wallet should match. If they don't, you may have set up your derivation scheme incorrectly.
# 2. Use the internal wallet
For best user-experience and privacy, we recommend that you consider dropping external wallets and start using the BTCPay Server internal wallet.
# What is a derivation scheme?
No matter how you set up your wallet, BTCPay Server uses a
derivation scheme to represent the destination of the funds received by your invoices. The destination of those funds will be your wallet, located by the extended public key that you provide.
Using different derivation schemes with your extended public key, you can also choose to create various receiving address types, shown in your store invoices.
On top of the xPub extended public key formats shown above, BTCPay Server supports yPub and zPub formats. Please note that these will be converted to xPub once the wallet setup is completed. This has no effect on how you receive or send funds.
# What is a Replace-By-Fee (RBF) transaction?
A Replace-By-Fee (RBF) transaction is a feature of the Bitcoin protocol. Learn more about what it is, why it happens and the different types of RBF here (opens new window).
RBF capability is by default randomly enabled/disabled between transactions when using the BTCPay Server internal wallet, for enhanced privacy. In order to ensure it is enabled, or to disable it, see the advanced options of the BTCPay Server internal wallet.
# How to add custom labels and comments to transactions?
In addition to the automatic labels, you can easily create your own custom transaction labels. Labels can be used for filtering transactions in the wallet view. You can also add individual comments to transactions to leave a note or description about the payment.
# I don't see Lightning network payments in BTCPay wallet?
In the future they may become unified but for the time being, to manage your Lightning Network funds, use Ride the Lightning, ThunderHub, an externally connected Lightning wallet (Zeus, Zap, Spark, etc), or the Command Line Interface (CLI).
# Is there a mobile app for BTCPay Server wallet?
BTCPay Server is a web app (not a mobile app) and may be viewed using any device that can display a web browser. There are mobile apps which allow you to connect to your BTCPay Server Lightning node (Zeus, Zap, Spark, etc).
You can also use mobile apps to connect to your Bitcoin full node using either P2P or RPC. If you are on iOS you can easily connect to your Bitcoin full node using Fully Noded.
To connect your BTCPay node to Fully Noded:
1. Download Fully Noded from the App store. 2. In BTCPay, go to Server Settings > Services and click on the Full Node RPC. 3. Open your Fully Noded app, Quick Connect QR. 4. Scan the QR code displayed on your BTCPay. 5. Your Bitcoin full node is now connected to Fully Noded.
Here are some node statuses and network information you can easily monitor from your Fully Noded: