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
Equihash
·
ZEC
Overall rank#1of 100AvailableAll: #3 / 831
Bitmain Antminer Z15K 525KSol Equihash Zcash Miner
Bitmain
Pre-Order
Hashrate
525KSOL
Efficiency
4.73W/KSOL
Power
2483W
Earns/kWh
41.7p
Free Shipping
Price · delivered
£6,050.00
ex VAT
Est. per month
£755.32
Payback 8 Months
Overall ranking
Equihash
·
ZEC
Overall rank#2of 100AvailableAll: #5 / 831
Bitmain Antminer Z15 Pro 840KSol Equihash Zcash Miner
Bitmain
In stock
Hashrate
840KSOL
Efficiency
3.3W/KSOL
Power
2772W
Earns/kWh
59.8p
Price · delivered
£12,505.00
ex VAT
Est. per month
£1208.50
Payback 10.3 Months
Overall ranking
SHA-256
·
BTC
Overall rank#6of 100AvailableAll: #11 / 831
Bitmain Antminer S23e Hydro 2U 865Th SHA-256 Bitcoin Miner
Bitmain
Pre-Order
Hashrate
865TH
Efficiency
10W/TH
Power
8650W
Earns/kWh
13.2p
Free Shipping
Price · delivered
£9,382.50
ex VAT
Est. per month
£834.31
Payback 11.2 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