Start

Patrons need no invitation: anyone with a key pays any author here, in their own name, from a wallet that signs a PSBT. Authors need one: this Pi's operator adds your key to its invitation list, so Pi shows your works with a payment panel and its servers keep what you publish. To join as an author, send your npub in a message to this Pi's operator at npub19psxq9kasf3jjzrkyzy44vklstqmzwee97nlq4ktur3fhptfgusqtpguym, who adds your key by hand.

A work you play comes from a Blossom server, not from Pi: that server sees your IP address and the file, and this Pi logs no visitor.

Your wallet

To pay you need a wallet that signs a PSBT. A PSBT is a payment written but not yet signed: Pi writes it with the author's address, the amount and your name, and your wallet shows it, signs it and sends it, so Pi never holds your key or your bitcoin. A browser wallet signs it in one click, or you copy it into a desktop wallet such as Sparrow or Electrum, which is also how a Trezor or a Ledger pays.

No bitcoin yet? Get bitcoin.

Your key

Pi never makes, stores or asks for your secret key. Your key is your identity on every page and stays in your own tools.

  • In a browser, a NIP-07 extension holds the key and signs what you approve: nos2x, Alby, Keys.Band.
  • In a terminal, read -rs PW && nak key generate | nak key encrypt "$PW"; unset PW prints a new secret key as an ncryptsec (NIP-49) to keep, and read -rs PW && read -rs NOSTR_SECRET_KEY && printf '%s\n' "$NOSTR_SECRET_KEY" | nak key encrypt "$PW"; unset PW NOSTR_SECRET_KEY prints the ncryptsec of a key you hold. Both read the password, and the key, without echo. Never type a plain secret key on a command line, where shell history keeps it and ps shows it to every local user. Import the ncryptsec into the extension.
  • nak takes the password only as an argument, so while it runs, ps shows the password to every local user. Shell history never keeps it, since the lines above pass "$PW". Run them only on a machine no one else logs into. On a shared machine, make the key in the extension instead.
  • On your phone, a NIP-46 signer holds the key and signs what you approve: Amber for Android. Any signer that scans a nostrconnect:// code or shows a bunker:// URL works. Show a code below and scan it, or paste the URL it shows, and every page of this Pi in this browser signs through it.
  • Extension in this browser: unknown without scripts.
  • NIP-46 signer in this browser: unknown without scripts.

A lost key stays lost. No one, this Pi included, can recover it or move what it signed. Keep an encrypted copy offline.