8000 GitHub - bitpay/copay-sign: Prove control over a copay wallet
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bitpay/copay-sign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copay Sign

These utilities allow you to prove ownership over a Copay multisignature wallet.

Installation

Run npm install.

Sign message with private keys

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.

Combine signatures into one file

node combine.js <file-1> <file-2> <output-file>

Verify signatures

node verify.js <address-file> <message-file>

This iterates through each address and checks that there are sufficient valid signatures.

About

Prove control over a copay wallet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

0