Skip to content

Commit

Permalink
Merge pull request #307 from pavlenex/ColdCard
Browse files Browse the repository at this point in the history
Add ColdCard instructions + PSBT
  • Loading branch information
pavlenex authored Sep 25, 2019
2 parents 4470564 + 9979a28 commit af4784a
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
43 changes: 43 additions & 0 deletions ColdCardWallet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Connecting Coldcard Wallet to BTCPay Server

This document shows how to connect Coldcard Wallet to BTCPay Server.

## ColdCard Wallet Setup

This guide assumes, you have a Coldcard wallet set up. To configure the Coldcard, please see the [quick setup guide on manufacturer's website](https://coldcardwallet.com/docs/quick).

### Quick Setup

1. Insert the MicroSD card into the Coldcard wallet.
2. Go to Advanced > MicroSD Card > Electrum Wallet > Native Segwit
3. Insert the MicroSD card back into your PC
4. In BTCPay Server, Store Settings > General > Derivation Scheme > Import from Hardware Device > Coldcard
5. Browse and select the wallet file earlier exported from Coldcard.
6. Click `Submit`
7. Confirm the address match in BTCPay.

The Coldcard is now connected to your BTCPay. Payments go directly to Coldcard. The video below shows how to connect your BTCPay store to your Coldcard.

[![BTCPay and Coldcard](https://img.youtube.com/vi/N0eVwdP_7EQ/mqdefault.jpg)](https://www.youtube.com/watch?v=N0eVwdP_7EQ "Connecting Coldcard to BTCPay")

### Spending from BTCPay Server wallet with Coldcard (PSBT)

Once there are some funds in received to your BTCPay Wallet connected to Coldcard, you can spend them by using [PSBT](https://github.com/bitcoin/bitcoin/blob/master/doc/psbt.md#psbt-in-general) (Partially Signed Bitcoin Transactions). This allows completely offline signing of your transactions, without ever having to connect your hardware wallet to the internet.

1. Wallets > Manage > Send
2. Fill in destination address and the amount
3. Click on the Sign with `a wallet supporting PSBT` button.
4. You will be redirected to PSBT tab, with pre-filled information, click on the `Sign with a wallet supporting PSBT (save as file)`
5. Save the file onto MicroSD card
6. Insert MicroSD into your Coldcard.
7. In Coldcard, click on the `Ready To Sign`
8. Review the transaction information, and click OK button to sign it.
9. Transaction will be saved onto MicroSD.
10. In BTCPay, go to PSBT tab of the wallet and upload the signed PSBT file.
11. Click `Decode`
12. Click `Other Actions` and select `Review`
13. Review your transactions and click `Broadcast` to broadcast it on the network.

The video below shows how to connect your BTCPay store to your Coldcard.

[![BTCPay and Coldcard](https://img.youtube.com/vi/oK0h-76Giaw/mqdefault.jpg)](https://www.youtube.com/watch?v=oK0h-76Giaw "PSBT Coldcard and BTCPay")
4 changes: 2 additions & 2 deletions ElectrumWallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This documents shows how to connect Electrum Wallet to BTCPay Server.

**Word of caution** Using Electrum wallet relies on servers that are controlled by third-parties. Informations, like public adresses, balances and the transacted amount can potentially be leaked. To protect against such leaks, you can setup your own [Electrum Personnal Server](https://github.com/chris-belcher/electrum-personal-server), which is technically advanced task not covered in this document.
**Word of caution** Using Electrum wallet relies on servers that are controlled by third-parties. Information, like public addresses, balances and the transacted amount can potentially be leaked. To protect against such leaks, you can setup your own [Electrum Personnal Server](https://github.com/chris-belcher/electrum-personal-server), which is technically advanced task not covered in this document.

For a better privacy, use [BTCPay Wallet](Wallet.md) with a compatible hardware wallet or [Wassabi](WasabiWallet.md).
For better privacy, use [BTCPay Wallet](Wallet.md) with a compatible hardware wallet or [Wassabi](WasabiWallet.md).

If you understood the risks, but still want to proceed using Electrum, follow the instructions below.

Expand Down

0 comments on commit af4784a

Please sign in to comment.