1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-26 18:08:31 +00:00

Made changes to ch03.asciidoc

This commit is contained in:
drusselloctal@gmail.com 2014-10-29 18:47:15 -07:00
parent 636309bc3f
commit 12ba54c38f

View File

@ -1140,16 +1140,16 @@ Alternative implementations include:
* https://code.google.com/p/bitcoinj/[bitcoinj], a Java full-node client library
* https://opensource.conformal.com/wiki/btcd[btcd], a Go language full-node bitcoin client
* https://bitsofproof.com[Bits of Proof (BOP)], a Java enterprise-class implementation of bitcoin
* https://github.com/jgarzik/picocoin[picocoin], a C implementation of a light-weight client library for bitcoin
* https://github.com/jgarzik/picocoin[picocoin], a C implementation of a lightweight client library for bitcoin
* https://github.com/vbuterin/pybitcointools[pybitcointools], a Python bitcoin library
* https://github.com/richardkiss/pycoin[pycoin], another Python bitcoin library
Many more libraries exist in a variety of other programming languages and more are created all the time.
[[sx_tools]]
==== Libbitcoin and sx tools
==== Libbitcoin and sx Tools
The libbitcoin library is a C++ scalable multi-threaded and modular implementation that supports a full-node client and a command-line toolset named "sx", which offers many of the same capabilities as the bitcoind client commands we illustrated in this chapter. The sx tools also offer some key management and manipulation tools that are not offered by bitcoind, including type-2 deterministic keys and key mnemonics.
The libbitcoin library is a C++ scalable multithreaded and modular implementation that supports a full-node client and a command-line toolset named "sx," which offers many of the same capabilities as the bitcoind client commands we illustrated in this chapter. The sx tools also offer some key management and manipulation tools that are not offered by bitcoind, including type-2 deterministic keys and key mnemonics.
===== Installing sx
@ -1161,25 +1161,24 @@ $ wget http://sx.dyne.org/install-sx.sh
$ sudo bash ./install-sx.sh
----
You should now have the sx tools installed. Type +sx+ with no parameters to display the help text, which lists all the available commands (See <<appdx_sx>>)
You should now have the sx tools installed. Type +sx+ with no parameters to display the help text, which lists all the available commands (see <<appdx_sx>>).
[TIP]
====
The sx toolkit offers many useful commands for encoding and decoding addresses, converting to and from different formats and representations. Use them to explore the various formats such as base58, base58check, hex etc.
The sx toolkit offers many useful commands for encoding and decoding addresses, and converting to and from different formats and representations. Use them to explore the various formats such as Base58, Base58Check, hex, etc.
====
==== pycoin
The Python library +pycoin+ (http://github.com/richardkiss/pycoin), originally written and maintained by Richard Kiss, is a Python-based library that supports manipulation of bitcoin keys and transactions, even supporting the scripting language enough to properly deal with non-standard transactions.
The Python library http://github.com/richardkiss/pycoin[_pycoin_], originally written and maintained by Richard Kiss, is a Python-based library that supports manipulation of bitcoin keys and transactions, even supporting the scripting language enough to properly deal with nonstandard transactions.
The pycoin library supports both Python 2 (2.7.x) and Python 3 (after 3.3), and comes with some handy command-line utilities, ku and tx.
To install:
====
[source,bash]
.Installing pycoin 0.42 under Python 3 in an virtual environment (venv)
.To Install pycoin 0.42 under Python 3 in an virtual environment (venv)
----
$ python3 -m venv /tmp/pycoin
$ . /tmp/pycoin/bin/activate