<p>OK, I found the answer I needed: <a href="https://bitcointalk.org/index.php?topic=317569" rel="nofollow">https://bitcointalk.org/index.php?topic=317569</a></p>

CC BY-SA 3.0
2015-05-29T17:24:17.060Z
2015-05-29T17:24:17.060Z
haael
<p>I know you can create a multisignature address with the command:</p>

<pre><code>bitcoind createmultisig 2 ["pubkey1", "pubkey2", "pubkey3"]
</code></pre>

<p>As described here: <a href="https://gist.github.com/gavinandresen/3966071" rel="nofollow">https://gist.github.com/gavinandresen/3966071</a></p>

<p>This command returns the address (starting with character '3') and the redeem script.</p>

<p>My question: how to create that data without using bitcoind? What algorithms are used? I guess the address is just a hash of the redeem script, right? How could I generate the redeem script?</p>

<p>Could you point me to some sources?</p>

<bitcoind><algorithms><multi-signature>
What is the algorithm behind multisignature address?
haael
# What is the algorithm behind multisignature address?

(Asked by: username_0 on 2015-05-29)

I know you can create a multisignature address with the command:
bitcoind createmultisig 2 ["pubkey1", "pubkey2", "pubkey3"]

As described here: https://gist.github.com/gavinandresen/3966071
This command returns the address (starting with character '3') and the redeem script.
My question: how to create that data without using bitcoind? What algorithms are used? I guess the address is just a hash of the redeem script, right? How could I generate the redeem script?
Could you point me to some sources?

**Tags:** bitcoind, algorithms, multi-signature


---

## 1 answers

### Answer by username_0 on 2015-05-29. Score: 2

OK, I found the answer I needed: <https://bitcointalk.org/index.php?topic=317569>


---

