compile DAS wallet on clear Ubuntu 17.04

compile DAS wallet on clear Ubuntu 17.04

azy

Copy of the http://www.explorerz.top/das-masternode-guide.html edited for Ubuntu 17.04


sudo apt-get install update

sudo apt-get upgrade

sudo apt-get dist-upgrade

sudo apt-get install nano htop git

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils

sudo apt-get install libboost-all-dev

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

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

sudo git clone https://github.com/Truckman83/DAS-source

sudo nano ~/DAS-source/src/chainparams.cpp


#### SOURCE FIX START ####

Search (F6 key) for:

( 20282, uint256S("0x0000000000089ac18dd60904abddf2345fbe7632b94b8a243646124a656a0055")),


Replace "20282" with "16281" so it looks like:

( 16281, uint256S("0x0000000000089ac18dd60904abddf2345fbe7632b94b8a243646124a656a0055")),


Search for:

base58Prefixes[EXT_COIN_TYPE] = boost::assign::list_of(0x80000005);


Add ".convert_to_container<std::vector<unsigned char> >()" so it looks like:

base58Prefixes[EXT_COIN_TYPE] = boost::assign::list_of(0x80000005).convert_to_container<std::vector<unsigned char> >();


Search for:

base58Prefixes[EXT_COIN_TYPE] = boost::assign::list_of(0x80000001);


Add ".convert_to_container<std::vector<unsigned char> >()" so it looks like:

base58Prefixes[EXT_COIN_TYPE] = boost::assign::list_of(0x80000001).convert_to_container<std::vector<unsigned char> >();


Save changes with Ctrl+O, Enter, Ctrl+X


#### SOURCE FIX END ####


cd DAS-source

./autogen.sh

./configure

make

Wait for the end of compiling

make install

cd src

strip dasd

strip das-cli

strip das-tx

sudo ./dasd -daemon

Congratulations, you have wallet, you can monitor sync with sudo ./das-cli getinfo and compare block count with explorers

All other operations you can do with sudo ./das-cli



If you want to send das from 17.04 - send them to me :) DJR1kJaatoKRncVTJv4h9GZiCugttZSjAB