Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

BIP 328 MuSig2 Aggregate-Key Derivation: Complete Guide

BIP 328 guide to synthetic xpubs for MuSig2 aggregate keys, fixed chaincode, unhardened derivation, signing tweaks, privacy and verification.

BIP 328 Derivation Scheme for MuSig2 Aggregate Keys guide cover

This guide explains BIP 328 Derivation Scheme for MuSig2 Aggregate Keys in plain English. It covers the problem behind the BIP, why it matters and whether the proposal is part of Bitcoin today.

TL;DR

  • What it is: BIP 328 is a Complete informational specification for deriving a family of MuSig2 aggregate public keys from one aggregate key. It wraps the BIP 327 plain aggregate key in a synthetic BIP32 extended public key with fixed metadata and a fixed chaincode, then permits ordinary unhardened public derivation.
  • Why it matters: BIP 328 reduces storage and repeated aggregation work while preserving MuSig2’s distributed signing model. Safety rests on exact synthetic-xpub construction, identical tweak calculation and strict rejection of hardened derivation.
  • Current position: BIP 328 is a Complete informational specification for deriving a family of MuSig2 aggregate public keys from one aggregate key.

BIP 328 Derivation Scheme for MuSig2 Aggregate Keys in simple English

BIP 328 Derivation Scheme for MuSig2 Aggregate Keys: Start with the plain MuSig2 aggregate public key, set depth and child number to zero and attach the exact fixed 32-byte chaincode specified by the BIP.

Simple example

A node operator is checking BIP 328 Derivation Scheme for MuSig2 Aggregate Keys. The aggregate public key is enough to construct the synthetic xpub, but no aggregate private key exists.

Key terms in plain English

BIP:
Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
Consensus:
The shared rules full nodes use to decide whether blocks and transactions are valid.
Taproot:
A Bitcoin upgrade that added new signature and script options for spending outputs.
Node:
A computer running Bitcoin software that checks data and communicates with other peers.

Status and layer

BIP 328 is Complete, Informational, at the Applications layer. It standardises wallet interoperability and does not alter Taproot consensus or make all signers compatible.

Synthetic xpub

Start with the plain MuSig2 aggregate public key, set depth and child number to zero and attach the exact fixed 32-byte chaincode specified by the BIP.

Unhardened only

The aggregate public key is enough to construct the synthetic xpub, but no aggregate private key exists. Hardened derivation is therefore impossible and must be rejected.

BIP 328 Derivation Scheme for MuSig2 Aggregate Keys technical diagram
Unhardened only: the fields, validation boundary and operational evidence that implementations need to agree.

Child derivation

Wallets use CKDpub to derive children. The left-hand value produced at each step is the public-key tweak applied along the derivation path.

Signing context

Every signer must independently compute or verify the same tweaks and provide them to the MuSig2 session as plain tweaks. A mismatch yields a different key or invalid signature.

Privacy

A synthetic aggregate xpub exposes linkability and derivation information much like an ordinary xpub. Protect it as wallet metadata and do not publish it as a harmless identifier.

How specialists test it

Developers test the proposal with made-up data on an isolated test network. They check normal cases and deliberately invalid cases. Different implementations should reach the same result before anyone relies on the proposal.

Frequently asked questions

What is the main point of BIP 328 Derivation Scheme for MuSig2 Aggregate Keys?

BIP 328 Derivation Scheme for MuSig2 Aggregate Keys: Start with the plain MuSig2 aggregate public key, set depth and child number to zero and attach the exact fixed 32-byte chaincode specified by the BIP.

For BIP 328 Derivation Scheme for MuSig2 Aggregate Keys, what should a beginner know about status and layer?

BIP 328 is Complete, Informational, at the Applications layer. It standardises wallet interoperability and does not alter Taproot consensus or make all signers compatible.

For BIP 328 Derivation Scheme for MuSig2 Aggregate Keys, what should a beginner know about synthetic xpub?

Start with the plain MuSig2 aggregate public key, set depth and child number to zero and attach the exact fixed 32-byte chaincode specified by the BIP.

For BIP 328 Derivation Scheme for MuSig2 Aggregate Keys, what should a beginner know about unhardened only?

The aggregate public key is enough to construct the synthetic xpub, but no aggregate private key exists.

Conclusion

BIP 328 reduces storage and repeated aggregation work while preserving MuSig2’s distributed signing model. Safety rests on exact synthetic-xpub construction, identical tweak calculation and strict rejection of hardened derivation.

Primary sources

Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Overall ranking
Overall rank#1of 163AvailableAll: #6 / 836
Bitmain Antminer S21+ Hydro 395Th SHA-256 Bitcoin Miner
Bitmain
Pre-OrderFree Shipping
Hashrate
395TH
Efficiency
15W/TH
Power
5925W
Earns/kWh
£0.057
Price · delivered
£2,970.00
ex VAT
Est. per month
£245.92
Payback 1 Year
Overall ranking
Overall rank#3of 163AvailableAll: #8 / 836
Canaan Avalon A1566HA Hydro 2U 460Th SHA-256 Bitcoin Miner
Canaan
In stockFree Shipping
Hashrate
460TH
Efficiency
16.8W/TH
Power
7728W
Earns/kWh
£0.051
Price · delivered
Original price was: £5,176.00.Current price is: £3,430.00.
ex VAT
Est. per month
£286.39
Payback 12 Months
Overall ranking
Overall rank#5of 163AvailableAll: #11 / 836
MicroBT Whatsminer M65S+ Hydro 414Th SHA-256 Bitcoin Miner
MicroBT
In stockFree Shipping
Hashrate
414TH
Efficiency
17W/TH
Power
7038W
Earns/kWh
£0.050
Price · delivered
£2,970.00
ex VAT
Est. per month
£257.75
Payback 11.5 Months
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

Members can read and join the discussion

Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners