Uw Bitcoin-bezittingen

Geef details over uw Bitcoin-activa en opslagmethoden

5/10
Beginner Expert

Erfgenamen

Voeg de personen toe die uw Bitcoin moeten erven

5/10
Lage vertrouwen Hoge vertrouwen

Beveiligingsvoorkeuren

Configureer beveiligingsinstellingen voor uw Bitcoin-erfenisplan

Nog geen plan gegenereerd

Vul alle voorgaande secties in om uw erfenisplan te genereren.

Technische documentatie

Gedetailleerde handleidingen voor het implementeren van Bitcoin-erfenisoplossingen

Implementatie van een multisignature-portefeuille

Multisignature-portefeuilles vereisen meerdere sleutels om een transactie te autoriseren, wat zorgt voor verhoogde beveiliging en redundantie.

Een multisignature-portefeuille opzetten in Electrum

Electrum is een van de meest populaire en gebruiksvriendelijke tools voor het aanmaken van multisignature Bitcoin-portefeuilles. Hier is hoe u een 2-van-3 multisignature-portefeuille opzet:


# Step 1: Create a new multi-signature wallet
# Launch Electrum and select:
File > New/Restore > Multi-signature wallet

# Step 2: Configure the wallet
# Set number of cosigners (e.g., 3)
# Set number of signatures required (e.g., 2)
# Select "Create a new seed" for each cosigner key you control

# Step 3: For each cosigner you control:
# 1. Write down the seed phrase
# 2. Verify the seed phrase
# 3. Set a password for the wallet

# Step 4: For external cosigners:
# Request their master public key (xpub)
# Enter their xpub when prompted

# Step 5: Finalize the wallet
# Verify all public keys are correct
# Save the wallet file

Voorbeeld: Een 2-van-3 multisignature-portefeuille aanmaken

Hier is een concreet voorbeeld van het opzetten van een 2-van-3 multisignature-portefeuille waarbij u twee sleutels beheert en een vertrouwde derde partij één sleutel beheert:


# On your computer:
# 1. Create the first key:
electrum create --wallet="multisig_wallet" --multi

# When prompted:
# - Choose "2-of-3" configuration
# - Select "Create a new seed" for the first key
# - Write down and verify the seed
# - Set a password

# 2. Export the master public key (xpub) for the first key:
electrum getmpk -w "multisig_wallet"

# 3. Create a second wallet for your second key:
electrum create --wallet="key2_wallet"

# 4. Export the master public key for the second key:
electrum getmpk -w "key2_wallet"

# 5. Get the third key's master public key from your trusted third party

# 6. Create the multi-signature wallet with all three public keys:
electrum create --wallet="final_multisig" --multi
# Enter the three public keys when prompted
# Set the required signatures to 2

Uitgaven doen vanuit een multisignature-portefeuille

Om vanuit een multisignature-portefeuille te besteden, moet u het vereiste aantal handtekeningen verzamelen:


# 1. Create a transaction:
electrum payto 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa 0.1 --wallet="final_multisig"

# 2. This creates a partially signed transaction
# 3. Sign with your first key:
electrum signtransaction "hex_of_partial_transaction" --wallet="multisig_wallet"

# 4. Sign with your second key or send to the third party for signing:
electrum signtransaction "hex_of_partial_transaction" --wallet="key2_wallet"

# 5. Broadcast the fully signed transaction:
electrum broadcast "hex_of_fully_signed_transaction"
                                

Multisignature met hardwareportefeuilles

Voor verbeterde beveiliging kunt u hardwareportefeuilles gebruiken als onderdeel van uw multisignature-opzet:


# Using Electrum with Trezor, Ledger, or Coldcard:
# 1. Connect your hardware wallet
# 2. In Electrum, create a new multi-signature wallet
# 3. When adding cosigners, select "Hardware wallet" for the keys stored on devices
# 4. Follow the prompts on your hardware wallet to confirm

# For Coldcard-specific setup:
# 1. On your Coldcard, go to Settings > Multisig > Create Airgapped
# 2. Configure the M-of-N scheme (e.g., 2-of-3)
# 3. Export the wallet file to SD card
# 4. Import this file into Electrum
# 5. Repeat for other Coldcards or add other key types

Implementatie van tijdslot

Tijdsloten stellen u in staat om te beperken wanneer Bitcoin kan worden uitgegeven, wat nuttig is voor erfenisplanning.

Gebruik van CheckLockTimeVerify (CLTV)

CLTV is een Bitcoin-scriptopcode die het uitgeven van outputs verhindert tot een bepaalde blokhoogte of tijd:


# Example Bitcoin Script with CLTV (absolute timelock)
# This locks funds until block height 800000 (approximately year 2025)

<800000> CHECKLOCKTIMEVERIFY DROP
 CHECKSIG

# In Electrum, you can create a transaction with a timelock:
electrum payto --locktime=800000 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa 0.1
                                

Gebruik van CheckSequenceVerify (CSV)

CSV wordt gebruikt voor relatieve tijdsloten, die het uitgeven verhinderen totdat een bepaald aantal blokken is verstreken sinds de output werd bevestigd:


# Example Bitcoin Script with CSV (relative timelock)
# This locks funds for 52560 blocks (approximately 1 year) after the output is confirmed

<52560> CHECKSEQUENCEVERIFY DROP
 CHECKSIG

# In Bitcoin Core, you can create a transaction with a relative timelock:
bitcoin-cli createrawtransaction '[{"txid":"previous_tx_id","vout":0}]' '{"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa":0.1}' 52560
                                

Implementatie van een dodemansschakelaar

Een dodemansschakelaar vereist periodieke actie om te voorkomen dat fondsen automatisch worden overgedragen:


# Example implementation using a service like Casa Keymaster:
# 1. Set up a 3-of-5 multi-signature wallet
# 2. Configure the inheritance plan in Casa
# 3. Set the waiting period (e.g., 3 months)
# 4. Designate recovery key holders

# Self-hosted solution using a script (pseudocode):
#!/bin/bash
# This script should be run periodically (e.g., via cron)

LAST_CHECK_FILE="/path/to/last_check.txt"
CURRENT_TIME=$(date +%s)
# 6 months in seconds
TIMEOUT=$((60*60*24*30*6))

if [ -f "$LAST_CHECK_FILE" ]; then
  LAST_CHECK=$(cat $LAST_CHECK_FILE)
  ELAPSED=$((CURRENT_TIME - LAST_CHECK))
  
  if [ $ELAPSED -gt $TIMEOUT ]; then
    # Execute the inheritance plan
    # This could send an email to beneficiaries with instructions
    # or trigger a pre-signed transaction
    echo "Executing inheritance plan..."
    # Add your code here
  fi
else
  # First run, just record the time
  echo $CURRENT_TIME > $LAST_CHECK_FILE
fi

# Update the last check time
echo $CURRENT_TIME > $LAST_CHECK_FILE
                                

Tijdsloten combineren met multisignature

Voor een uitgebreid erfenisplan kunt u tijdsloten combineren met multisignature-vereisten:


# Example Bitcoin Script combining CLTV with multi-signature
# This requires 2-of-3 signatures after block height 800000

IF
  <800000> CHECKLOCKTIMEVERIFY DROP
   CHECKSIGVERIFY
   CHECKSIG
ELSE
  2    3 CHECKMULTISIG
ENDIF

# This script allows:
# 1. Normal spending with 2-of-3 signatures before the timelock
# 2. After the timelock, only specific keys can spend (e.g., beneficiary keys)

Strategieën voor sleutelback-up

Een juiste sleutelback-up is cruciaal voor Bitcoin-erfenisplanning. Hier zijn gedetailleerde implementaties voor verschillende back-upstrategieën.

Shamir's Secret Sharing

Shamir's Secret Sharing splitst een geheim in meerdere delen, waarbij een drempelnummer nodig is om het te reconstrueren:


# Using SLIP39 (Shamir's Secret Sharing for mnemonic codes)
# Example with the Trezor hardware wallet:

# 1. Initialize a new wallet with Shamir Backup
# 2. Choose the number of shares (e.g., 5)
# 3. Set the threshold (e.g., 3)
# 4. Distribute the shares to trusted individuals or secure locations

# Using the shamir-share command-line tool:
# Install: pip install shamir-share

# Create 5 shares with a threshold of 3:
shamir-share split -n 5 -t 3 "your_seed_phrase_here"

# Recover the secret with at least 3 shares:
shamir-share combine share1 share2 share3
                                

Geografisch verspreide back-ups

Bewaar meerdere kopieën van uw sleutels op verschillende fysieke locaties:


# Example backup plan:

# 1. Create multiple copies of your seed phrase
# 2. Store in secure, geographically distributed locations:
#    - Home safe
#    - Bank safety deposit box
#    - With a trusted family member in another city
#    - In a secure location in another country

# For enhanced security, split the seed phrase:
# Location 1: Words 1-8
# Location 2: Words 9-16
# Location 3: Words 17-24
# Location 4: Words 1-8 (duplicate)
# Location 5: Words 9-16 (duplicate)
# Location 6: Words 17-24 (duplicate)

# Document the locations securely and ensure beneficiaries know how to access them

Metalen back-ups

Metalen back-ups bieden bescherming tegen brand, water en andere fysieke schade:


# Metal backup options:

# 1. Cobo Tablet or Cobo Tablet Plus
# Instructions:
# - Use the included punch to stamp your seed words onto metal plates
# - Secure the assembled tablet in a safe location

# 2. Coldcard Seedplate
# Instructions:
# - Stamp your seed words onto the metal plate
# - Store in a fireproof and waterproof container

# 3. Cryptosteel or Cryptosteel Capsule
# Instructions:
# - Arrange the included metal tiles to spell out your seed phrase
# - Secure the assembled device in a safe location

# 4. DIY solution with metal washers:
# - Purchase stainless steel washers
# - Use a metal stamp set to stamp one word per washer
# - Thread washers onto a steel wire or bolt
# - Secure in a fireproof container

Hybride back-upaanpak

Combineer meerdere back-upstrategieën voor maximale redundantie:


# Example hybrid backup plan:

# 1. Create a 3-of-5 Shamir's Secret Sharing scheme for your seed
#    - Store shares in different locations and with trusted individuals

# 2. Create metal backups of each share
#    - Use different metal backup solutions for diversity

# 3. Create a 2-of-3 multi-signature wallet as an additional layer
#    - Store keys on different hardware wallets
#    - Back up each hardware wallet's seed using the methods above

# 4. Document the entire setup
#    - Create clear instructions for beneficiaries
#    - Store instructions securely but separately from the keys
#    - Consider encrypting the documentation with a password known to beneficiaries

Bitcoin-erfenishulpmiddelen

Verschillende hulpmiddelen kunnen helpen bij het implementeren en beheren van uw Bitcoin-erfenisplan.

Electrum

Electrum is een lichte Bitcoin-portefeuille die geavanceerde functies zoals multisignature en tijdsloten ondersteunt:


# Electrum Command Line Examples

# Create a new standard wallet:
electrum create --wallet="standard_wallet"

# Create a multi-signature wallet:
electrum create --wallet="multisig_wallet" --multi

# Export master public key:
electrum getmpk -w "wallet_name"

# Create a transaction with timelock:
electrum payto --locktime=800000 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa 0.1 -w "wallet_name"

# Sign a transaction:
electrum signtransaction "hex_of_transaction" -w "wallet_name"

# Broadcast a transaction:
electrum broadcast "hex_of_signed_transaction"

# Create a watch-only wallet from xpub:
electrum restore "xpub..." --wallet="watch_only_wallet"
                                

Bitcoin Core

Bitcoin Core is de referentie-implementatie van Bitcoin en ondersteunt geavanceerde scripting:


# Bitcoin Core Command Line Examples

# Create a raw transaction:
bitcoin-cli createrawtransaction '[{"txid":"previous_tx_id","vout":0}]' '{"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa":0.1}'

# Create a transaction with locktime:
bitcoin-cli createrawtransaction '[{"txid":"previous_tx_id","vout":0}]' '{"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa":0.1}' 800000

# Sign a transaction:
bitcoin-cli signrawtransactionwithwallet "hex_of_raw_transaction"

# Send a transaction:
bitcoin-cli sendrawtransaction "hex_of_signed_transaction"

# Create a multi-signature address:
bitcoin-cli createmultisig 2 '["public_key1", "public_key2", "public_key3"]'

# Import a watch-only address:
bitcoin-cli importaddress "address" "label" true
                                

Gespecialiseerde erfenisdiensten

Verschillende diensten zijn specifiek ontworpen voor Bitcoin-erfenisplanning:


# Casa Keymaster
# Features:
# - 3-of-5 multi-signature setup
# - Dedicated inheritance protocol
# - Key management service
# - Mobile app for key management
# Website: https://keys.casa/

# Unchained Capital Vaults
# Features:
# - Collaborative custody multi-signature
# - Inheritance planning support
# - Key management assistance
# Website: https://unchained.com/

# Pamela Morgan's Cryptoasset Inheritance Planning Book
# A comprehensive guide to creating a Bitcoin inheritance plan
# Available on Amazon and other book retailers

Hardwareportefeuilles met erfenisfuncties

Sommige hardwareportefeuilles bieden functies die specifiek zijn ontworpen voor erfenisplanning:


# Trezor Model T
# Features:
# - Shamir Backup (SLIP39) support
# - Password manager
# - Multi-signature support
# Website: https://trezor.io/

# Ledger Nano X
# Features:
# - Multi-signature support via Ledger Live
# - Support for multiple apps
# - Bluetooth connectivity
# Website: https://www.ledger.com/

# Coldcard Mk4
# Features:
# - Air-gapped operation
# - Multi-signature support
# - Duress PIN feature
# - Steel backup options
# Website: https://coldcard.com/