Skip to content

This repo has scripts to make compiling cryptocurrency wallets easier.

License

Notifications You must be signed in to change notification settings

nashsclay/Compile_Coins_Scripts

Repository files navigation

Compile Coins Scripts

Instructions

Place this script file in the root directory of the coin. This ONLY works for coins with the depends folder in the root directory of the coin. Also place root directory in this directory below.

/usr/local/bin

It MUST also be logged in as ROOT to avoid errors. (Currently updating to avoid root) If you are having errors for permissions still, that means that the github was not properly uploaded with correct executable permissions use sudo chmod 777 -R * to fix in the base coin directory.

sudo su root

The big list of Repos, there are more but start with these.

sudo wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/update_system.sh
sudo chmod +x update_system.sh
sudo ./update_system.sh

For MacOS and ARM Builds - Need these

Source list is from: https://github.com/bitcoin/bitcoin/blob/master/depends/README.md If versions cannot be found example 4.8, replace the 4.8 with the * symbol

sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python-setuptools
sudo apt-get install curl g++-aarch64-linux-gnu g++-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf gcc-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf g++-4.8-multilib gcc-4.8-multilib binutils-gold bsdmainutils g++-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-aarch64-linux-gnu

Master Compile Script - works, in testing

sudo wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/master_build_script.sh
sudo chmod +x master_build_script.sh
sudo ./master_build_script.sh

Linux 64 bit (Daemon, TX, CLI, and QT)

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/linux64_compile.sh
chmod +x linux64_compile.sh
./linux64_compile.sh

Windows 64 bit (Daemon, TX, CLI, and QT)

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/win64QT_compile.sh
chmod +x win64QT_compile.sh
./win64QT_compile.sh

Windows 32 bit (Daemon, TX, CLI, and QT)

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/win32QT_compile.sh
chmod +x win32QT_compile.sh
./win32QT_compile.sh

MacOSX QT Wallet (Only for High Sierra and possibly older, Mojave still is not compatible!)

No strip needed after compile. This method makes the QT, daemon, cli, and tx files. Send to Mac then do chmod +x filename then run the file.

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/MacOSX_allfiles_QT_compile.sh
chmod +x MacOSX_allfiles_QT_compile.sh
./MacOSX_allfiles_QT_compile.sh

ARM-32 / AARCH-32 Bit Wallet (Raspberry Pi) (Daemon, TX, CLI, and QT)

Don't forget the dependcies!

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/ARM32_compile.sh
chmod +x ARM32_compile.sh
./ARM32_compile.sh

ARM-64 / AARCH-64 Bit Wallet (Raspberry Pi) - Doesn't always work, use 32 bit

Don't forget the dependcies!

wget https://raw.githubusercontent.com/nashsclay/Compile_Coins_Scripts/master/ARM64_compile.sh
chmod +x ARM64_compile.sh
./ARM64_compile.sh

Berkeley DB 4.8.30.nc fix

Change lines 147 and 179 from __atomic_compare_exchange to __atomic_compare_exchange_db

Old Coin Compile

Old Coin Linux 64-bit QT

Packages to install per: https://github.com/laanwj/bitcoin-qt/blob/master/doc/readme-qt.rst

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
sudo apt-get install -y qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
    libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
    libssl-dev

Then run these commands in the coins base directory:

qmake
make

QT file can be found in base folder of the coin source.

About

This repo has scripts to make compiling cryptocurrency wallets easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages