feat: add ark-frost-sample showcasing FROST external signer - #262
Draft
bonomat wants to merge 1 commit into
Draft
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
bonomat
force-pushed
the
feat/frost-sample
branch
2 times, most recently
from
July 28, 2026 11:21
4163921 to
f99639b
Compare
bonomat
force-pushed
the
feat/external-signer
branch
from
July 28, 2026 11:23
2ac292d to
973b2e0
Compare
bonomat
force-pushed
the
feat/frost-sample
branch
from
July 28, 2026 11:23
f99639b to
826acab
Compare
bonomat
force-pushed
the
feat/external-signer
branch
from
July 28, 2026 11:24
973b2e0 to
df67511
Compare
bonomat
force-pushed
the
feat/frost-sample
branch
2 times, most recently
from
July 28, 2026 11:34
c799b6f to
85c09a7
Compare
bonomat
force-pushed
the
feat/external-signer
branch
from
July 28, 2026 11:44
286a462 to
f01e4fe
Compare
Sample CLI where the wallet key is a FROST 2-of-3 threshold multisig (RFC 9591 via frost-secp256k1-tr). Three actors run distributed key generation and coordinate signing ceremonies by pasting base64 blobs between terminals; the group key plugs into ark-client through the new ExternalSigner trait. Supported: Lightning receive/send via Boltz swaps, balance, offchain-address. Settlement, boarding and chain swaps are out of scope (they require musig2 with the server).
bonomat
force-pushed
the
feat/frost-sample
branch
from
July 28, 2026 11:48
85c09a7 to
2d4758c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sample CLI demonstrating the new
ExternalSignertrait (stacked onfeat/external-signer): an Ark wallet whose key is a FROST 2-of-3 threshold multisig (RFC 9591, viafrost-secp256k1-tr).Three actors — alice, bob and clair — run distributed key generation so no party ever holds the full secret key. The Arkade address is derived from the x-only group public key, so to the Ark server the wallet is indistinguishable from a single-key wallet. Signing ceremonies are coordinated by copy-pasting base64 blobs between terminals; the aggregated result is a plain BIP340 signature.
Supported flows
invoice): Boltz reverse submarine swap; claiming the VHTLC requires one signing ceremony.pay): Boltz submarine swap; signing ceremonies for the Ark tx + checkpoint tx.balance,offchain-address,group-info, andsign-test(ceremony dry-run without a server).The library supports all flows through the
Signertrait; this walkthrough exercises the Lightning flows (settlement is impractical with a copy-paste ceremony due to server-timed batch rounds).See
ark-frost-sample/README.mdfor a full regtest walkthrough.Notes
publish = false; key shares / pubkey packages / swap storage are gitignored.feat/external-signer— this PR only adds the sample crate (+ workspace member and justfile module).