Skip to content

bunker

Manage nostr bunker connections and nbunks (NIP-46 remote signing).

Usage

nsyte bunker <subcommand> [options]

Subcommands

  • connect [url] — Connect to a bunker URL and store as nbunksec
  • list — List all stored bunkers in the system
  • import [nbunksec] — Import a bunker from an nbunksec string
  • export [pubkey] — Export a bunker as an nbunksec string
  • use [pubkey] — Configure current project to use a bunker
  • remove [pubkey] — Remove a bunker from storage
  • help — Show detailed help information

Examples

Connect to a bunker interactively:

nsyte bunker connect

Connect to a bunker with a URL:

nsyte bunker connect 'bunker://pubkey?relay=wss://relay.example&secret=xxx'

List all bunkers:

nsyte bunker list

Import a bunker from an nbunksec string:

nsyte bunker import <nbunksec>

Export a bunker as an nbunksec string:

nsyte bunker export <pubkey>

Use a bunker for the current project:

nsyte bunker use <pubkey>

Remove a bunker from storage:

nsyte bunker remove <pubkey>