modified: Altcoin-and-Forkcoin-Support.md

modified:   Install-MMGen-on-Debian-or-Ubuntu-Linux.md
The MMGen Project 2019-02-09 17:50:08 +00:00
commit ef9fbdc9c2
2 changed files with 16 additions and 28 deletions

@ -1,5 +1,3 @@
#### [*Note for Armbian systems*](Install-MMGen-on-Debian-or-Ubuntu-Linux#a_a)
## Table of Contents
#### [Full support for Ethereum (ETH), Ethereum Classic (ETC) and ERC20 Tokens](#a_eth)
@ -133,11 +131,11 @@ To transact ETH instead of EOS, omit the `--token` arguments.
##### Install the Solidity compiler
To deploy Ethereum contracts with MMGen, you need version 0.5.3 of the Solidity
compiler (`solc`) installed on your system. The best way to ensure you have the
correct version is to compile it from source. Alternatively, on Ubuntu 18.04
systems a binary distribution is also available, and instructions for installing
it are provided below.
To deploy Ethereum contracts with MMGen, you need between **v0.5.1** and
**v0.5.3** of the the Solidity compiler (`solc`) installed on your system. The
best way to ensure you have the correct version is to compile it from source.
Alternatively, on Ubuntu 18.04 systems a binary distribution is also available,
and instructions for installing it are provided below.
##### *Compile solc from source:*
@ -145,13 +143,19 @@ Clone the repository and build:
$ git clone --recursive https://github.com/ethereum/solidity.git
$ cd solidity
$ git checkout v0.5.3
$ ./scripts/install_deps.sh # RPi users: Edit this script, adding DISTRO='Debian' after line 55
$ git checkout v0.5.1
$ ./scripts/install_deps.sh
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
$ cmake -DUSE_CVC4=OFF -DUSE_Z3=OFF ..
$ make solc
$ sudo install -v --strip solc/solc /usr/local/bin
*Raspbian Stretch users must make the following edits for the build to succeed:*
> './scripts/install_deps.sh': Add `DISTRO='Debian'` after line 55
> 'libdevcore/Common.h': Change `BOOST_VERSION < 106500` to `BOOST_VERSION < 106200`
> 'cmake/EthDependencies.cmake': Change `Boost 1.65.0` to `Boost 1.62.0`
##### *Install solc from binary distribution (Ubuntu 18.04):*

@ -24,27 +24,11 @@
$ sudo ./setup.py install
$ cd ..
> The following permission fixes may be required for Armbian systems:
$ sudo chmod o+rx /usr/local/share/mmgen
$ sudo find /usr/local/lib/python3.6/dist-packages/mmgen -exec chmod o+r {} \;
$ sudo find /usr/local/lib/python3.6/dist-packages/mmgen -type d -exec chmod o+x {} \;
> Install the bitcoind daemon(s):
> To install prebuilt binaries, go [here][01]. To install from source, go
> [here][02].
#### <a name='a_a'>*Note for Armbian systems:*</a>
> Due to a bug in the Python setup implementation in current Armbian
> distributions, the following permission fixes may be required after installing
> Python packages from source or via pip. For versions of Python other than
> 3.6, fix the paths to suit:
$ sudo find /usr/local/lib/python3.6/dist-packages -exec chmod o+r {} \;
$ sudo find /usr/local/lib/python3.6/dist-packages -type d -exec chmod o+x {} \;
#### *Note for offline machines:*
> Naturally, your offline machine must be connected to the Internet to retrieve