Hi guys, I’m very excited about XCP and just wanted to say Hi! If I can help with something I’m glad to volunteer. I don’t have a background in programming but I can make coffee or run to the post office. If you need something translated to German message me - it’s my native language.
I’m also curious if there’s any chance for a Mac Client.
In the meantime I’ll be cheering on and see what is happening.
There is already a mac client
Install bitcoin-qt and when blockchain is downloaded try this:
1) Download: https://github.com/JahPowerBit/counterpartyws/raw/master/dist/counterpartyws.app.zip
2) Unzip
3) (optional) Update configuration file ~/Library/Application Support/counterpartyd/counterpartyd.conf
[default]
bitcoind-rpc-connect=192.168.2.254
bitcoind-rpc-port=8332
bitcoind-rpc-user=xxxxx
bitcoind-rpc-password=xxxxx
rpc-password=xxxxx
gui-host=localhost (default: localhost)
gui-port=8080 (default: 8080)
gui-user=xxxxx (default: rpc-user)
gui-password=xxxxx (default: rpc-password)
4) Double click countepartyws.app
5) Open you browser: http://localhost:8080
If you have any problem PM me.
don’t forget to put
txindex=1
server=1
in bitcoin-qt config file
Thank you very much.
I will try this and I’m glad to know, that I can ask if I’m having troubles.
V
screenshots:
does it work on other os ?
do you have the instruction to install counterpartyd from the source on OSX ?
Also see https://github.com/btcfanatic/xcp-gui for an alternative native Mac client
[quote author=romerun link=topic=105.msg637#msg637 date=1392645775]
does it work on other os ?
[/quote]
it’s work, but you may install from source.
[quote author=romerun link=topic=105.msg637#msg637 date=1392645775]
do you have the instruction to install counterpartyd from the source on OSX ?
[/quote]
Try this:<br />virtualenv -p /usr/bin/python3 counterparty_env<br />source counterparty_env/bin/activate<br /><br />pip install appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1<br /><br />wget https://sqlite.org/2014/sqlite-autoconf-3080301.tar.gz<br />tar -xvzf sqlite-autoconf-3080301.tar.gz<br />cd sqlite-autoconf-3080301<br />./configure<br />make<br />make install<br />cd ..<br /><br />pip install https://github.com/rogerbinns/apsw/archive/master.zip<br />
EDIT: and of course:
git clone https://github.com/PhantomPhreak/counterpartyd.git
thanks!
I was able to run counterpartyd in my maverick, with slightly differences from the steps as I already have homebew and python3 so it goes like this:<br />brew update<br />brew install sqlite<br /><br /><br />pip3 install appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1<br />pip3 install https://github.com/rogerbinns/apsw/archive/master.zip<br /><br /><br />git clone https://github.com/PhantomPhreak/counterpartyd.git<br />cd counterpartyd<br />./counterpartyd server<br />
We should polish these steps and put it on official wiki for macusers,
[quote author=romerun link=topic=105.msg657#msg657 date=1392716091]
thanks!
I was able to run counterpartyd in my maverick, with slightly differences from the steps as I already have homebew and python3 so it goes like this:<br />brew update<br />brew install sqlite<br /><br /><br />pip3 install appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1<br />pip3 install https://github.com/rogerbinns/apsw/archive/master.zip<br /><br /><br />git clone https://github.com/PhantomPhreak/counterpartyd.git<br />cd counterpartyd<br />./counterpartyd server<br />
We should polish these steps and put it on official wiki for macusers,
[/quote]
yes! i agree.
I have also an .app ready with only counterpartyd. I still have to open automatically a terminal instead of having the log in the mac Console, and i will publish on github.
I haven’t tried the counterpartyws as mac app yet. I’m trying to run it from the source, so I have checked out,
counterpartyd
counterpartyws
[font=Verdana]not sure how to install it manually, so I[/font]
[quote]
cd counterpartyws
ln -s …/counterpartyd
[font=Verdana]ln -s …/counterpartyd/lib[/font]
[font=Verdana]python3 counterpartyws.py[/font]
[/quote]
[font=Verdana]and got this[/font]
[quote]
Traceback (most recent call last):
File “counterpartyws.py”, line 69, in
set_gui_options()
File “counterpartyws.py”, line 24, in set_gui_options
config_path = os.path.join(config.DATA_DIR, ‘counterpartyd.conf’)
AttributeError: ‘module’ object has no attribute ‘DATA_DIR’
[/quote]
[quote author=romerun link=topic=105.msg659#msg659 date=1392723785]
I haven’t tried the counterpartyws as mac app yet. I’m trying to run it from the source, so I have checked out,
counterpartyd
counterpartyws
[font=Verdana]not sure how to install it manually, so I[/font]
[quote]
cd counterpartyws
ln -s …/counterpartyd
[font=Verdana]ln -s …/counterpartyd/lib[/font]
[font=Verdana]python3 counterpartyws.py[/font]
[/quote]
[font=Verdana]and got this[/font]
[quote]
Traceback (most recent call last):
File “counterpartyws.py”, line 69, in
set_gui_options()
File “counterpartyws.py”, line 24, in set_gui_options
config_path = os.path.join(config.DATA_DIR, ‘counterpartyd.conf’)
AttributeError: ‘module’ object has no attribute ‘DATA_DIR’
[/quote]
[/quote]
You find a bug thank you i must check the existence of data_dir…
I fix and make a push tonight.
meanwhile you can add this line:
config.DATA_DIR = appdirs.user_data_dir (appauthor = ‘Counterparty’, appname = ‘counterpartyd’, roaming = True)
Attention it there’s probably specific code for MacOS build. I make a push for a clean version as soon as I get home from the office. thks.
[font=verdana][size=x-small]I couldn’t figure out as I’m weak in python, but i[/size][/font]t might not be a bug though. It could be from the way I tried to run it because
[font=verdana]set_options()[/font]
[font=verdana]should set the config variable, but it’s not available in [/font][font=verdana][size=x-small]counterpartyws.py file. It looks like the config var is not imported/exported properly. [/size][/font]
no it is not your fault. Code is very specific to MacOS build.
I’ll put it in a branch and leave a version multi platform on the master.
I try to do it this afternoon if I find time. Maximum tonight. thks!
Ok, I cleaned repositories.
https://github.com/JahPowerBit/counterpartyws
Contains the webserver and the GUI compatible with all OS, with as clear as I could README.
https://github.com/JahPowerBit/counterpartyws_build
Contains the standalone .app version with integrated counterpartyd.
Tell me if you have problems.
[size=small][font=arial]k, I recloned the https://github.com/JahPowerBit/counterpartyws [/font][/size]
[size=small][font=arial]had to,[/font][/size]
[size=small][font=arial]pip3 install bottle[/font][/size]
[size=small][font=arial]also cloning the repo doesn’t give me counterpartyd[/font][/size]
[size=small][font=arial]so I had to rm that empty counterpartyd dir and ln -s …/counterpartyd[/font][/size]
[size=small][font=arial]then I can start the webservice but[/font][/size]
[font=arial][size=small]http://localhost:8080/ gives me 404 not found,[/size][/font]
[font=arial][size=small]upon inspection, it appears “counterpartygui.html” is missing[/size][/font]
you may use git --recursive option to download also submodule.
I updated the README.md :<br />brew update<br />brew install sqlite<br /><br />pip3 install bottle appdirs==1.2.0 prettytable==0.7.2 python-dateutil==2.2 requests==2.1.0 cherrypy==3.2.4 json-rpc==1.1 pycoin==0.25 pytest==2.5.1<br />pip3 install https://github.com/rogerbinns/apsw/archive/master.zip<br /><br />git clone --recursive https://github.com/JahPowerBit/counterpartyws.git<br /><br />cd counterpartyws/counterpartyd<br />screen -S counterpartyd<br />./counterpartyd server<br />ctrl + a + d<br /><br />cd ..<br /><br />screen -S counterpartyws<br />./counterpartyws<br />ctrl + a + d<br /><br />
thks!
it works ! except, [font=monospace][size=medium]lib/jquery/jquery.min.js[/size][/font] and [font=monospace][size=medium]lib/bootstrap/dist/js/bootstrap.min.js[/size][/font] are missing
[quote author=romerun link=topic=105.msg687#msg687 date=1392778946]
it works ! except, [font=monospace][size=medium]lib/jquery/jquery.min.js[/size][/font] and [font=monospace][size=medium]lib/bootstrap/dist/js/bootstrap.min.js[/size][/font] are missing
[/quote]
Thank you!
You may execute "bower install" in counterpartygui directory. I will update the README today.
Community feedback on the respective guis would be really great.