Browse Source

update documentation from wiki

The MMGen Project 3 years ago
parent
commit
bf23ff1008

+ 88 - 0
doc/wiki/install-linux/Install-MMGen-on-Linux.md

@@ -0,0 +1,88 @@
+*NOTE: the instructions on this page are for a Bitcoin-only setup.  For
+altcoin support, additional installation steps are required.  See
+[**Altcoin and Forkcoin Support**][af] for more information.*
+
+### Perform the following steps on both your online and offline computers:
+
+For computers with no Internet connection, see **Note for offline machines** below.
+
+#### Install required packages:
+
+##### Debian/Ubuntu:
+
+	$ sudo apt-get install curl git gcc libtool make autoconf libgmp-dev libssl-dev libpcre3-dev libmpfr-dev libmpc-dev python3-dev python3-pip
+
+##### Arch Linux:
+
+	$ sudo pacman -S curl git gcc libtool make autoconf automake autogen pcre python-pip
+
+#### Upgrade the build tools:
+
+	$ python3 -m pip install --user --upgrade pip setuptools build wheel
+
+#### Install MMGen:
+
+	$ git clone https://github.com/mmgen/mmgen.git
+	$ cd mmgen
+	$ git checkout stable_linux # see 'Note' below
+	$ python3 -m build --no-isolation
+	$ python3 -m pip install --user --upgrade dist/*.whl # see 'Testing Note' below
+	$ cd ..
+
+**Note:** if you want to use features that have appeared since the latest
+`stable_linux` release, then you can omit the `git checkout` step and remain on
+the `master` branch.  Please bear in mind, however, that while the tip of
+`master` is always tested on Linux before being pushed to the public repository,
+security vulnerabilities are more likely to be present in new code than in a
+stable release.  In addition, new code may require dependencies or installation
+steps not yet covered in the documentation.
+
+Install your coin daemon(s).  To install prebuilt binaries, go [here][01].  To
+install from source, go [here][02].
+
+**Testing Note:** MMGen may be tested in place prior to installation.  Refer to
+the [Test Suite][ts] wiki page for details.
+
+##### Note for offline machines:
+
+The computer you’ve designated for offline use must be connected to the
+Internet to retrieve and install the above packages as described above.  This
+is normally not a problem, as you can simply take it offline permanently after
+the install is done, preferably removing or disabling its network interfaces.
+
+However, if your machine is already offline and you wish to leave it that way,
+or if it lacks a network interface entirely, then you’ll need to take roughly
+the following steps:
+
+> If your offline and offline computers have the same architecture, then
+> download the Debian/Ubuntu packages and their dependencies on the online
+> one using `apt-get download`.  Otherwise, retrieve the packages manually
+> from `packages.debian.org` or `packages.ubuntu.com`.
+>
+> Download any required Python packages using `python3 -m pip download`, or
+> manually from [pypi.org][pi] if your online and offline computers have
+> different architecture.
+>
+> Transfer the downloaded files and cloned Git repositories to your offline
+> computer using a USB stick or other removable medium.  Install the
+> Debian/Ubuntu packages with `sudo dpkg -i` and the Python packages with
+> `python3 -m pip install --user`.
+>
+> Clone the [secp256k1][ec] repository and copy it to `~/.cache/mmgen`
+> directory on the offline machine (or copy it from your online machine’s
+> `~/.cache/mmgen`).  Copy the MMGen repository to the offline machine and
+> install MMGen as described above.  If your online and offline machines have
+> different architecture, make sure to clean up any build/dist files in the
+> repositories before installing (in `secp256k1` this is accomplished by `make
+> clean`).
+
+Congratulations, your installation is now complete!  You can now proceed to
+[**Getting Started with MMGen**][gs].
+
+[01]: Install-Bitcoind
+[02]: Install-Bitcoind-from-Source-on-Debian-or-Ubuntu-Linux
+[ts]: Test-Suite
+[gs]: Getting-Started-with-MMGen
+[pi]: https://pypi.org
+[af]: Altcoin-and-Forkcoin-Support
+[ec]: https://github.com/bitcoin-core/secp256k1.git

+ 9 - 9
doc/wiki/install-mswin/Install-MMGen-on-Microsoft-Windows.md

@@ -98,15 +98,15 @@ will produce a listing of the same directory.
 
 > Download up-to-date versions of these files from a fast MSYS2 mirror:
 
->> <https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys.db>
->> <https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys.db.sig>
->> <https://mirror.yandex.ru/mirrors/msys2/mingw/x86_64/mingw64.db>
->> <https://mirror.yandex.ru/mirrors/msys2/mingw/x86_64/mingw64.db.sig>
->> <https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw32.db>
->> <https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw32.db.sig>
->> <https://mirror.yandex.ru/mirrors/msys2/mingw/clang64/clang64.db>
->> <https://mirror.yandex.ru/mirrors/msys2/mingw/clang64/clang64.db.sig>
->> <https://mirror.yandex.ru/mirrors/msys2/mingw/ucrt64/ucrt64.db>
+>> <https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys.db>  
+>> <https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys.db.sig>  
+>> <https://mirror.yandex.ru/mirrors/msys2/mingw/x86_64/mingw64.db>  
+>> <https://mirror.yandex.ru/mirrors/msys2/mingw/x86_64/mingw64.db.sig>  
+>> <https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw32.db>  
+>> <https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw32.db.sig>  
+>> <https://mirror.yandex.ru/mirrors/msys2/mingw/clang64/clang64.db>  
+>> <https://mirror.yandex.ru/mirrors/msys2/mingw/clang64/clang64.db.sig>  
+>> <https://mirror.yandex.ru/mirrors/msys2/mingw/ucrt64/ucrt64.db>  
 >> <https://mirror.yandex.ru/mirrors/msys2/mingw/ucrt64/ucrt64.db.sig>
 
 > Copy the files to your offline machine, replacing the originals at

+ 1 - 1
doc/wiki/using-mmgen/Altcoin-and-Forkcoin-Support.md

@@ -33,7 +33,7 @@ In addition, ERC20 token creation and deployment are supported via the
 
 From the MMGen repository root, type:
 
-	$ pip3 install --no-deps --user -r eth-requirements.txt
+	$ python3 -m pip install --no-deps --user -r eth-requirements.txt
 
 #### <a name='a_oe'>Install and run Geth or OpenEthereum</a>
 

+ 1 - 2
doc/wiki/using-mmgen/MMGen-Quick-Start-with-Regtest-Mode.md

@@ -6,8 +6,7 @@ All of MMGen’s functionality is available in regtest mode, making it an ideal
 way to learn to use the MMGen wallet without risking real coins.
 
 To send a transaction or perform any other operation as Bob or Alice, just add
-the `--bob` or `--alice` option to the relevant MMGen command.  MMGen will start
-and stop the Bitcoin daemon automatically as needed.
+the `--bob` or `--alice` option to the relevant MMGen command.
 
 This tutorial provides a quick, hands-on introduction.