user58659: It is possible to mine tx that has a 0 BTC output?
In theory it is non-standard but valid, so it is not relayed but it can be mined.
How to mine it in practice? Are there nodes that accept it? I tried Eligius' 192.3.11.20 but it rejects it.
EDIT: i want to do p2pkh transaction

user12983: Do you want to create p2pkh output and send zero satoshies on it? Such output is non-standard (dust) and will not be relayed and mined (but it is possible)
Or may be you want to create nulldummy (OP_RETURN) output? This is possible
BTW, sometimes miners confirm non-standard transactions, for example https://blockchain.info/tx/b4ea693a9d2d7e32b66777964fce13da302bed024bd9fd4651919da650fb1c40 (it is p2pk output)

58659: <p>It is possible to mine tx that has a 0 BTC output?
In theory it is non-standard but valid, so it is not relayed but it can be mined.
How to mine it in practice? Are there nodes that accept it? I tried Eligius' 192.3.11.20 but it rejects it.</p>

<p>EDIT: i want to do p2pkh transaction</p>
 12983: <p>Do you want to create <code>p2pkh</code> output and send zero satoshies on it? Such output is non-standard (dust) and will not be relayed and mined (but it is possible)</p>

<p>Or may be you want to create <code>nulldummy</code> (OP_RETURN) output? This is possible</p>

<p>BTW, sometimes miners confirm non-standard transactions, for example <a href="https://blockchain.info/tx/b4ea693a9d2d7e32b66777964fce13da302bed024bd9fd4651919da650fb1c40" rel="nofollow noreferrer">https://blockchain.info/tx/b4ea693a9d2d7e32b66777964fce13da302bed024bd9fd4651919da650fb1c40</a> (it is <code>p2pk</code> output)</p>
