These utilities allow you to prove ownership over a Copay multisignature wallet.
Run npm install
.
node sign.js <wallet-file> <message-file> <output-file>
If you have a two of three wallet, this needs to be done for two of the three copayers. You can get a wallet file by clicking Settings -> Your Wallet -> More Options -> Export Wallet.
The utility will reach out to BWS and get the current receive address index and the current change address index. It will compute all addresses up to these indexes. It will sign the message using the corresponding private key for each address.
node combine.js <file-1> <file-2> <output-file>
node verify.js <address-file> <message-file>
This iterates through each address and checks that there are sufficient valid signatures.