Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can somebody help me with step-by-step list of how to create a multi signature 2-of-3 transaction?

share|improve this question
It's worth mentioning that this other question… doesn't appear to be a duplicate because it relates to the Bitcoin client app – Highly Irregular May 17 '12 at 22:14
Do you mean create the raw transaction, or do you just mean that you'd like to send such a transaction? If the former, then look into OP_CHECKMULTISIG and BIP-11; if the latter, then you may want to use an online wallet such as, which I believe handles this. – Daniel H Aug 28 '12 at 5:42
It's been a year since this was asked. What gives? See also – ripper234 May 4 '13 at 19:26
See also -… – ripper234 Mar 23 '14 at 10:43
To build a multisig transaction, the easiest API I know of: – Matthieu Jul 1 '14 at 19:54

It seems some partial implementation exists. Quoting Gavin:

Generate a multisig address:

  1. Gather (or generate) 3 bitcoin addresses, on whichever machines will be participating, using getnewaddress or getaccountaddress RPC commands (or copy and paste from the GUI).
  2. Get their public keys using the validateaddress RPC command 3 times.
  3. Then create a 2-of-3 multisig address using addmultisigaddress; e.g.

    bitcoind addmultisigaddress 2 '["044322868cb17d64dcc22185ae2d4493111d73244c3668f8ac79ecc79c0ba8d30a6756d0fa20157 709af3281cc721c7f53321a8cabda29b77900b7e4fe0174b114","..second pubkey..","..third pubkey.."]'

addmultisigaddress returns the multisignature address. Be a little careful, the public keys are raw hexadecimal and don't contain checksums like bitcoin addresses do. You can then send funds into that 2-of-3 transaction using the normal sendtoaddress/sendmany RPC commands, or the GUI (or anything that's been updated to recognize multisig addresses).

Spend from a multisig address:

This isn't implemented yet (RPC calls mechanism). You could gather up all addresses into one wallet, and then you would be able to spend the funds.

Update March 2014

Multisig is still hard. I believe the SX library is an easy tool (by people like Vitalik Buterin and Amir Taaki) for working with multisig, but I haven't tested that myself.

share|improve this answer
Multisig is no longer hard. See my new answer below – Alex Millar Jun 1 '15 at 20:07

Actually, both receiving funds at and spending funds from a multi-sig address is already supported.

You can find the code to do so, plus comments, by Gavin:

share|improve this answer

The easiest way to create a multi signature 2-of-3 transaction is with

  1. If necessary, create 3 key pairs using the "New Address" drop down command.

  2. Use the "New Multisig Address" together with the 3 public keys to create a 2-of-3 address.

  3. Fund the address with bitcoin.

  4. Create a new transaction by pasting in the "redeem script" from step 3, defining the receiving addresses and amounts. (All unspent inputs not assigned to a receiving address will be used as transaction fees. If change is desired include that in a new output address by clicking the "+".)

  5. Sign the transaction by one of the private keys, then sign that transaction with another of the private keys.

  6. Broadcast the transaction to the network.

share|improve this answer
I made a video documenting these steps here: – Alex Millar Jun 1 '15 at 20:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.