Post
Topic
Board Altcoin Discussion
Re: [ANN] WorldCoin WDC | Official Developer Thread |
by
Coinbrah
on 22/05/2013, 02:00:22 UTC
Quick and dirty worldcoind compile on Ubuntu 12.04

Download and install dependencies:
Code:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libboost-all-dev
Recommended utilities:
Code:
sudo apt-get install git

Download the source code:

Code:
git clonehttps://github.com/worldcoinproject/Worldcoin.git

Navigate to src directory:

Code:
cd Worldcoin/src

Compile the damn thing:
Code:
make -j2 -f makefile.unix USE_UPNP=-

With no errors this should build worldcoin:
Code:
ls
worldcoind should appear as the last file in the Worldcoin/src directory
Code:
addrman.cpp      irc.cpp               netbase.h              serialize.h
addrman.h        irc.h                 net.cpp                strlcpy.h
allocators.h     json                  net.h                  sync.cpp
base58.h         key.cpp               noui.cpp               sync.h
bignum.h         key.h                 obj                    test
bitcoinrpc.cpp   keystore.cpp          obj-test               ui_interface.h
bitcoinrpc.h     keystore.h            protocol.cpp           uint256.h
checkpoints.cpp  libeay32.dll          protocol.h             util.cpp
checkpoints.h    main.cpp              qt                     util.h
compat.h         main.h                rpcdump.cpp            version.cpp
crypter.cpp      makefile.linux-mingw  rpcnet.cpp             version.h
crypter.h        makefile.mingw        rpcrawtransaction.cpp  wallet.cpp
db.cpp           makefile.osx          script.cpp             walletdb.cpp
db.h             makefile.unix         script.h               walletdb.h
init.cpp         mruset.h              scrypt.c               wallet.h
init.h           netbase.cpp           scrypt.h               worldcoind

Ok, almost done!

Create the worldcoin data directory:
Code:
mkdir ~/.worldcoin

Now make the conf file:
Code:
sudo nano ~/.worldcoin/worldcoin.conf

Put this stuff in there:
Code:
rpcuser=username
rpcpassword=password
rpcport=11082
port=11081
daemon=1
server=1
gen=0
listen=1
testnet=0
maxconnections=100

Ok. GO TIME!

In the same directory as the worldcoind file:
Code:
worldcoind -daemon

You should see:
Code:
worldcoin server start

Commands:
Code:
worldcoind getinfo
worldcoind stop
worldoind getaccountaddress ""

See https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list for other commands.

Let me know if this works.

If it does. I graciously accept the following:

Love
WDC: WbE7NcXKEkQhsMyqnPxByFKfhqfFwdwH3P
LTC: LdZ5nUE9NnKKjwAGVVp4n2YVGPTM4zv2yN