<p>No, Bitcoin Core doesn't have any RPC calls which allow you to create a bare multisig pubkey script.</p>

<p>Yes, you can create your own pubkey script and insert it into a transaction.  This isn't hard---but it is dangerous.  One mistype and your bitcoins are lost forever.  Note also that greater than 3-of-3 bare multisig pubkey scripts are non-standard, so they won't be relayed or mined by standard clients.</p>

<p>What might be challenging is spending the output at a later time---you will need a program that understands how to correctly sign Bitcoin transactions using an arbitrary private key.  Bitcoin Core can do that if it either has stored or is given all of the private keys necessary, but not all wallets can.</p>

CC BY-SA 3.0
2014-11-13T16:17:46.960Z
Yes, I just tried this on a testnet first. It worked! And Bitcoin Core was able to sign my raw multisig output just fine. So even though I had to write the scriptPubKey by hand, I didn't have to make the scriptSig by hand.
morsecoder
CC BY-SA 3.0
2014-11-13T00:53:43.287Z
2014-11-14T03:33:13.323Z
2014-11-14T03:33:13.323Z
David A. Harding
<p>Using the default client's RPC calls, can I make a transaction that sends to a RAW multisig (not P2SH multisig) scriptPubKey? </p>

<p>If I made a raw transaction, and edited the bytes in the scriptPubKey of one of the outputs, could I manually write in my own scriptPubKey? Hopefully, instead of doing this manually there is either support in the core client or there is a tool out there that I don't know of that can help. </p>

<multi-signature>
How to make a pay-to-rawmultisig transaction?
morsecoder
# How to make a pay-to-rawmultisig transaction?

(Asked by: username_0 on 2014-11-13)

Using the default client's RPC calls, can I make a transaction that sends to a RAW multisig (not P2SH multisig) scriptPubKey?

If I made a raw transaction, and edited the bytes in the scriptPubKey of one of the outputs, could I manually write in my own scriptPubKey? Hopefully, instead of doing this manually there is either support in the core client or there is a tool out there that I don't know of that can help.

**Tags:** multi-signature


---

## 1 answers

### Answer by username_1 on 2014-11-13. Score: 3 | Accepted answer

No, Bitcoin Core doesn't have any RPC calls which allow you to create a bare multisig pubkey script.

Yes, you can create your own pubkey script and insert it into a transaction. This isn't hard---but it is dangerous. One mistype and your bitcoins are lost forever. Note also that greater than 3-of-3 bare multisig pubkey scripts are non-standard, so they won't be relayed or mined by standard clients.

What might be challenging is spending the output at a later time---you will need a program that understands how to correctly sign Bitcoin transactions using an arbitrary private key. Bitcoin Core can do that if it either has stored or is given all of the private keys necessary, but not all wallets can.

> **Comments:**
> **username_0**: Yes, I just tried this on a testnet first. It worked! And Bitcoin Core was able to sign my raw multisig output just fine. So even though I had to write the scriptPubKey by hand, I didn't have to make the scriptSig by hand.  

---

