#offline #signer #bitcoin #psbt #dice-roll #keechain

app keechain-cli

Bitcoin PSBT signer, descriptor exporter and more for offline devices

1 unstable release

0.1.0 Jan 9, 2023

#18 in #psbt

MIT license

80KB
2K SLoC

KeeChain

Description

KeeChain is a Bitcoin application to transform your offline computer in an AirGap Signing Device (aka Hardware Wallet).

Getting started

Features

  • Generate mnemonic (BIP39) using many sources of entropy:
    • True random number generator (TRNG)
    • Cryptographically secure pseudo-random number generator (CSPRNG)
    • Dynamic events: timestamp, boot time, total and free memory, total and free SWAP, OS processes and load average
    • Static events: hostname, OS and kernel version, global CPU info and device users
    • Optional: dice roll 🎲
  • Restore mnemonic (BIP39)
  • Apply and, optionally, save passphrases (BIP39)
  • Keychain encryption with AES-256
  • Export:
    • Descriptors
    • Bitcoin Core descriptors (same as above but already formatted to be inserted into the console using the importdescriptors command)
    • Electrum JSON file (BIP44, BIP49 and BIP84)
  • Sign and decode PSBT file
  • Deterministic Entropy (BIP85)
  • Danger:
    • View secrets: entropy, mnemonic, passphrase, HEX seed, BIP32 root key and fingerprint.
    • Wipe: permanently delete keychain
  • Optional:
    • Nostr sign event delegation (NIP26)

State

⚠️ This project is in an ALPHA state, use at YOUR OWN RISK and, possibly, with only testnet coins until release. ⚠️

License

This project is distributed under the MIT software license - see the LICENSE file for details

Donations

🔗 Bitcoin Address: bc1qmxcg6v75jzet2nxrz35pwq4vkg847exf04gwrh

⚡ Lightning Address: yuki@stacker.news

Dependencies

~22–33MB
~432K SLoC