Counterparty Desktop GUI Bounty thread

[quote author=JahPowerBit link=topic=8.msg501#msg501 date=1392429729]
[size=24pt]Submissions for the Desktop GUI Bounty[/size]

a link to source code

https://github.com/JahPowerBit/counterpartyws

screen shots

http://imgur.com/a/6RlUl#0

a short description

The GUI consists of three components:
- The counterpartyd daemon that scans the blocks.
- A webserver that use the counterpartyd lib
- An interface in html/css/ javascript
My opinion is that modern interface must be done in html/css/js. This is of course a subjective opinion I do not think an absolute truth. The advantages of HTML are amongst others:
- Speed of development with complete freedom in the look and feel (why all wallet should look like twins?)
- The possibility for many more people to contribute to the GUI
Note that I am not saying that the GUI must necessarily be used from a web browser, but only that the interface must be in html/css/js. I think, as I get more time I will embed the GUI in any webview to avoid opening a browser.

a list of features

- no difficult installation, just launch the app
- balances by asset
- balances by address
- action send
- action order
- action btcpay
- action cancel
- action issuance
- action dividend
- action callback
- action broadcast
- action bet

platform support

- For those who know how to manually install counterpartdy from scratch: all platform
- For others: yet only MacOS, Windows in the coming weeks.

and an installation guide

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

your future plans: do you plan on maintaining your client?

Course. This is my first open source project and more in an area that fascinates me. I’m really excited, and I slept only 2 hours per night all week to move forward on this project (I am married with 2 children and I work more than full time). I could of course not continue at this pace, but I intend to spend most of my free time on the GUI.
Here is my todo list for next weeks:

- Optimize how each process is running (for the moment I use Greenlet because Thread and Process cause blocking problems in the MacOS app. I have to test with subprocess.Popen to avoid hacks in counterpartyd code to works with greenlet)
- clean code (split code, comments, etc…)
- When you start the app, open a small window (with Tkinter) with:
  * start/stop button
  * textarea to display logs (in the MacOS console yet)
  * text fields to update configuration file
- Make a windows exe
- Add a popup confirmation to review transaction before submitting actions
- Add tabs “open orders”, “open bets”, “feeds”
- Add a DEX screen: classical presentation of the “order book” in two columns, with a simplified form to place an order in the top of each column (like btce, havelock, etc…)
- Conduct a survey to find out if it’s worth it to embed the GUI in a standalone webview (Chromium or alternative) to no longer need the browser.
- work with a designer to make an interface to a professional level (I work with several designers who would be interested).

What if there were a “client maintenance” bounty?

It would be great :slight_smile: If I could spend time working on a project that fascinates me without compromising income of my family, I said yes without hesitation.
[/quote]


The screen shots cann’t be openned?

[quote author=520Bit link=topic=8.msg625#msg625 date=1392623486]
[quote author=xcptime link=topic=8.msg603#msg603 date=1392607453]
The screen shots cann’t be openned?
[/quote]


You can also get the screenshots here: [font=verdana][size=78%]https://bitcointalk.org/index.php?topic=395761.msg5178781#msg5178781[/size][/font]
[/quote]

What I mean is the JahPowerBit’s GUI. I cann’t open http://imgur.com/a/6RlUl#0 to see the screen shots.

I do not understand, I just try being disconnected and it works.

Try this url please: http://jahpowerbit.imgur.com

tell me if that does not work, I’ll post here. thks.

[quote author=JahPowerBit link=topic=8.msg633#msg633 date=1392642266]
I do not understand, I just try being disconnected and it works.

Try this url please: http://jahpowerbit.imgur.com

tell me if that does not work, I’ll post here. thks.
[/quote]
Still cann’t open correctly. Maybe you can post here.

[quote author=xcptime link=topic=8.msg634#msg634 date=1392642905]
[quote author=JahPowerBit link=topic=8.msg633#msg633 date=1392642266]
I do not understand, I just try being disconnected and it works.

Try this url please: http://jahpowerbit.imgur.com

tell me if that does not work, I’ll post here. thks.
[/quote]
Still cann’t open correctly. Maybe you can post here.
[/quote]

done here:
https://forums.counterparty.co/index.php/topic,105.msg635.html#msg635

[quote author=JahPowerBit link=topic=8.msg633#msg633 date=1392642266]
I do not understand, I just try being disconnected and it works.

Try this url please: http://jahpowerbit.imgur.com

tell me if that does not work, I’ll post here. thks.
[/quote]


Looks very impressive. Great work  :slight_smile:

[size=14pt]Announcement: Desktop GUI bounty funds to be distributed.[/size]

The funds at the bounty address amount to:

[list]
[li]7.41790989 BTC[/li]
[li]1856.13963636 XCP[/li]
[/list]There were two submissions for the “desktop GUI” bounty - one from JahPowerBit, and one from btcfanatic. Between these two users, funds at the bounty address will be split thus:

[list]
[li]JahPowerBit will receive: 4.45074594 BTC and 1113.68378182 XCP[/li]
[li]btcfanatic will receive: 2.96716395 BTC and 742.45585454 XCP[/li]
[/list]In other words, JahPowerBit will receive 60% of the bounty funds, and btcfanatic will receive 40% of the bounty funds.

JahPowerBit has demonstrated enthusiasm and initiative, and has made a functioning web GUI. He has also detailed his plans for the future, and has recruited other community members to help him achieve the goals he has set out.

JahPowerBit’s GUI has wider functionality than btcfanatic’s, but btcfanatic’s architecture was more what we had in mind. With that said, we imagine users will have a harder time getting btcfanatic’s GUI to work than JahPowerBit’s, and JahPowerBit’s.

While both GUIs are cross-platform, they lack build systems for Windows. Going forward, this is very important.

We strongly encourage the community to get involved: test out the GUIs, interact and collaborate with the developers, and give them feedback. Counterparty is a community driven project, and will progress most effectively if the community works together.

Thanks very much to both JahPowerBit and btcfanatic for participating in the Desktop GUI bounty, and helping the Counterparty protocol become more user-friendly. And thanks to the community for providing donations, to help motivate developers.

We are discussing further bounties which should leverage what has been achieve with the desktop GUI bounty. Please stay tuned.

btcfanatic and JahPowerBit, please email your addresses to <bounties@counterparty.co>.

Is there a Windows7 64-bit version?


This link is not available now:

[quote author=JahPowerBit link=topic=8.msg501#msg501 date=1392429729]

[color=rgb(51, 68, 102)][font=Verdana]https://github.com/JahPowerBit/counterpartyws/raw/master/dist/counterpartyws.app.zip[/font][/color]
[/quote]

[quote author=520Bit link=topic=8.msg755#msg755 date=1393010180]
Is there a Windows7 64-bit version?
[/quote]


I’ve just released the first (alpha) Windows build for BoottleXCP! It’ll run fine on both 32-bit and 64-bit architectures.


More info in this post:
https://forums.counterparty.co/index.php?topic=74.msg760#msg760

Bug report for BoottleXCP:

- Trying to send an indivisible asset gives some sort of u_round error.
- Sending from a locked wallet freezes the interface. Instead, a modal dialog should pop up informing that the wallet is locked, to notify to user to manually unlock it.

[quote author=jimhsu link=topic=8.msg763#msg763 date=1393014548]
Bug report for BoottleXCP:

- Trying to send an indivisible asset gives some sort of u_round error.
- Sending from a locked wallet freezes the interface. Instead, a modal dialog should pop up informing that the wallet is locked, to notify to user to manually unlock it.
[/quote]

Thank you Jimhsu. I fix these two bugs this weekend.

Development shifted to Counterwallet in favor of this, correct? Maybe we should avoid confusing users, if there is no active support.

I agree. If someone looks at the github and thinks there must be a local gui client, they will waste time on this.