Blackbank multisig plugin for Electrum 2.x
This plugin will help you generate keys for multisig transactions without using external websites. The keys are uniquely generated for each transaction, and are based on your wallet's master keys - so you can recreate the old keys in case you lose your wallet. They are still generate securely (derived via BIP32) so that they don't compromise your actual wallet's keys.
The plugin should in theory be usable by both buyers and vendors - but I haven't got a chance to test the vendor side, so if you make use of it please let me know how it goes.
Usage (with screenshots)
After installing the plugin, enable it by going into Tools->Plugins and checking the box "Blackbank". A new menu for "Blackbank" will appear in your Electrum menubar.
- When you want to pay for a multisig transaction, select "New Keypair" from that menu and enter the vendor name and price. Click Ok.
- The plugin will generate a public key and a refund address for you. Copy those into blackbank as shown here
Finalizing a transaction (with screenshots)
After the order is shipped you need to enter the private key to release the funds to the vendor.
- Select "Finalize" from the Blackbank menu in Electrum.
- Enter the public key from the original transaction, as shown here. The private key should appear below.
- Copy that into Blackbank and you're done!
If you are using a restored wallet, you should still be able to get the private key back by entering the vendor name and price in BTC as you entered them originally when generating the keypair.
Additional notes
You can save the keypair to a file, along with the transaction details. This is mostly meant for vendors who may need to keep track of many transactions at once, but it might also be useful for buyers to be sure that you don't lose the private key.
The plugin is only compatible with Electrum 2.x. It won't work with 1.9 or below, and you won't be able to install it into the default TAILS installation either because you don't have write access to the plugins folder. See below for installation instructions.
Cycle refund address is good if you want to use a different address for each transaction. Otherwise you would get the default receive address for each keypair you generate.
The plugin doesn't save your password, your transaction details, or anything that could compromise your main wallet. Feel free to go through the source code and verify that. If you find any unintentional information leaks, please let me know.
Download links
https://infotomb.com/lz7jn/7080ad7ae0c127f6759e3b0b4b544fcf60435f782118b5e8dcf2796c415064fd
https://anonfiles.com/file/de911229c6ae3f11efdde1bed6497f52
Installation instructions
- Install Electrum 2.x from www.electrum.org
- Download the blackbank plugin from the link above and copy it into your plugins folder:
Windows: C:\Program Files (x86)\Electrum\plugins
Mac OSX: /Applications/Electrum.app/Contents/Resources/lib/python2.7/plugins/
TAILS (how to install): ~/Persistent/Electrum-2.0.4/plugins/
SHA-256 Checksum:
9bdda8471304450019499d200229fb76d8948df1b3438569cf574c76266ea5c6 blackbank.py
Hi shulginscat, thanks for making this, ive been with TMP since the beginning and used their plugin with great ease, my only complaint about it was that if you had to remake your wallet.dat file by inputting your seed again all the private keys to all the public keys a vendor had to generate in electrum and post to their master TMP keylist would disappear! So if you had current transactions then well, it was a nightmare to say the least.
From the vendor side, does your wallet require you to make alot of keypairs all at once and post them into BB? If you reinput your electrum seedphrase do you lose all your private keys generated by your plugin?