<p>A transaction of the form:</p>

<pre><code>2 pubkeyA pubkeyA pubkeyB pubkeyC 4 OP_CHECKMULTISIG
</code></pre>

<p>should do what you want. Give it a try on testnet, shouldn't be hard to whip up a test case using the raw transactions API of Bitcoin Core.</p>

CC BY-SA 3.0
2014-06-01T23:31:05.963Z
2014-06-01T23:31:05.963Z
gavinandresen
<p>is it possible to make a multisig tx with the same keys ?
For example, i got:
Key A, Key B, Key C</p>

<p>Now A should be able to spend the coins and also B with the help of C. (B and C alone should not be able to spend the coins)
So 2 keys out of 4 should work but can key 1 and 2 be A (AABC) ?</p>

<p>Thanks,</p>

<transactions><multi-signature>
Multisig with same keys
Onefox
# Multisig with same keys

(Asked by: username_0 on 2014-06-01)

is it possible to make a multisig tx with the same keys ?
For example, i got:
Key A, Key B, Key C

Now A should be able to spend the coins and also B with the help of C. (B and C alone should not be able to spend the coins)
So 2 keys out of 4 should work but can key 1 and 2 be A (AABC) ?

Thanks,

**Tags:** transactions, multi-signature


---

## 1 answers

### Answer by username_1 on 2014-06-01. Score: 2

A transaction of the form:
2 pubkeyA pubkeyA pubkeyB pubkeyC 4 OP_CHECKMULTISIG

should do what you want. Give it a try on testnet, shouldn't be hard to whip up a test case using the raw transactions API of Bitcoin Core.


---

