<p>There are many command line tools for creating and signing raw transactions offline, most of them written in Python: <a href="https://github.com/richardkiss/pycoin" rel="nofollow">pycoin</a>, <a href="https://github.com/petertodd/python-bitcoinlib" rel="nofollow">python-bitcoinlib</a>, <a href="https://github.com/vbuterin/pybitcointools" rel="nofollow">pybitcointools</a> and others.</p>

<p>If you use <a href="https://github.com/spesmilo/electrum" rel="nofollow">Electrum</a> wallet, it has command line tools for offline transaction creation and signing:</p>

<pre><code>$ ./electrum help createrawtx
$ ./electrum help signtransaction
</code></pre>

CC BY-SA 3.0
2016-07-11T19:09:02.060Z
2016-07-11T19:09:02.060Z
venzen
<p>I tried to use sx, but it no longer works since bip62 (malleability fix). Nodes don't accept generated transactions, saying "high S signature".</p>

<p>What offline command-line tool would be the best?</p>

CC BY-SA 3.0
2016-06-19T17:26:03.040Z
Please don't use the "edit" function to vandalize your own post.  There is a "delete" button; use that instead if you really want to.  But three people have found your question useful, so you might consider leaving it.  If you wanted to delete the question because you found the answer, consider adding your own answer, so that it can be of use to others.
Nate Eldredge
<message-signing>
Best simple linux cmd tool for offline transaction creation and signing?
user37851
# Best simple linux cmd tool for offline transaction creation and signing?

(Asked by: username_0 on 2016-06-19)

I tried to use sx, but it no longer works since bip62 (malleability fix). Nodes don't accept generated transactions, saying "high S signature".

What offline command-line tool would be the best?

**Tags:** message-signing

> **Comments:**
> **username_1**: Please don't use the "edit" function to vandalize your own post.  There is a "delete" button; use that instead if you really want to.  But three people have found your question useful, so you might consider leaving it.  If you wanted to delete the question because you found the answer, consider adding your own answer, so that it can be of use to others.  

---

## 1 answers

### Answer by username_2 on 2016-07-11. Score: 2

There are many command line tools for creating and signing raw transactions offline, most of them written in Python: pycoin, python-bitcoinlib, pybitcointools and others.
If you use Electrum wallet, it has command line tools for offline transaction creation and signing:
$ ./electrum help createrawtx
$ ./electrum help signtransaction


---

