Vos avoirs en Bitcoin

Fournissez des détails sur vos actifs Bitcoin et les méthodes de stockage

5/10
Débutant Expert

Bénéficiaires

Ajoutez les personnes qui devraient hériter de votre Bitcoin

5/10
Confiance faible Confiance élevée

Préférences de sécurité

Configurez les paramètres de sécurité pour votre plan d'héritage Bitcoin

Aucun plan généré pour l'instant

Veuillez compléter toutes les sections précédentes pour générer votre plan d'héritage.

Documentation technique

Guides détaillés pour la mise en œuvre de solutions d'héritage Bitcoin

Mise en œuvre d'un portefeuille multi-signatures

Les portefeuilles multi-signatures nécessitent plusieurs clés pour autoriser une transaction, offrant une sécurité et une redondance accrues.

Configuration d'un portefeuille multi-signatures dans Electrum

Electrum est l'un des outils les plus populaires et conviviaux pour créer des portefeuilles multi-signatures Bitcoin. Voici comment configurer un portefeuille multi-signatures 2-de-3 :


# 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

Exemple : Création d'un portefeuille multi-signatures 2-de-3

Voici un exemple concret de configuration d'un portefeuille multi-signatures 2-de-3 où vous contrôlez deux clés et un tiers de confiance contrôle une clé :


# 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

Dépenser depuis un portefeuille multi-signatures

Pour dépenser depuis un portefeuille multi-signatures, vous devez collecter le nombre requis de signatures :


# 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"
                                

Multi-Signature avec des portefeuilles matériels

Pour une sécurité accrue, vous pouvez utiliser des portefeuilles matériels dans votre configuration multi-signatures :


# 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

Mise en œuvre du verrouillage temporel

Les verrouillages temporels permettent de restreindre quand les Bitcoin peuvent être dépensés, ce qui est utile pour la planification d'héritage.

Utilisation de CheckLockTimeVerify (CLTV)

CLTV est un opcode de script Bitcoin qui empêche de dépenser les sorties jusqu'à une hauteur de bloc ou un temps spécifié :


# 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
                                

Utilisation de CheckSequenceVerify (CSV)

CSV est utilisé pour les verrouillages temporels relatifs, qui empêchent de dépenser jusqu'à ce qu'un certain nombre de blocs soient passés depuis la confirmation de la sortie :


# 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
                                

Mise en œuvre de l'interrupteur de l'homme mort

Un interrupteur de l'homme mort nécessite une action périodique pour empêcher le transfert automatique des fonds :


# 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
                                

Combinaison des verrouillages temporels avec multi-signatures

Pour un plan d'héritage complet, vous pouvez combiner les verrouillages temporels avec des exigences multi-signatures :


# 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)

Stratégies de sauvegarde des clés

Une sauvegarde appropriée des clés est essentielle pour la planification d'héritage Bitcoin. Voici des implémentations détaillées pour diverses stratégies de sauvegarde.

Partage de secret de Shamir

Le partage de secret de Shamir divise un secret en plusieurs parts, nécessitant un seuil pour le reconstruire :


# 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
                                

Sauvegardes géographiquement distribuées

Stockez plusieurs copies de vos clés dans différents emplacements physiques :


# 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

Sauvegardes métalliques

Les sauvegardes métalliques offrent une protection contre le feu, l'eau et autres dommages physiques :


# 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

Approche de sauvegarde hybride

Combinez plusieurs stratégies de sauvegarde pour une redondance maximale :


# 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

Outils d'héritage Bitcoin

Plusieurs outils peuvent aider à mettre en œuvre et gérer votre plan d'héritage Bitcoin.

Electrum

Electrum est un portefeuille Bitcoin léger qui prend en charge des fonctionnalités avancées comme les multi-signatures et les verrouillages temporels :


# 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 est l'implémentation de référence de Bitcoin et prend en charge les scripts avancés :


# 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
                                

Services spécialisés d'héritage

Plusieurs services sont spécifiquement conçus pour la planification d'héritage Bitcoin :


# 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

Portefeuilles matériels avec fonctionnalités d'héritage

Certains portefeuilles matériels offrent des fonctionnalités spécifiquement conçues pour la planification d'héritage :


# 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/