-
Notifications
You must be signed in to change notification settings - Fork 5
HOW TO: Compile iond Daemon from source
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 a Terminal session remotely or via the Terminal shortcut on a VPS)
Install required dependencies
apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev libboost-all-dev git
Add Bitcoin Source
add-apt-repository ppa:bitcoin/bitcoin
Update the 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 Daemon wallet
make
Depending on your system speed this could take some time. The ION Daemon will be located at: ion/src/iond
Finished
When complete, the Daemon node install is finished. The Blockchain will need to sync fully before you are able to send or receive coins.
Start the Daemon
Enter ./iond
& to start the iond instance.
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.
Sample Default ioncoin.conf with staking enabled
rpcuser=
rpcpassword=
rpcallowip=127.0.0.1
daemon=1
server=1
debug=1
staking=1
bind=ip::12700
Sample ioncoin.conf with Testnet enabled
testnet=1
rpcuser=user
rpcpassword=pass
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip=158.69.120.138
masternodeaddr=158.69.120.138:27170
masternodeprivkey=93ULydF2EviXyytqhuebWVQdBJRq6y17q9wr4YerqPw4ne9MQpX
Sample ioncoin.conf with enabled masternode:
rpcuser=
rpcpassword=
rpcallowip=127.0.0.1
daemon=1
server=1
debug=1
staking=1
bind=ip::12700
masternode=1
masternodeaddr=:12700
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>