Skip to content

Airgap Multisig

What is Airgap Multisig?#

Normal Bitcoin transactions presume a single "owner" of the coins. With multisig transactions, there are up to 15 possible owners (co-signers) and between 1 to 15 of them are needed to approve any spending. This is called an M-of-N wallet or "Multisig P2SH" (pay to script hash) wallet.

COLDCARD® takes this a step further with Airgap Multisig by never needing the signers to be connected to a computer or to each other.

This guide will make a 2 of 3 multisig wallet. That means there are three co-signers of the final multisig wallet, and any two of them can approve transactions. You can use more or less co-signers in your setup, and they can be COLDCARDs or any other Bitcoin wallet that supports multisig. This guide should be sufficient regardless of how many devices you wish to use.

Setup#

Before you can begin to create your multisig wallet you will need to do the following:

  1. Have as many COLDCARDs initialized as you would like to use for the total co-signers of the multisig wallet. If you still need to initialize your COLDCARDs, please see our Quickstart Guide first, then come back here once all your devices have PINs and seed words.

  2. If you plan to include any Bitcoin wallet other than a COLDCARD as a co-signer, you must also set that up. Consult that projects documentation if needed.

  3. Having an empty SD card is useful to transfer information between all the involved wallets, but not necessarily required since COLDCARD supports NFC and QR codes.

Export XPUBs#

In this section you will export the XPUBs of each wallet that will be a co-signer of the final multisig wallet. All of the co-singers XPUBs must be collected together in order to create the multisig wallet. COLDCARD gives you three airgapped methods to export your XPUB: onto an SD card, via NFC, or shown in a QR code (Q only).

If you are using any Bitcoin wallet other than a COLDCARD as a co-signer, then consult that projects documentation for exporting your XPUB for use in a multisig wallet. This section will give examples using COLDCARDs.

  1. From the Main Menu of one of the COLDCARD, navigate to Settings > Multisig Wallets.

    Mk4 Multisig Wallets Menu Q Multisig Wallets Menu

  2. On the Multisig Wallets Menu select Export XPUB.

  3. You will be presented with some information about the file you are creating and the BIP-48 derivation paths. Review the details, press OK/Enter to accept.

    Mk4 Export XPUB Info Q Export XPUB Info

  4. At this point you may enter an account number if you are using multiple accounts. If you are not using multiple accounts, or don't know what this is, then leave this blank and the COLDCARD will use the default account of 0.

  5. Next the COLDCARD will ask how you want to share this information with the other devices that will be part of the multisig setup.

    Mk4 Export XPUB Options Q Export XPUB Options

  6. As mentioned earlier, you have three airgapped options for exporting your XPUB: saved to an SD card, broadcast over NFC, or shown in a QR code (Q only).

    • SD Card Export: Make sure your SD card is in the COLDCARD, then press 1 (or B if you are using a Q with an SD card in the bottom slot) to save to the SD card. This will create a file with the XFP (XPUB fingerprint) of the wallet used in its name. The wallet used in this example would create a file named: ccxp-0F056943.json.
    • NFC Export: Press 3 on an Mk4, or the NFC button on a Q to export using NFC. On the receiving device, initiate NFC and tap to the COLDCARD. A limitation of this method is that you cannot use NFC between two COLDCARDs.
    • QR Code Export: The COLDCARD Q can export via QR code, using the BBQr specification. This is done by pressing the QR button on the device. A limitation of this method is that the receiving device must have the BBQr spec implemented.

Import Multisig Wallet#

  1. From the Main Menu of a COLDCARD, go to Settings > Multisig Wallets.

  2. The COLDCARD Mk4 gives you two methods for importing, and the Q gives you three.

    Mk4 Multisig Menu Q Multisig Menu

Import from File#

  1. When selecting this method of import, the COLDCARD will check any SD card inserted and its virtual disk to look for multisig wallet export files.

  2. Select the file to import, and you'll be presented with the details of the multisig wallet to verify.

    Mk4 Verify Multisig Q Verify Multisig

    If everything looks correct, press OK/Enter to approve.

  3. The multisig wallet is now imported to this COLDCARD, and you should see it listed on the Multisig Menu. You can now use this COLDCARD as a signer.

Import from QR (Q only)#

  1. Choosing this method from the Multisig Wallets Menu, or by pressing the QR key, on the COLDCARD Q will initiate the QR reader.

  2. Scan the QR code of the multisig wallet. Format must be legacy COLDCARD export, or a bare descriptor. You will be shown the details of the multisig to verify.

    Q Verify Multisig

    If everything looks correct, press OK/Enter to approve.

  3. The multisig wallet is now imported to this COLDCARD, and you should see it listed on the Multisig Menu. You can now use this COLDCARD as a signer.

Import via NFC#

Video: How to Enable NFC

  1. You must have NFC enabled in Settings > Hardware On/Off > NFC Sharing, or this option will not be available.

  2. Choosing this method will initiate the NFC reader on the COLDCARD.

  3. Tap the exporting device to the COLDCARD. Format must be COLDCARD export, bare descriptor, or human readable descriptor. You will be shown the details of the multisig to verify.

    Mk4 Verify Multisig Q Verify Multisig

    If everything looks correct, press OK/Enter to approve.

  4. The multisig wallet is now imported to this COLDCARD, and you should see it listed on the Multisig Menu. You can now use this COLDCARD as a signer.

Export Multisig Wallet#

  1. From the Main Menu of a COLDCARD with a multisig wallet, navigate to Settings > Multisig Menu.

    Mk4 navigate to ms menu with wallet Q navigate to ms menu with wallet

  2. Once on the Multisig Menu, select the wallet you would like to export.

  3. Now you will be on the menu for this multisig wallet. You have three options to choose from for the export format: COLDCARD Export, Descriptors, and Electrum Wallet.

    Mk4 multisig wallet menu Q multisig wallet menu

COLDCARD Export#

  1. Selecting this format produces a text COLDCARD export file.

  2. Your COLDCARD gives you three different ways to transfer this file while remaining airgapped: SD card, NFC, and QR code (Q only).

    Mk4 Export Multisig Setup Options Q Export Multisig Setup Options

    • SD Card: Make sure your SD card is in the COLDCARD, then press 1 (or B if you are using a Q with an SD card in the bottom slot) to save to the SD card. You will be shown the file name created on the SD card.
    • NFC Export: Press 3 on an Mk4, or the NFC button on a Q to export using NFC. On the receiving device, initiate NFC and tap to the COLDCARD.
    • QR Code Export: The COLDCARD Q can export via QR code by pressing the QR button on the device. Scan the QR code with the receiving device.

Descriptors#

  1. This format creates a text descriptor file.

  2. COLDCARD has three formats for exporting descriptors: human readable, bare descriptor, and Bitcoin Core.

    Mk4 Nav to Descriptors Q Nav to Descriptors

    • View Descriptor: This option allows you to inspect the descriptor on the COLDCARD screen. To export this human readable format, press 1 while inspecting.
    • Export: Selecting this format produces a bare descriptor.
    • Bitcoin Core: This format produces a descriptor ready to be imported to Bitcoin Core.

    All three formats can be transferred over an airgap by using an SD card, NFC, or QR code (Q only). After selecting the correct format, choose the transfer method that is most convenient for you.

Electrum Wallet#

  1. This format will make a JSON Electrum wallet file.

  2. After reading the warning, press OK/Enter.

  3. Your COLDCARD gives you three different ways to transfer this file while remaining airgapped: SD card, NFC, and QR code (Q only).

    Mk4 Export Electrum Multisig Options Q Export Electrum Multisig Options

    • SD Card: Make sure your SD card is in the COLDCARD, then press 1 (or B if you are using a Q with an SD card in the bottom slot) to save to the SD card. You will be shown the file name created on the SD card.
    • NFC Export: Press 3 on an Mk4, or the NFC button on a Q to export using NFC. On the receiving device, initiate NFC and tap to the COLDCARD.
    • QR Code Export: The COLDCARD Q can export via QR code by pressing the QR button on the device. Scan the QR code with the receiving device.

Create Airgapped Multisig Wallet on COLDCARD#

Video: Airgap Multisig with 3 COLDCARD Qs

In this section you will use exported XPUBs of as many co-signer wallets as you would like (up to 15) to create an Airgapped Multisig wallet using only a COLDCARD and an SD card. However, you can use many different Bitcoin wallets to create the multisig, and you can avoid using an SD card in certain situations with NFC/QR.

Video: Airgap Multisig with Q, Tapsigner, and Nunchuk

If you would like to use a wallet other than a COLDCARD to create your multisig, then consult that projects documentation for the correct method.

  1. Insert the SD card that has all the XPUBs collected on it into one of the co-signer COLDCARDs.

  2. From the Main Menu, navigate to Settings > Multisig Wallets.

  3. On the Multisig Wallets Menu select Create Airgapped.

  4. You will now be presented with a choice on address type.

    Mk4 Choose Address Type Q Multisig Choose Address Type

    You may press OK/Enter for the default (segwit) address type, or press 1 to choose P2SH-P2WSH.

  5. Next you must decide the number of signers needed to approve transactions (2 in this example) from this multisig wallet. The total number of co-signers for this wallet (3 in this example) will be determined by how many XPUBs were exported to the SD card.

    Mk4 Choose M of N Q Choose M of N

    Once you have set the number of signers you want, press OK/Enter.

  6. You will now be asked to verify the conditions of the new multisig wallet. Review the details to be sure everything is how you want it. You can press 1 to see the extended public keys of the co-signers wallets.

    Mk4 Verify Multisig Q Verify Multisig

    If you are not satisfied with the policies of this multisig wallet press X/Cancel and go back to the third step in this section.

    Once you are satisfied with the multisig policies press OK/Enter.

  7. The COLDCARD will now create a multisig setup file. This can be used to import the multisig wallet to other COLDCARDs, or another Bitcoin wallet that supports this file format. You can share this file three different ways: saved to an SD card, broadcast over NFC, or shown in a QR code (Q only).

    Mk4 Export Multisig Setup Options Q Export Multisig Setup Options

    • SD Card: Make sure your SD card is in the COLDCARD, then press 1 (or B if you are using a Q with an SD card in the bottom slot) to save to the SD card.
    • NFC Export: Press 3 on an Mk4, or the NFC button on a Q to export using NFC. On the receiving device, initiate NFC and tap to the COLDCARD.
    • QR Code Export: The COLDCARD Q can export via QR code by pressing the QR button on the device.
  8. If you saved the file to an SD card you will get a confirmation and a file name. The name of the file will depend on the conditions of your multisig wallet. This example is using a 2 of 3 policy, so it will have the file name: export-CC-2-of-3.txt. To move on press OK/Enter.

  9. Next the COLDCARD will create an Electrum multisig wallet file. This can be used to import the multisig wallet to Electrum, Sparrow, or any other Bitcoin wallet that supports the file format. You can share this file three different ways: saved to an SD card, broadcast over NFC, or shown in a QR code (Q only).

    Mk4 Export Electrum Multisig Options Q Export Electrum Multisig Options

    • SD Card: Make sure your SD card is in the COLDCARD, then press 1 (or B if you are using a Q with an SD card in the bottom slot) to save to the SD card.
    • NFC Export: Press 3 on an Mk4, or the NFC button on a Q to export using NFC. On the receiving device, initiate NFC and tap to the COLDCARD.
    • QR Code Export: The COLDCARD Q can export via QR code by pressing the QR button on the device.
  10. If you saved the file to an SD card you will get a confirmation and a file name. The name of the file will be determined by the policy of your multisig, so this example will have the file name: el-CC-2-of-3.txt. To move on press OK/Enter.

  11. The Multisig Wallets Menu on this COLDCARD will now show the multisig wallet you just created.

    Mk4 Multisig Menu With Wallet Q Multisig Menu With Wallet

  12. The Airgapped Multisig setup is now complete on this COLDCARD, and it can be used as a signer for this multisig wallet.

  13. If you are using an SD card to coordinate your multisig wallet, then transfer that to the next COLDCARD or whichever Bitcoin wallet you are including as a co-signer.

  14. If your next wallet is a COLDCARD, then go back to the Import Multisig Wallet section and follow the steps there. If you are using wallets other than COLDCARD, consult their documentation and use the Export Multisig Wallet section to see the formats and methods that COLDCARD supports.

  15. Repeat this process until each co-signer that is to be a part of your Airgapped Multisig has imported the wallet.

Create Airgapped Multisig with Other Wallets#

Guides for creating airgapped multisig wallets with COLDCARD and various other wallets.