git clone https://github.com/sillyghost/AYAv2
cd AYAv2
git checkout 7c8498d
Create build.sh
script and make it executable with the following contents
#!/bin/bash
# AYA build script for Ubuntu & Debian 9 v.3 (c) Decker (and webworker)
berkeleydb () {
AYA_ROOT=$(pwd)
AYA_PREFIX="${AYA_ROOT}/db4"
mkdir -p $AYA_PREFIX
wget -N 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef db-4.8.30.NC.tar.gz' | sha256sum -c
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure -enable-cxx -disable-shared -with-pic -prefix=$AYA_PREFIX
make install
cd $AYA_ROOT
}
buildAYA () {
git pull
./autogen.sh
./configure LDFLAGS="-L${AYA_PREFIX}/lib/" CPPFLAGS="-I${AYA_PREFIX}/include/" --with-gui=no --disable-tests --disable-bench --without-miniupnpc --enable-experimental-asm --enable-static --disable-shared --with-incompatible-bdb
make -j$(nproc)
}
berkeleydb
buildAYA
echo "Done building AYA!"
Issue ./build.sh
to compile the daemon
sudo ln -sf /home/$USER/AYAv2/src/aryacoin-cli /usr/local/bin/aryacoin-cli
sudo ln -sf /home/$USER/AYAv2/src/aryacoind /usr/local/bin/aryacoind
mkdir -p ~/.aryacoin
nano ~/.aryacoin/aryacoin.conf
Enter the following into the conf and save it. (use strong user and pass value to your liking)
rpcuser=<USER>
rpcpassword=<PASS>
txindex=1
server=1
daemon=1
bind=127.0.0.1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
aryacoind &
Use genkomodo.php from here https://github.com/DeckerSU/komodo_scripts/blob/master/genkomodo.php