Skip to main content

Long-term Bitcoin savings made Easy

Project description

Bitcoin Safe

Long-term Bitcoin savings made Easy

BETA Version -- Use with Caution

Features

  • Easy Multisig-Wallet Setup
    • Step-by-Step instructions for a secure MultiSig setup with PDF backup sheets
    • Test transactions ensure that all hardware signers are ready
    • Full support for Coldcard, Coldcard Q, Bitbox02, Blockstream Jade, and Specter DIY, supporting QR, USB, SD-card
  • Secure: Hardware signers only
    • All wallets require hardware signers/wallets for safe seed storage
    • Powered by BDK
  • Multi-Language:
    • 🇺🇸 English, 🇨🇳 Chinese - 简体中文, 🇪🇸 Spanish - español de España, 🇯🇵 Japanese - 日本語, 🇷🇺 Russian - русский, 🇵🇹 Portuguese - português europeu, 🇮🇳 Hindi - हिन्दी, Arabic - العربية, 🇮🇹 Italian - italiano, 🇫🇷 French - Français, 🇩🇪 German - Deutsch, (more upon request)
  • Simpler address labels by using categories (e.g. "KYC", "Non-KYC", "Work", "Friends", ...)
    • Automatic coin selection within categories
    • Transaction flow diagrams, visualizing inputs and outputs, click on inputs and output to trace the money flow
  • Sending for non-technical users
    • 1-click fee selection via mempool-blocks
    • Automatic merging of utxos when fees are low
  • SyncTalk:
    • Encrypted cloud backup (via nostr) of labels
    • Label synchronization between different computers
    • Wallet chat and PSBTs sharing between different computers
  • Fast:
    • Electrum server syncing
    • planned upgrade to Compact Block Filters for the Bitcoin Safe 2.0 release

Preview

Setup a multisig wallet

screenshot1

Transaction exploring via the money flow diagram

diagram

Sending

screenshot0

PSBT sharing with trusted devices

psbt-share.gif

Label Synchronization with trusted devices

label-sync.gif

Easy search across wallets

screenshot0

Full Features List

  • Import and Export Capabilities

    • CSV export for all lists
    • CSV import for batch transactions
    • Label import and export using BIP329
    • Label import from Electrum wallet
    • Export of the money flow diagram to svg
    • Drag and drop for Transactions, PSBTs, and CSV files
  • Wallet Features

    • Simplified address labeling using categories like KYC, Non-KYC, Work, Friends
    • Cancel unconfirmed transactions (via Replace-by-Fee)
    • Bump fee on transactions (via Replace-by-Fee)
    • Encrypted wallet storage
    • Backup PDF with Descriptor (Text and QR code)
  • Hardware Signer Connectivity

    • MicroSD (files)
    • USB
    • QR codes (enhanced QR code detection for Laptop cameras)
    • Animated QR codes including BBQr and legacy formats
  • Search and Filtering Options

    • Fast filtering across txids, utxos, labels, dates, amounts, categories
    • Search across all open wallets, txids, utxos, labels, dates, amounts, categories
  • Languages

    • 🇺🇸 English, 🇨🇳 Chinese - 简体中文, 🇪🇸 Spanish - español de España, 🇯🇵 Japanese - 日本語, 🇷🇺 Russian - русский, 🇵🇹 Portuguese - português europeu, 🇮🇳 Hindi - हिन्दी, Arabic - العربية, 🇮🇹 Italian - italiano, 🇫🇷 French - Français, 🇩🇪 German - Deutsch, (more upon request)
  • Transaction / PSBT Creation

    • 1-click fee selection and mempool block preview
    • Automatic merging of utxos when fees are low
    • Highlighting of own addresses
  • Security and Reliability

    • No seed generation or storage on mainnet
    • Seed storage requires a separate hardware signer
    • Update notifications and signature verification
    • Powered by Bitcoin Development Kit (BDK)
  • Ease of Use for Multisig Wallets

    • Simplified setup for multisig wallets, including step-by-step instructions and PDF backup sheet
    • Test signing with all hardware signers
    • Collaborative wallet management including chat and PSBT sharing via nostr and label synchronization between trusted devices
    • Optional custom nostr server
  • Upcoming Features

    • For the 2.0 Release
      • Compact Block Filters by default
        • Compact Block Filters are fast and private
        • Compact Block Filters (bdk) are being worked on, and will be included in bdk 1.1. For now RPC, Electrum and Esplora are available, but will be replaced completely with Compact Block Filters.

Installation from Git repository

Ubuntu, Debian, Windows

Install dependencies:

sudo apt install  qt6-tools-dev-tools libqt6*
  • Install poetry and run bitcoin_safe

    git clone https://github.com/andreasgriffin/bitcoin-safe.git
    cd bitcoin-safe
    pip install poetry  && poetry install && poetry run python -m bitcoin_safe
    

Mac

  • Run bitcoin_safe

    git clone https://github.com/andreasgriffin/bitcoin-safe.git
    cd bitcoin-safe
    python3 -m pip install poetry && python3 -m poetry install && python3 -m poetry run python3 -m bitcoin_safe
    
  • Optional: dependency zbar

    xcode-select --install
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    brew install zbar 
    

Development

  • Run the precommit manually for debugging
poetry run pre-commit run --all-files

Regtest docker environement with electrs and mempool

  • install docker
# see https://docs.docker.com/engine/install/ubuntu/
  • setting up a regtest environment in docker + mempool instance
curl https://getnigiri.vulpem.com | sudo bash # see https://nigiri.vulpem.com/#install
sudo nigiri start
xdg-open http://localhost:5000/
  • This creates
  • Setup mempool instance
sudo apt install docker-compose
git clone https://github.com/ngutech21/nigiri-mempool.git

pushd nigiri-mempool
sudo docker-compose up -d
sleep 10
# this is needed because the database needs time to start up 
sudo docker-compose up -d
popd
xdg-open http://localhost:8080/

# if the mempool is endlessly loading, then get the debug output with
sudo docker-compose logs -f mempool-api

Control the Regtest environment

  • get coins to an address
nigiri rpc generatetoaddress 1 bcrt1qgsnt3d4sny4w4zd5zl9x6jufc5rankqmgphyms9vz0ds73q4xfms655y4c # mine blocks

# or use the internal faucet
nigiri faucet bcrt1qgsnt3d4sny4w4zd5zl9x6jufc5rankqmgphyms9vz0ds73q4xfms655y4c 0.01
  • Installation from PyPi

Ubuntu, Debian, Windows

  • Install poetry and run bitcoin_safe

    pip install bitcoin-safe
    python -m bitcoin_safe
    

Mac

  • Run bitcoin_safe

    python3 -m pip install bitcoin-safe
    python3 -m bitcoin_safe
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitcoin_safe-1.0.0b3.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

bitcoin_safe-1.0.0b3-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

Details for the file bitcoin_safe-1.0.0b3.tar.gz.

File metadata

  • Download URL: bitcoin_safe-1.0.0b3.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.9 Linux/6.8.0-48-generic

File hashes

Hashes for bitcoin_safe-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 13ad281a1c6a7f0aeea2d89f296485f0b27d6b4f1d8499398eb1990c94d4e963
MD5 5121ce0ee78f584f7c6bc09d03c74463
BLAKE2b-256 c11d6420b5a5554d1ab70d38097ebc8913383f4566e3cdf6268840c585cc4b39

See more details on using hashes here.

File details

Details for the file bitcoin_safe-1.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: bitcoin_safe-1.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.9 Linux/6.8.0-48-generic

File hashes

Hashes for bitcoin_safe-1.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 6b69af52c62b2df922644844cf8ed00a57d2ee0c7786128260ea0444ebd0e253
MD5 a796ecc8aac7fb8df1cbbe4e52d11643
BLAKE2b-256 aca4441a0281ab5d04c64dc6a554f59898f19ec2e60bc97e7341ffc4af2750f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page