Create new BAP (Bitcoin Attestation Protocol) identities using the bap CLI. Supports Type42 (modern) and Legacy identity formats. Creates encrypted .bep backup files stored in Flow's /.flow/.bsv/backups/ directory.
/plugin marketplace add b-open-io/bsv-skills/plugin install bsv-skills@b-open-ioThis skill is limited to using the following tools:
scripts/create.tsCreate new BAP (Bitcoin Attestation Protocol) identities using the bap CLI.
Type42 (Recommended):
Legacy:
Run the create script:
# Create Type42 identity (recommended)
bun run /path/to/skills/create-bap-identity/scripts/create.ts "Alice Smith" type42
# Create Legacy identity
bun run /path/to/skills/create-bap-identity/scripts/create.ts "Bob Jones" legacy
# Specify custom output file
bun run /path/to/skills/create-bap-identity/scripts/create.ts "Carol" type42 my-identity.bep
This skill follows Flow's BSV backup convention:
Storage Location: /.flow/.bsv/backups/
<name>-identity.bepFLOW_BACKUP_PASSPHRASE/.flow/.bsv/config.jsonRegistry: Updates config.json with:
{
"identityBackup": "alice-smith-identity.bep",
"backups": {
"alice-smith-identity.bep": {
"created": "2025-12-26T...",
"type": "BapMasterBackup",
"identityType": "type42",
"name": "Alice Smith"
}
}
}
FLOW_BACKUP_PASSPHRASE environment variable must be setbap CLI installed globally:
git clone https://github.com/b-open-io/bap-cli.git
cd bap-cli && bun install && bun run build && bun link
The bap CLI new command creates identities:
bap new --type type42 --password <pass> --name "Name" --output identity.bep
bap new --type legacy --password <pass> --name "Name" --output identity.bep
The .bep backup contains:
After creating an identity:
manage-bap-backup skill to list membersmanage-bap-backup skill to export member identities