Friend 2 Friend Payment and Bitcoin exchange
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
satoshi
BtcContract.cpp
BtcContract.h
COPYING
Credit.cpp
Credit.h
Currency.cpp
Currency.h
CurrentTxList.cpp
CurrentTxList.h
CurrentTxList.ui
FriendResetDialog.cpp
FriendResetDialog.h
FriendResetDialog.ui
MyOrders.cpp
MyOrders.h
NewWallet.cpp
NewWallet.h
NewWallet.ui
OrderBook.cpp
OrderBook.h
Payment.cpp
Payment.h
PeerAddressDialog.cpp
PeerAddressDialog.h
PeerAddressDialog.ui
README.md
RSZRRemoteItems.cpp
RSZRRemoteItems.h
RSZeroReserveItems.cpp
RSZeroReserveItems.h
Router.cpp
Router.h
TmContract.cpp
TmContract.h
TmLocalCohorte.cpp
TmLocalCohorte.h
TmLocalCoordinator.cpp
TmLocalCoordinator.h
TraceRouter.cpp
TraceRouter.h
TransactionManager.cpp
TransactionManager.h
ZRBitcoin.h
ZeroReserve.pro
ZeroReserveConfig.ui
ZeroReserveDialog.cpp
ZeroReserveDialog.h
ZeroReserveDialog.ui
ZeroReservePlugin.cpp
ZeroReservePlugin.h
ZeroReserve_images.qrc
ZrDummyBitcoin.cpp
ZrDummyBitcoin.h
ZrLibBitcoin.cpp
ZrLibBitcoin.h
dbconfig.cpp
dbconfig.h
frienddetailsdialog.cpp
frienddetailsdialog.h
frienddetailsdialog.ui
helpers.cpp
helpers.h
p3ZeroReserveRS.cpp
p3ZeroReserverRS.h
paymentdialog.cpp
paymentdialog.h
paymentdialog.ui
zrdb.cpp
zrdb.h
zrtypes.h

README.md

ZeroReserve

Friend 2 Friend Payment and Bitcoin exchange

For Windows, there is a precompiled ZeroReserve / Retroshare bundle. You can install that and the Satoshi client as described below. Then proceed with the Setup.

Prerequisite for building is

First, you need to build Retroshare. Use these build instructions. Note: there is no need to build retroshare-nogui.

On most Linux Distros, Boost, sqlite, curl and jsoncpp are included. On Debian 7, simply do

# apt-get install libjsoncpp-dev libsqlite3-dev libcurl4-openssl-dev libboost-all-dev

To build Zero Reserve, checkout the sources to the plugins directory of Retroshare and build with:

$ cd retroshare-code/plugins
$ git clone git://github.com/zeroreserve/ZeroReserve.git
$ cd ZeroReserve
$ qmake && make clean && make

To install on Windows, drop the resulting DLL into the %APPDATA%\Retroshare\extensions directory.

To install on Linux or MacOS, drop the resulting shared object into ~/.retroshare/extensions

If you want DHT, run the following command, replacing $ID with your id (a hex string looking like "3f40a66fa91aba29487cc6ac938d0687"). If you don't know what DHT is, you also want run this command:

$ echo "85.10.202.165 28839" > ~/.retroshare/$ID/bdboot.txt

###Satoshi Client (Bitcoin Core) Running ZeroReserve requires a running Satoshi Client first:

$ ./bitcoind
or
$ ./bitcoin-qt -server     # that shows the GUI *and* permits json-rpc conncetions

On first startup, the Satoshi client creates the directory structure for the blockchain in $HOME/.bitcoin on Unix and %APPDATA%\Bitcoin on Windows. Create a suitable bitcoin.conf in this directory. This is an example bitcoin.conf with all entries required:

testnet=1
rpcuser=anu
rpcpassword=mysupersecretpassword
rpcport=18332

This is experimental software. Use at your own risk. At this stage, leave TestNet on. Don't enable real currencies.

Building and running on MacOS may or may not work at this point.