RUN DARKPOOLD ON WINDOWSCaution. 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.msidownload 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.exedownload 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.exego 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
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:
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:
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING balances <craveaddress with blur>
will show the BLUR ammount associated with a crave address
for every action you can type
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING <action> -h
to get detailed help for instance:
python darkpoold.py --backend-rpc-password=FROMCRAVECONF --backend-rpc-user=FROMCRAVECONF --rpc-password=ANYTHING burn -h
returns:
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
my portion of the bounty and the rest should go to sologap. heres my transactions
btc 19c7d2d2e06df7441e4473bf5d7d9414b7610971ca997ecaf909379f9e0d3f46-000 .02
crave 3f46d6cad7aaf4e889fa793e33b2458838db1c89a8cca8e54b999708076d44be-000 20
sologap canconfirm what addresses he would like bounties to be paid to