Encrypt and decrypt BSV backup files (.bep format) using the bitcoin-backup CLI. Supports all backup types (BAP identity, wallet, ordinals, vault). Uses Flow's FLOW_BACKUP_PASSPHRASE and stores files in /.flow/.bsv/ following Flow's BSV convention.
/plugin marketplace add b-open-io/bsv-skills/plugin install bsv-skills@b-open-ioThis skill is limited to using the following tools:
scripts/decrypt.tsscripts/encrypt.tsEncrypt and decrypt BSV backup files using the bitcoin-backup CLI (bbackup).
.bep backup file.bep backup to read wallet dataAll backups use .bep format (AES-256-GCM encryption):
Run the encrypt or decrypt scripts:
# Encrypt a wallet JSON file
bun run /path/to/skills/encrypt-decrypt-backup/scripts/encrypt.ts wallet.json output.bep
# Decrypt a backup file
bun run /path/to/skills/encrypt-decrypt-backup/scripts/decrypt.ts backup.bep
# Decrypt to specific output file
bun run /path/to/skills/encrypt-decrypt-backup/scripts/decrypt.ts backup.bep wallet.json
This skill follows Flow's BSV backup convention:
Storage Location: /.flow/.bsv/
backups/ - Encrypted .bep filestemp/ - Temporary decrypted files (auto-cleanup)config.json - Backup registrySecurity:
FLOW_BACKUP_PASSPHRASE environment variableFLOW_BACKUP_PASSPHRASE environment variable must be setbbackup CLI installed globally: bun add -g bitcoin-backupThe bitcoin-backup CLI provides three commands:
bbackup enc <input> -p <password> -o <output> - Encrypt JSON to .bepbbackup dec <input> -p <password> -o <output> - Decrypt .bep to JSONbbackup upg <input> -p <password> -o <output> - Upgrade legacy backupsCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.