Post
Topic
Board Announcements (Altcoins)
Re: [ANN] CRAVE 1st POS Masternodes | Dark Assets | Markets Soon =Embrace The Dark=
by
bitcoinsid
on 01/05/2015, 03:05:34 UTC







RUN DARKPOOLD ON WINDOWS

Caution. Some of these install instructions make changes that could affect your system stability. They work for me but I take no responsibility for any problems encountered by follwing this list of directions to run cravecoin's darkpoold.py. I further take no responsibility for the reliability, availability, or any part of your experience when using darkpoold, including loss of coins, time, energy, etc etc.
OK!

Install Python 3.3 32bit   https://www.python.org/ftp/python/3.3.0/python-3.3.0.msi
download darkpoold from https://github.com/industrialcoinmagic/darkpoold (download zip, unpack it on desktop)

Add python to $Path environmental variables:
open start > right click computer, select properties, select advanced system settings, click advanced tab, click environmental variables, under system variables find variable PATH and edit it.  scroll to front of list, paste in C:\Python33\;C:\Python33\Scripts;  and save/apply

Install Pip: 
https://github.com/pypa/pip (source)
https://pip.pypa.io/en/stable/installing.html  (install procedure)
https://bootstrap.pypa.io/get-pip.py   (download this file to desktop)
open command prompt startmenu > run > type then hit enter: cmd
type in command:
cd C:/users/"yourname"/Desktop/
type in command: 
python getpip.py

Install darkpoold dependencies:
type in command:
cd darkpoold-master
type in command:
pip install -r pip-requirements.txt

*it will likely fail on crypto2.6, do the following:

download and install pycrypto2.6: 
http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py3.3.exe

download and install aspw: 
http://rogerbinns.github.io/apsw/download.html (source)
32bit https://github.com/rogerbinns/apsw/releases/download/3.8.9-r1/apsw-3.8.9-r1.win32-py3.3.exe

go to roaming appdata folder   open start > run > type then hit enter: %appdata% 
create folder named BLUR
create folder inside BLUR named darkpoold
go to craves appdata folder and edit or create crave.conf to say
Quote
txindex=1
server=1
rpcuser=user
rpcpassword=pass
rpcallowip=127.0.0.1
staking=0

start or restart your crave-qt


restart cmd prompt  startmenu > run > cmd
type in command:
cd C:/users/"yourname"/Desktop/darkpoold-master
type in command:
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING server

It will now process the blockchain for darkpoold's usage (took me ~15 minutes)

leave that "server" running and open a new cmd prompt
open command prompt startmenu > run > type then hit enter: cmd
type in command:
cd C:/users/"yourname"/Desktop/darkpoold-master

All darkpoold commands start with typing:
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING

you can follow that bit with whatever you like actions from this list:
Code:

    server              run the server (WARNING: not thread-safe)
    send                create and broadcast a *send* message
    order               create and broadcast an *order* message
    cravepay            create and broadcast a *CRAVEpay* message, to settle
                        an Order Match for which you owe CRAVE
    issuance            issue a new asset, issue more of an existing asset or
                        transfer the ownership of an asset
    broadcast           broadcast textual and numerical information to the
                        network
    bet                 offer to make a bet on the value of a feed
    dividend            pay dividends to the holders of an asset (in
                        proportion to their stake in it)
    burn                destroy {} to earn BLUR, during an initial period of
                        time
    cancel              cancel an open order or bet you created
    callback            callback a fraction of an asset
    rps                 open a rock-paper-scissors like game
    rpsresolve          resolve a rock-paper-scissors like game
    publish             publish arbitrary data in the blockchain
    balances            display the balances of a BLUR address
    asset               display the basic properties of a BLUR asset
    wallet              list the addresses in your backend wallet along with
                        their balances in all BLUR assets
    pending             list pending order matches awaiting CRAVEpayment from
                        you
    reparse             reparse all transactions in the database (WARNING: not
                        thread-safe)
    rollback            rollback database (WARNING: not thread-safe)
    market              fill the screen with an always up-to-date summary of
                        the BLUR market



example:

Quote
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING balances

will show the BLUR ammount associated with a crave address

for every action you can type 
Quote
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING -h

to get detailed help for instance:
Quote
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING burn -h
returns:
Quote
usage: darkpoold burn [-h] --source SOURCE --quantity QUANTITY [--fee FEE]

optional arguments:
  -h, --help           show this help message and exit
  --source SOURCE      the source address
  --quantity QUANTITY  quantity of CRAVE to be destroyed
  --fee FEE            the exact CRAVE fee to be paid to miners