Frostr Tutorial

Beschreibung vom GitHub

Elch

June 28, 2025 · 4 min read

Simple k-of-n remote signing and key management protocol for Nostr

This project was originally hacked together for the TABCONF 2024 hackathon competition by @cmdruid and @austinkelsay.

Features#

1.00

1.00

1.00

Core Architecture#

Signing Clients#

How it Works#

The protocol uses Shamir Secret Sharing to break up your nsec into "shares", and a hyper-optimized version of FROST to coordinate signing of messages. Each FROSTR signing client contains a bifrost node, and can participate in signing rounds with other nodes. Nodes communicate over the nostr network using end-to-end encrypted notes. The flow of the protocol is relatively simple:

Nostr apps can use existing protocols (NIP-07 and NIP-46) to interact with a FROSTR signing device. FROSTR is meant to be a drop-in replacement for existing signing devices. Nothing is changed about the user's nsec, npub, or signatures.

Demo Walkthrough#

Demo walkthrough setting up a basic 2/3 with igloo desktop and frost2x extension signing a multisig note, and recovering.

Watch the video

Getting Started#

If you are new to FROSTR, the best way to get started is by downloading Igloo for your desktop of choice. Generate a new nsec (for testing), and create a basic 2/3 multi-signature setup. Then you can experiment with using frost2x for signing in the browser. The steps are as follows:

Once igloo and frost2x are configured, visit any NIP-07 enabled nostr website as usual. The frost2x extension will reach out and connect to igloo automatically. You should not notice any difference logging in and using nostr clients.

Note: make sure to configure frost2x and igloo to use the same relays!

Rotating Shares#

If one of your shares is lost or compropmised, you can abandon it by replacing your existing shares with a new set. This renders the compromised share useless. You can generate a new set of shares using your nsec (and igloo). For the truly paranoid, this can be done offline on an air-gapped device.

The rotation process is very simple:

There is no limit to how many sets of shares your nsec can generate, and each new set is random. Rotate as much as you like.

Note: when you rotate to a new set, make sure to delete all the shares from the previous set!

#Frostr#Tutorial
0

Written by

Elch

roland@pareto.space

Comments0

No comments yet. Start the conversation.