Skip to content

Reference sweep script for Basic (2-of-2) MultiSig wallets. NodeJS.

License

Notifications You must be signed in to change notification settings

BlockIo/blockio-basic-multisig-sweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • THIS IS BETA SOFTWARE. BE CAREFUL!
  • Reference sweep script for Basic (2-of-2) MultiSig wallets. NodeJS.
  • Uses SoChain's Free API by default for blockchain data and for broadcasting transactions. You can implement your own backends yourself.
  • NEVER SHARE YOUR PRIVATE KEYS. NEVER USE PRIVATE KEYS ON INSECURE SYSTEMS.

Command-line Usage:

$ git clone <repository URL>
$ cd <dir> && npm install
$ N= PRIVATE_KEY1_BIP32= PRIVATE_KEY2= DESTINATION_ADDR= NETWORK= DERIVATION_PATH= node example.js
  • N is the number of addresses you've generated on the given network
  • PRIVATE_KEY1_BIP32 is the BIP32 extended private key you backed up
  • PRIVATE_KEY2 is the second private key you backed up
  • DESTINATION_ADDR is where you want the swept coins to go
  • NETWORK is the network for which you're sweeping coins
  • DERIVATION_PATH is the derivation path shown when you back up your private keys

About

Reference sweep script for Basic (2-of-2) MultiSig wallets. NodeJS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published