<p>Yes, if you pay bitcoins to a non-standard pubkey script, you can spend them in a later signature script using Eligius.  But there are some conditions:</p>

<ol>
<li><p>The pubkey script must be spendable.  For example, a pubkey script starting with <code>OP_RETURN</code> can never be spent.  It's up to you to craft your non-standard script to make it spendable.</p></li>
<li><p>Eligius will only mine valid transactions.  For example, you can't have a data push of more than 520 bytes in either the pubkey or signature script.</p></li>
<li><p>The IsStandard() checks check more than just op codes---they also require minimum network fees (to avoid "dust" spam) and correct transaction version numbers.  Eligius still includes these parts of the IsStandard() checks.</p></li>
<li><p>Eligius has its own minimum fee for non-standard transactions: 0.00004096 BTC per 512 bytes according to <a href="http://eligius.st/~gateway/faq-page/faq-5" rel="nofollow">their FAQ</a>.</p></li>
</ol>

<p>If you're going to send custom transactions, I highly recommend that you test them on <a href="https://en.bitcoin.it/wiki/Testnet" rel="nofollow">Testnet</a> first.  (Testnet allows non-standard transactions.)</p>

<p>Note also that Bitcoin Core 0.10 will likely <a href="https://github.com/bitcoin/bitcoin/commit/62599373883a66a958136f48ab0e2b826e3d5bf8" rel="nofollow">relax the IsStandard() rules</a> for P2SH, making it possible to use pretty much any script you want as long as you wrap it inside P2SH.  (That won't help you now, but it's a good thing to consider when developing your script.)</p>

CC BY-SA 3.0
2014-11-26T16:08:45.900Z
Thank you very much for your answer. The minimum fee for non-standard transactions you specified is according to the FAQ not official yet. The current fee for non-standard transactions is 0.00004096 BTC per 512 bytes.
user1861174
CC BY-SA 3.0
2014-11-26T19:31:44.170Z
I've corrected Eligius's fee listed in your answer; the one you had at first was a proposed rule for transactions after the first 128 KB in a block.
Tim S.
CC BY-SA 3.0
2014-11-26T15:16:41.250Z
2014-11-26T19:30:18.247Z
2014-11-26T19:30:18.247Z
David A. Harding
<p>As I understand it, <a href="http://eligius.st/%7Egateway/" rel="nofollow noreferrer">Eligius</a> is the only miner pool accepting non-standard transactions.</p>
<p>The Opcodes for the scripts are <a href="https://en.bitcoin.it/wiki/Script" rel="nofollow noreferrer">here</a>.<br />
Some use cases for non-standard transactions can be found <a href="https://en.bitcoin.it/wiki/Contracts" rel="nofollow noreferrer">here</a>.</p>
<h3>My Question:</h3>
<p>If I pay some Bitcoins to a non-standard pubkey script mined and accepted by Eligius, can these BTCs be redeemed by a non-standard redeem script (also mined at Eligius) or are these BTCs just lost forever?</p>

CC BY-SA 3.0
2014-11-26T15:16:33.443Z
Are you asking whether this can be done in general, or whether it can be done for your output script? Some non-standard outputs cannot be spent.
Nick ODell
<transactions><script><non-standard-transaction>
Redeem bitcoins of non-standard transactions made with eligius
user1861174
# Redeem bitcoins of non-standard transactions made with eligius

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

As I understand it, [Eligius](http://eligius.st/%7Egateway/) is the only miner pool accepting non-standard transactions.

The Opcodes for the scripts are [here](https://en.bitcoin.it/wiki/Script).  
Some use cases for non-standard transactions can be found [here](https://en.bitcoin.it/wiki/Contracts).

### My Question:

If I pay some Bitcoins to a non-standard pubkey script mined and accepted by Eligius, can these BTCs be redeemed by a non-standard redeem script (also mined at Eligius) or are these BTCs just lost forever?

**Tags:** transactions, script, non-standard-transaction

> **Comments:**
> **username_1**: Are you asking whether this can be done in general, or whether it can be done for your output script? Some non-standard outputs cannot be spent.  

---

## 1 answers

### Answer by username_2 on 2014-11-26. Score: 2 | Accepted answer

Yes, if you pay bitcoins to a non-standard pubkey script, you can spend them in a later signature script using Eligius. But there are some conditions:

1. The pubkey script must be spendable. For example, a pubkey script starting with `OP_RETURN` can never be spent. It's up to you to craft your non-standard script to make it spendable.
2. Eligius will only mine valid transactions. For example, you can't have a data push of more than 520 bytes in either the pubkey or signature script.
3. The IsStandard() checks check more than just op codes---they also require minimum network fees (to avoid "dust" spam) and correct transaction version numbers. Eligius still includes these parts of the IsStandard() checks.
4. Eligius has its own minimum fee for non-standard transactions: 0.00004096 BTC per 512 bytes according to [their FAQ](http://eligius.st/~gateway/faq-page/faq-5).

If you're going to send custom transactions, I highly recommend that you test them on [Testnet](https://en.bitcoin.it/wiki/Testnet) first. (Testnet allows non-standard transactions.)

Note also that Bitcoin Core 0.10 will likely [relax the IsStandard() rules](https://github.com/bitcoin/bitcoin/commit/62599373883a66a958136f48ab0e2b826e3d5bf8) for P2SH, making it possible to use pretty much any script you want as long as you wrap it inside P2SH. (That won't help you now, but it's a good thing to consider when developing your script.)

> **Comments:**
> **username_0**: Thank you very much for your answer. The minimum fee for non-standard transactions you specified is according to the FAQ not official yet. The current fee for non-standard transactions is 0.00004096 BTC per 512 bytes.  
> **username_3**: I've corrected Eligius's fee listed in your answer; the one you had at first was a proposed rule for transactions after the first 128 KB in a block.  

---

