Skip to content

HOW TO: Compile the ION QT wallet on Ubuntu

ionstaff edited this page Mar 23, 2018 · 3 revisions

QT Build - Linux

Follow the guide to install the ION QT wallet on Linux Ubuntu

(Tested on Ubuntu 16.04) VM, 2GB RAM, 20GB HDD)

Open the Terminal window

From the sidebar select the 'Search your computer' icon

Search your computer

Type Terminal in the search bar, after a few characters the icon will display:

Open Terminal

Once you have selected and opened the Terminal window, you are then ready to enter the commands, you must press return after each sets of commands are inputted - there will be some delay whilst the computer works, when you are back to the command prompt after processes have run, you can then move onto the next listed command.

Install required dependencies

apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev libboost-all-dev git

Add Bitcoin Source

add-apt-repository ppa:bitcoin/bitcoin

Update your computer

apt-get update

Install libdb4.8 dependencies

apt-get install libdb4.8-dev libdb4.8++-dev

Install libminiupnpc-dev dependencies

apt-get install libminiupnpc-dev

Clone the ionomy Github repository to your computer

  • Make sure to check for the latest version

git clone -repo-

Change to the ION directory

cd -ion-

Run Autogen

./autogen.sh

Run configure

./configure

Compile the QT wallet

make

Depending on your system speed this could take some time. The ion-qt will be present in the ion folder when complete.

Finished

The QT wallet install is complete. The Blockchain will need to sync fully before you are able to send or receive coins. (Click on the File menu > Tools > Information - for up to date details on the syncing process)

  • You can also do get blockheight in the console.

Navigate to the QT wallet directory

The QT wallet is located in ion/src/qt/ion-qt - find the QT icon and you can then open from where it is, or drag to the desktop to find and run quickly.

ION QT wallet link

Important Extra information

Make sure to back up you wallet.dat AND private keys upon first use or when creating new wallet addresses.

Please note that any Zerocoin (xION) minted with be stored in the wallet.dat file and is not recorded externally on the Blockchain so you must keep a secure copy if you utilise xION.

Sample Default ioncoin.conf with staking enabled

rpcuser=
rpcpassword=
rpcallowip=127.0.0.1
daemon=1
server=1
debug=1
staking=1
bind=ip::27170

Sample ioncoin.conf with Testnet enabled

testnet=1
rpcuser=2lk;j;a/281uhdga;alhkj
rpcpassword=223kjlf;23;lkjznw;la2nuiogp2
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip=158.69.120.138
masternodeaddr=158.69.120.138:12700
masternodeprivkey=93ULydF2EviXyytqhuebWVQdBJRq6y17q9wr4YerqPw4ne9MQpX

Sample ioncoin.conf w/enabled masternode:

rpcuser=
rpcpassword=
rpcallowip=127.0.0.1
daemon=1
server=1
debug=1
staking=1
bind=ip::27170
masternode=1
masternodeaddr=:27170
masternodeprivkey=

Sample Masternode.conf

The masternode.conf format consists of a space separated text file. Each line consisting of an alias (Your Masternodes name), IP address followed by port, masternode genkey, collateral output transaction id and finally, collateral output index then with optional donation address and donation percentage (the latter two should be in format "address:percentage").

*Donation addresses are other addresses you can send the rewards to (rather than going straight to the Masternode collateral address, and percentages of each reward).

alias ipaddress:port masternode_private_key collateral_output collateral_output_index donationin_address:donation_percentage

Example

mn1 123.123.321.321:27170 93ULydF2EviXyytqhuebWVQdBJRq6y17q9wr4YerqPw4ne9MQpX 805f8fb240e6ec7efbba6d3df2aca154182455c37a79ac41bfcf68b91477069c 1

<Alias Name> <your ip>:27170 <masternode.key> <output hash> <outpid id>