How To Whirlpool Your Bitcoin On Desktop With Sparrow Wallet
![How To Whirlpool Your Bitcoin On Desktop With Sparrow Wallet](https://bitcoinmagazine.com/.image/c_fit%2Ccs_srgb%2Cq_auto:good%2Cw_620/MTg5MTExNTY1NjkyMTg0MzQ0/sparrowpp_3.png)
Another way to help improve the privacy of your bitcoin transactions is using Whirlpool with Sparrow Wallet.
All Bitcoin transactions are public, anyone can look at them. Whirlpool breaks deterministic links to past transactions and provides forward-looking anonymity. This part of the series demonstrates how to Whirlpool your bitcoin so that you can take steps to preserve the censorship-resistant and permissionless attributes of Bitcoin using your own Bitcoin Core node as the backend for your Sparrow Wallet and Whirlpool GUI.
If you missed Parts One, Two or Three of this series, be sure to check them out to better understand the real-world implications of using Bitcoin without any anonymity preserving tools and the other two methods for using Whirlpool..
Part 3: Whirlpool On Desktop With RoninDojo Tanto
Part 4: Whirlpool on desktop with Sparrow Wallet (You are here)
Method 3: Whirlpool With Sparrow Wallet
Sparrow Wallet is a Bitcoin wallet designed to be connected with your own node and run from your desktop or laptop computer. This is a user-friendly wallet with an intuitive interface and many advanced features for a range of capabilities. To learn more about Sparrow Wallet and for installation instructions, visit the Sparrow Wallet website.
In this guide you will see:
- How to get started, connect your Sparrow Wallet using your own Bitcoin Core node
- How to generate addresses, set up a hot wallet in Sparrow for receiving and Whirlpool mixing
- How to connect to your Coldcard
- How to connect to your Passport
- How to deposit to your hardware wallet directly from Whirlpool
- How to spend from air-gapped Coldcard
- How to spend from air-gapped Passport
Step 1: Connect With Bitcoin Core
If you don't have your own Bitcoin Core node, you can use reputable public Electrum servers as demonstrated in this Coldcard Ultra Quick Guide. However, there are privacy trade-offs that come with using the convenience of a public Electrum server. Luckily there are a number of resources available to help you spin up your own Bitcoin node. To learn more check out:
- Sparrow Wallet documentation
Once you have your Bitcoin Core node ready, there are a couple of steps needed to configure it to work with Sparrow Wallet.
If you have Bitcoin Core running on the same computer as Sparrow Wallet, then all you need to do is open the `bitcoin.conf` configuration file and add `server=1` near the top and save it. Then relaunch Bitcoin Core. You may have a blank configuration file if this was a new Bitcoin Core install and that is fine.
Alternatively, if you are running Bitcoin Core on a remote computer, you need to add a username and password and the remote procedure calls (RPC) binding local IP addresses in the configuration file. To do this, navigate to the `bitcoin.conf` configuration file and open it in your preferred text editor. Then add the local IP address for your node and the local IP address for your desktop. For example:
`rpcuser=pi`
`rpcpassword=Nakamoto21`
`rpcbind=127.0.0.1`
`rpcbind=192.168.0.11 #(your node)`
`rpcallowip=127.0.0.1`
`rpcallowip=192.168.0.12 #(desktop)`
Save those changes and then you should be able to connect to your Bitcoin Core node from your computer on the same local network. Make sure you restart Bitcoin Core after saving those changes.
Now you are ready to configure Sparrow Wallet to talk to your Bitcoin Core node. Once you have Sparrow Wallet installed and launched, you will be presented with an empty user interface. Navigate to `File` > `Preferences`.
Then click on the `Server` tab on the left-hand side. Click on the `Bitcoin Core` tab for the `Server Type`. If running Bitcoin Core on the same computer, use the `127.0.0.1` rpcbind IP address with `8332` as the port and the default authentication option. Or if running Bitcoin Core on a different computer, use the same User/Pass that you entered in the `bitcoin.conf` file. Either way, set the Data Folder directory to the same folder the `bitcoin.conf` file is being written. This should be the same directory that Bitcoin Core writes the `.cookie` file that Sparrow Wallet needs to read. Test the network connection from Sparrow Wallet. If it’s good, you should see the green check mark next to `Test Connection` and some information populated in the dialog box below that. Then you can close that window.
Unfortunately, Bitcoin Core stores your public keys and balances unencrypted on the computer it is running on. Although your bitcoin are not directly at risk of theft, if this computer is regularly connected to the internet, it is at risk to hackers - which has the potential to make you a target if your balance and geographic location are discovered. To learn more about Sparrow Wallet best practices, check out this Sparrow Wallet resource.
Now that Sparrow Wallet is connected with Bitcoin Core, this is a good time to get the hot wallet setup.
Step 2: Configuring Sparrow As A Whirlpool Wallet
This section will show you how to set up the hot wallet that you can use for the Whirlpool CoinJoin implementation in Sparrow Wallet. Using Whirlpool will help prevent anyone watching the movement of your transactions on chain from being able to follow your trail. This will also help prevent anyone you spend your bitcoin with from knowing your prior transaction history.
The important idea to understand here is that you are making a hot wallet in Sparrow that is totally separate from your hardware wallet. You want to keep your hardware wallet totally air-gapped and never have that signing key on a device that is connected to the internet. When you use Whirlpool however, Sparrow Wallet needs to sign CoinJoin transactions as they are created. The benefit of leaving your UTXOs in Sparrow Wallet to mix is that your UTXOs will continually be registered as available inputs when new liquidity enters the mixing pool. Your UTXOs will be able to continue remixing again and again for free, so you get more and more anonymity with each mix: this is the incentive to leave your UTXOs mixing. The downside is that you have a Bitcoin wallet connected to the internet with private keys on it, thus the term "hot wallet."
The hot wallet will be used to deposit bitcoin to, then it will be mixed, and once the UTXOs are in the post-mix hot wallet, you can choose to set a minimum number of mixes you want to achieve and then have them automatically deposited to your hardware. This is where things get interesting, when you have a post-mix UTXO deposited to a hardware wallet straight from a CoinJoin, on chain it is impossible to tell that this has been moved to a different wallet. It looks like it is just an unspent CoinJoin output. And so long as it remains unspent, then while other UTXOs from that last CoinJoin transaction continue to mix, your anonymity continues to grow.
To get started, open the Sparrow Wallet application. You should be presented with a blank homepage and you should see that the toggle switch in the lower right-hand corner is colored yellow if you are using a public Electrum server, green if you are using Bitcoin Core, or blue if you are using your own Electrum server.
Navigate to `file` > `New Wallet`. Then name your new wallet whatever you want and select `Create Wallet`.
The next screen you will be presented with is going to ask you for some specific information about how you want to configure your new wallet. For the purposes of a Whirlpool hot wallet, the following default options are fine:
- Policy Type: `Single Signature`
- Script Type: `Native Segwit (P2WPKH)`
- Script Policy Descriptor: `wpkh(Keystore1)`
- Then under the `Keystore 1` section choose: `New or Imported Software Wallet`
On the screen that pops up, click on the drop-down menu that says `Use 24 Words` and select how many seed words you want in your seed phrase. 24 words are used for this demonstration. Then click on the button that reads `Use 24 Words` (or whatever number of words you selected).
Next, you will be presented with a screen full of blank cells for your seed words. Click on `Generate New` and these cells will be filled in from the results of the Sparrow Wallet random number generator.
Ensure that you write these words down, in order, in a notebook or other piece of paper that you can keep secure in the way you would with gold, cash or jewelry. Never share these words with anyone, because they will then have full access to your bitcoin. Do not take a screenshot of these words. Do not take a photograph of these words. Do not say them out loud. Do not put them in a text file.
The passphrase is optional but recommended. If anyone ever gains access to your seed words, then the passphrase will be the only thing protecting your bitcoin. Using a high entropy passphrase will make it difficult for anyone to guess your passphrase. Ensure that you also write this passphrase down, as you will not be able to restore your wallet without it in the event that you need to attempt to recover your bitcoin. There is no way for the wallet to know what your passphrase is and any passphrase you enter will be accepted. If you enter the passphrase incorrectly in the future due to forgetting or losing it, you will lose access to your bitcoin. Also, consider storing your passphrase separately from the seed phrase because if anyone finds them together, then for sure they will swipe your bitcoin.
Many people choose to stamp their seed words and passphrase into a metal medium because it can withstand extreme environments like fire and flooding better than paper. For this kind of wallet though, you may only be using it as a pass-through to get some anonymity on your bitcoin before depositing it to your hardware wallet. Perhaps given the short time you will have bitcoin in this wallet is reason enough to not go through the trouble of stamping the information into metal. The choice is totally up to you and there are many options out there like the SEEDPLATE from Coinkite, the Domino from BitPLATES, or even DIY solutions like stainless steel washers.
After clicking on `Confirm Backup` you will see a dialog box popup asking you if you have written the seed words down; click on `Re-enter Words`.
Then type all your seed words in order and enter your passphrase. If you make a spelling mistake, the wallet will warn you by highlighting the incorrect word in red. Once everything is correct and you have entered your passphrase, click on `Create Keystore`.
The next screen will show you the derivation path; leaving this as the default is fine and recommended unless you have a specific reason you want to change it and you understand the implications of doing so. Click on `Import Keystore`, leaving the account from the drop-down menu on the default setting, `#0`. You will be asked to enter your passphrase again in a pop-up dialog.
The next screen will display the summary details of the wallet you have just created. One important item to note here is the `Master Fingerprint`. This is a unique checksum that accompanies your passphrase. Any passphrase you enter will generate a different fingerprint. This is how you can verify that you have entered your passphrase correctly the next time you open this wallet. You can always come back to this page and find this information when you select the `Settings` tab from the left-hand side menu. You can store your fingerprint with your passphrase, this does not compromise your security. Once you have your fingerprint written down, click on `Apply`.
You will be asked if you would like to add a password to this wallet. This password is different from your passphrase, as the password is used to encrypt the wallet data file that Sparrow Wallet saves on your computer. Having this file password-protected will add an additional layer of security in case anyone gains access to your computer.
Step 3: Using Whirlpool
Now that you have your wallet all set up, you are ready to start using Whirlpool. You will need some bitcoin deposited into your wallet first. To get a receiving address, navigate to the `Receive` tab on the left-hand side menu and you will be presented with a QR code and the text of your first bitcoin address. Consider using a non-KYC method to acquire bitcoin.
Once you receive your first deposit, you will see the transaction appear in Sparrow Wallet, under the `Transactions` tab on the left-hand side menu. In this example, 0.01 BTC was received.
Now that you have some bitcoin, navigate to the `UTXOs` tab in the left-hand side menu and then select the UTXO you are interested in. You will see the `Mix Selected` button appear once you select the UTXO(s). Click on that button and then click `Next` in the two pop-up explainer windows that describe the Whirlpool process.
Then if you have an "SCODE" you can enter it in the third window. The "SCODE" can be used for discounted CoinJoin fees announced by @SamouraiWallet. Then click on `Next`.
Then you will be presented with a preview describing which pool is appropriate for your BTC amount, the anonset, the pool fee and how many UTXOs you will have as eligible inputs for CoinJoins. Then click on `Preview Premix`.
You will be presented with the overview of the transaction you are creating called "tx0". This transaction is what splits your input into the several outputs you are creating that will be used as inputs to the CoinJoin transactions you are about to participate in when Whirlpooling.
You can check all the addresses you are sending to with the different tabs in the `Send` section. There is a graph which gives you a visual indication of how the transaction is being split up; noting the Whirlpool fee, Badbank Change, the Premix UTXOs and the miners fee. If everything looks good, click on `Broadcast Premix Transaction`.
You'll also notice that four additional tabs showed up on the right-hand side of Sparrow Wallet. These are basically four separate wallets you have so that you can manage your bitcoin safely.
- The `Deposit` tab will be where you generate receiving addresses. This works just like any other Bitcoin wallet; you can send from here too just like any regular Bitcoin wallet.
- The `Premix` tab is where you can view the history of your pre-mix UTXOs; you do not want to manually receive or send bitcoin from this wallet.
- The `Postmix` tab is where you will see your UTXOs after they have been mixed. All the UTXOs in this wallet have been through at least one CoinJoin transaction. So long as you leave these UTXOs in here, they will continually be registered as available UTXOs when new liquidity enters the Whirlpool and they will re-mix for free. So the longer you leave UTXOs in here, the more mixes they will get and the more anonymity you will achieve (so long as your desktop GUI is connected).
- The `Badbank` tab is where your toxic change from the "tx0" gets sequestered from the rest of your funds. You want to be careful what you do with this toxic change. If you combine it with your postmix UTXOs then you will be degrading the privacy gains you got in Whirlpool.
Next, you'll see how to configure a hardware wallet as a watch-only wallet in Sparrow Wallet which allows you to keep an eye on your balance and generate receiving addresses while keeping the hardware wallet totally air-gapped. Once the watch-only wallet is imported then it can be set to deposit directly from Whirlpool CoinJoins.
Step 4(A): How To Connect Coldcard
In order to keep your Coldcard air-gapped, the public information from the Coldcard called an xPub will be used to import the necessary information into Sparrow Wallet on your desktop. By doing this, Sparrow Wallet will be able to generate receive addresses and QR codes, monitor the Coldcard's balance, initiate PSBTs and deposit directly from Whirlpool — all without exposing any of the private information from the Coldcard, like the signing key.
You will use the microSD card to transfer information between the desktop and the Coldcard. Ensure the microSD card is inserted to the Coldcard.
First, the `.json` file needs to be exported from the Coldcard, which will contain all the public information necessary so that Sparrow Wallet can import this watch-only wallet. From the Coldcard main menu select `Advanced` > `MicroSD Card` > `Export Wallet` > `Generic JSON`.
This is going to write the file to the microSD card, then you can connect that microSD card to your desktop computer with your USB adaptor. Copy/paste the exported `.json` file to your desktop from the microSD card. Note the file location and now you will switch back to Sparrow Wallet to get it ready to import the `.json` file.
In Sparrow Wallet, create a new wallet by selecting `File` > `New Wallet`, then you will be asked to name this wallet. Name the wallet whatever you want, then click on `Create Wallet`.
You will see the following screen, and you can leave all the settings on the defaults. Then select `Airgapped Hardware Wallet`.
A screen will pop up and you can click on the `Import File` button next to the Coldcard icon. This will open your file explorer where you can point Sparrow Wallet to the file location containing the exported Coldcard `.json` file. Select that file and click on `open`.
After a moment, you will see a summary of the wallet you are about to apply. You will notice a "Master fingerprint" dialog box with eight characters in it. You can use this unique identifier to confirm that you are importing the correct wallet from your Coldcard.
On your Coldcard, from the main menu, navigate down to `Advanced` > `View Identity` and you can compare the displayed fingerprint to the one displayed in Sparrow Wallet. This is especially important to confirm if you have added a passphrase, which will be covered in the Coldcard paranoid guide.
If everything looks good, then click on `Apply` in Sparrow Wallet.
After clicking on `Apply`, you will have the opportunity to add a password to your wallet. This is a password which will encrypt the Sparrow Wallet data file that is saved on your computer. This password can protect your wallet if someone else gains access to your desktop and Sparrow Wallet file. If you forget your password, you will need to create a new wallet file by repeating this whole process.
You can also save a list of deposit addresses from your Coldcard and compare this saved list to Sparrow Wallet to ensure the correct wallet is loaded without having to retrieve your Coldcard, login to it, and compare the deposit addresses there. To do this, select the `Receive` tab in Sparrow Wallet then you can view the first receiving address from your Coldcard and its QR code. On your Coldcard, make sure you insert the microSD card and enter your passphrase (if applicable). Then from the main menu, select `Address Explorer`. This will bring up a few address types that you can choose to view. Your Coldcard can use legacy P2PKH Bitcoin addresses that start with "1", or nested SegWit P2SH Bitcoin addresses that start with "3", or Native SegWit Bech32 Bitcoin addresses that start with "bc1". Then you want to press `1` and this will save the first 250 addresses to a `.csv` file on your microSD card. You can also open the `addresses.csv` file with a text editor on your desktop to view the 250 addresses you exported from your Coldcard and compare them to your Sparrow Wallet just for the added assurance.
After applying the changes, you can now navigate through your watch-only wallet in Sparrow Wallet. On the left-hand side of the Sparrow Wallet interface there are six tabs:
- The `Transactions` tab is where you can see information related to the transactions in this watch-only wallet.
- The `Send` tab is where you can create the PSBTs to then export for signing by the Coldcard.
- The `Receive` tab is where you can generate receive address for your Coldcard without having to plug in your Coldcard and log into it.
- The `Addresses` tab shows several deposit and change addresses as well as any balances.
- The `UTXOs` tab shows any unspent transaction outputs and a small graph charting the history.
- The `Settings` tab is where you can see detailed information about the watch-only wallet such as the master fingerprint, derivation path, and xPub.
Now you can click on the `Receive` tab on the left-hand side of the Sparrow Wallet interface. Then you will be presented with a bitcoin receiving address, a QR code and some additional details. You can scan this QR code with your mobile Bitcoin wallet, for example, and deposit some bitcoin to your Coldcard. You should see the transaction show up in Sparrow Wallet after a moment along with a pop-up notification. Also, in Bitcoin Core, the transactions should show up there as well. The transaction will remain in a pending status until it receives some blockchain confirmations. In the meantime, you can click on the `Transactions` tab and review further details about your transaction. You can also copy/paste your transaction ID in mempool.space to watch for your first confirmation, or use whatever your preferred block explorer is. Tor Browser is a privacy-focused browser.
Now you can power off and secure your Coldcard in a safe place until you want to sign a transaction and spend from it (covered below). Several addresses will be cataloged in Sparrow Wallet so you can continue depositing to your Coldcard via Sparrow Wallet without having to reconnect it every time. It is best practice to confirm each receiving address on the Coldcard itself and/or your saved `.csv` file and additionally to only use each address once.
Step 4(B): How To Connect Passport
To import a single signature wallet via QR code, first log in to your Passport and enter your passphrase if you are using one. Then from the main menu navigate to `Pair Wallet` > `Sparrow` > `Single-sig` > `QR Code`. Once you press `CONTINUE` the Passport will start flashing a series of QR codes, so hold off pressing that for a moment while you prepare Sparrow Wallet on your desktop.
If you don't have a webcam for your PC, you can also import the necessary information via file transfer on a microSD card. Refer to this guide for details.
In Sparrow Wallet on your desktop, navigate to `File` > `Import Wallet`.
From the menu of wallets that pop up, scroll down to `Passport` and select `Scan`.
This should launch your webcam: now you can pick your Passport back up and press `CONTINUE` to initiate the series of QR codes. If you want to resize the QR codes on the passport screen, you can press the `Resize` button to change the QR code resolution to three possible sizes.
Capturing the whole series of QR codes can take a moment so try to keep the Passport steady and the QR codes within the dotted boundary lines on the Sparrow Wallet screen.
Once the necessary information has been gathered by Sparrow Wallet, you should be taken back to the previous menu screen in Sparrow Wallet. This time though, you should notice that you can choose the `Script Type` from a drop-down menu; this is where you can choose whether you want to use legacy Bitcoin addresses that start with "1", or Nested SegWit addresses that start with "3", or Native SegWit addresses that start with "bc1q", or Taproot addresses that start with "bc1p". Although Sparrow Wallet is ready to handle Taproot addresses, this is anticipated to be implemented in the Passport Q1 2022. In this demo, Native SegWit "bc1q" addresses are used as they are the only ones compatible with Whirlpool.
Next, Sparrow Wallet will ask you to name your new wallet. This can be whatever you choose. In this example, "Passport Demo" is used. Then click on `Create Wallet`.
Then Sparrow Wallet will ask you if you want to use a password on this wallet. This password is what encrypts your wallet data file on your desktop and it is optional. If anyone gains access to your desktop, they could potentially open your wallet data file if it is not password-protected. In this case, even if someone does open your wallet data file, they would not be able to spend your bitcoin because a signature from the Passport would be required to do that.
After applying the changes, you can now navigate through your watch-only wallet in Sparrow Wallet.
On the left-hand side of the Sparrow Wallet interface there are six tabs:
- The `Transactions` tab is where you can see information related to the transactions in this watch-only wallet.
- The `Send` tab is where you can create the PSBTs to then sign with Passport via QR code or microSD card.
- The `Receive` tab is where you can generate receive address for your Passport without having to retrieve the Passport and log into it.
- The `Addresses` tab shows several deposit and change addresses as well as any balances.
- The `UTXOs` tab shows any unspent transaction outputs and a small graph charting the history.
- The `Settings` tab is where you can see detailed information about the watch-only wallet such as the master fingerprint, derivation path, and xPub.
You can click on the `Receive` tab on the left-hand side menu any time you want to generate a new receive address. You can scan this QR code with your mobile Bitcoin wallet or use the address for your mining pool, for example, and deposit some bitcoin to your Passport. You should see the transaction show up in Sparrow Wallet after a moment along with a pop-up notification. Also, in Bitcoin Core, the transactions should show up there as well. The transaction will remain in a pending status until it receives some blockchain confirmations. In the meantime, you can click on the `Transactions` tab and review further details about your transaction. You can also copy/paste your transaction ID in mempool.space to watch for your first confirmation, or use whatever your preferred block explorer is. Again, Tor Browser is a privacy-focused browser.
Now you can power off and secure your Passport in a safe place until you want to sign a transaction and spend from it. Several addresses will be cataloged in Sparrow Wallet so you can continue depositing to your Passport via Sparrow Wallet without having to reconnect it every time. Best practice is to confirm each receiving address on the Passport itself by navigating to `Verify Address` from the Passport main menu and scanning the displayed QR code in Sparrow Wallet with the Passport camera. Additionally, use each address only once.
When you are ready to sign a transaction to spend bitcoin, it is necessary to create a Partially Signed Bitcoin Transaction (PSBT). You can deposit bitcoin with your Passport stored away but to spend bitcoin, the Passport needs to sign the transaction. Sparrow Wallet is used to build the transaction based on your available unspent transaction outputs (UTXOs) and the information you enter when constructing the transaction. The PSBT details are passed between Sparrow Wallet and the Passport using the QR code exchange method or the microSD card. This is covered below.
Step 5: Mixing Straight To A Hardware Wallet
One really cool feature of Whirlpool is that you can mix straight to your hardware wallet. You can set the number of mixes you want each UTXO to achieve and as your UTXOs re-mixes, hit that number and they will be deposited to your hardware wallet straight from a CoinJoin transaction. Additionally, Sparrow Wallet will add an additional source of randomness to help you avoid creating patterns that could be used as on-chain heuristics; each UTXO that hits your set number of re-mixes will have a 25% chance of being mixed again. When you receive deposits to your hardware wallet straight out of a CoinJoin transaction, it looks as though that UTXO is still in Whirlpool to any outside observer looking on chain.
Navigate to the `UTXOs` tab on the left-hand side and the `Postmix` tab on the right-hand side, these are all of your mixing UTXOs. At the bottom, click on Mix to.
A window will pop up and from the `Mix to wallet` drop-down menu, select the Coldcard or Passport watch-only wallet that you imported. Then you can set the minimum number of mixes you want each UTXO to achieve before being deposited to your hardware wallet. Keep in mind, each UTXO will have a 25% chance of being mixed again even after it hits this number. You can leave `Index range` on the default `Full` setting to use both even and odd indexed addresses. Then click on `Restart Whirlpool`.
Then you will notice that the button at the bottom has changed to display the watch-only wallet you have selected for the automatic deposits.
Now you can just leave your UTXOs to re-mix and as they achieve enough mixes they will be automatically deposited to your hardware wallet. Next, you'll see how to spend from your Coldcard or Passport using Sparrow Wallet and keeping your hardware wallet fully air-gapped.
Step 6(A): Signing with the Coldcard
When you are ready to sign a transaction to spend bitcoin, it is necessary to create a PSBT in order to maintain the air-gapped benefit. You can deposit bitcoin with your Coldcard disconnected but to spend bitcoin, the Coldcard needs to sign the transaction. Sparrow Wallet is used to build the transaction based on your available unspent transaction outputs (UTXOs) and the information you enter when constructing the transaction. The PSBT details are passed between Sparrow Wallet and the Coldcard using the microSD card.
To create a PSBT, navigate to the `Spend` tab on the left-hand side in Sparrow Wallet. There, you can paste the address you are sending to, add a label, enter an amount to send and choose a miners fee rate, etc. Once you have everything set, click on `Create Transaction`. On the next screen, double-check the details then click on `Finalize Transaction for signing`. Then you will be asked what you want to do with the finalized PSBT. In this case, click on `Save Transaction` and Sparrow Wallet will launch the file explorer. Navigate to the microSD card and save the PSBT there. Then safely eject the microSD card.
Insert the microSD card into the Coldcard. If necessary, power on your Coldcard using the COLDPOWER 9-volt battery adaptor or USB adaptor. Then enter your Coldcard PIN prefix, verify your anti-phishing words, and enter the PIN suffix. From the main menu choose `Ready to Sign`. Then the details of the PSBT will be displayed and you can confirm that the address and the amount and the miners fee are correct.
Then hit `OK` to sign. Once the file is signed it will be saved as a new file to the microSD card. You can then eject the microSD card and securely log out of your Coldcard and power it down.
Eject the microSD card from the Coldcard, insert to the USB adaptor, insert the adaptor into the desktop computer. Ensure Bitcoin Core and Sparrow Wallet are open. Then from the file explorer, simply double-click on the signed PSBT file and it should open automatically in Sparrow Wallet. Alternatively, from Sparrow Wallet navigate to `File` > `Open Transaction` then choose `File` from the menu of options and navigate to the file location of the signed PSBT. Whichever you choose, then click on the `Broadcast Transaction` button to send the signed transaction to the Bitcoin network.
At the time of broadcast you should see the transaction in Bitcoin Core as well as receive a notification in Sparrow Wallet. Again, you can copy the transaction ID and paste in your preferred block explorer to watch for confirmations.
The main point here is that your Coldcard is the required signing device while your Sparrow Wallet is your interface, transaction builder and broadcaster. In this configuration, Sparrow Wallet can do many things, like catalog addresses and build transactions. But without the signature from your Coldcard, Sparrow Wallet cannot authorize spending of any of your bitcoin.
Step 6(B): Signing With The Passport
To create a PSBT, navigate to the `Send` tab on the left-hand side in Sparrow Wallet. There, you can paste the address you are sending to, add a label, enter an amount to send and choose a miners fee rate, etc. Once you have everything set, click on `Create Transaction`. On the next screen, double-check the details then click on `Finalize Transaction for signing`. Then you will be asked what you want to do with the finalized PSBT. In this case, click on `Show QR` and Sparrow Wallet will launch an animated series of QR codes.
With your Passport, ensure you have the passphrase applied, then from the main menu select `Scan with QR Code`. Then point the camera on the Passport to the flashing series of QR codes in the Sparrow Wallet interface.
On the Passport screen you will be shown the amount of bitcoin being spent and the address it is being spent to; press `CONTINUE` if the details are correct. The Passport will then tell you what the change amount is; if any, press `CONTINUE`. Lastly, the Passport will display the network fee, and if everything is correct then press `SIGN`.
Once the transaction is signed by the Passport, a QR code will be displayed on the Passport screen. Back on your desktop, in Sparrow Wallet, select the `Scan QR` button with the camera icon.
This will launch your desktop webcam and you can hold the Passport in front of your webcam so that Sparrow Wallet can read the details of the signed transaction.
Once Sparrow Wallet picks up the details of the signed transaction, then you can broadcast the transaction to the Bitcoin network by pressing the `Broadcast Transaction` button.
At the time of broadcast you should see the transaction in Bitcoin Core as well as receive a notification in Sparrow Wallet. Again, you can copy the transaction ID and paste in your preferred block explorer to watch for confirmations.
The main point here is that your Passport is the required signing device while your Sparrow Wallet is your interface, transaction builder and broadcaster. In this configuration, Sparrow Wallet can do many things, like catalog addresses and build transactions: But without the signature from your Passport, Sparrow Wallet cannot authorize spending of any bitcoin secured by the Passport.
Now that you have seen how to use Sparrow Wallet to Whirlpool your bitcoin and to deposit it straight to your hardware wallet, start taking steps to put these tools to use and guard your privacy.
This is a guest post by Econoalchemist. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.
Read more: https://bitcoinmagazine.com/technical/how-to-whirlpool-bitcoin-sparrow-wallet
Text source: Bitcoin Magazine: Bitcoin News, Articles, Charts,