Peershares/Peershares forked from peercoin/peercoin
Linux
pennybreak edited this page Jul 21, 2014
·
15 revisions
Pages 16
- Home
- API Calls List
- DRAFT: Acceptance Criteria for Mini Block Chain
- Generating the Initial Shares
- Genesis Block (Starting a New Blockchain Instance)
- Interaction Between the Peershares and Peercoin Networks
- Linux
- Offering Customization
- OS X
- OS X Cross Compiled on Linux
- Peershares Dividends
- Peershares Frequently Asked Questions
- Peershares Test Cases
- Phase 1 (Protocol)
- Test Cases
- Windows
- Show 1 more pages…
Clone this wiki locally
Peershares Daemon and QT Client
Retrieve Dependency Packages
On recent Ubuntu releases, the libdb4.8++-dev package is not in the default repositories. However it's in the bitcoin repository, which we can add with:
sudo apt-add-repository ppa:bitcoin/bitcoin
Then we need to make sure our build environment is up to date. For Debian and Ubuntu:
$ sudo apt-get update
$ sudo apt-get install git build-essential g++ libssl-dev libboost-all-dev libdb4.8++-dev libqrencode-dev qt4-qmake libqt4-dev
Download and Install Mini-UPnPC
$ mkdir miniupnpc
$ cd miniupnpc
$ wget "http://miniupnp.tuxfamily.org/files/miniupnpc-1.9.tar.gz"
$ tar -zxvf miniupnpc-1.9.tar.gz
$ cd miniupnpc-1.9/
$ sudo make install
$ cd ~/
Clone the Peershares Github Repository
$ git clone https://github.com/Peershares/Peershares.git
Note: If you run into an public key error while attempting to clone the repository, follow these steps to set up a valid RSA keypair. If you use Github, you can then add that pair to your account, for easier access in the future.
Compile the Peershares daemon (peersharesd)
$ cd ~/Peershares/src
$ make -f makefile.unix
# daemon will be compiled, and can be started from the command line
Compile the Peershares Wallet Client
$ cd ~/Peershares
$ qmake
$ make
#qt wallet will be compiled, and can be run by double clicking peershares executable
###Create Peershares configuration file (peershares.conf) In any text editor (vi, vim, nano, etc.) open the file and insert the following content:
# 'Clean' configuration file for Peershares development
# Note: This setup does not look for, or connect to, remote network nodes
server=1
testnet=1
rpcuser=pstn
rpcpassword=pstn1
rpcport=9923
Save the changes to the file.