maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce]BitPurse : A light bitcoin client for n9 and n950 (https://talk.maemo.org/showthread.php?t=88425)

Khertan 2012-12-28 13:02

[Announce]BitPurse : A light bitcoin client for n9 and n950
 
Hi,

I've written a light Bitcoin Wallet Client that use the third party service MyWallet from Blockchain.info.

You can view your wallet, emit transaction, and supports double encryption

As screenshot is better than a long text :

http://khertan.net/medias/bitpurse_screenshot_1.png
http://khertan.net/medias/bitpurse_screenshot_2.png
http://khertan.net/medias/bitpurse_screenshot_3.png
http://khertan.net/medias/bitpurse_screenshot_4.png
http://khertan.net/medias/bitpurse_screenshot_5.png
http://khertan.net/medias/bitpurse_screenshot_6.png

It s the first beta release. So i ll appreciate if you have any remarks about it.

More information on http://khertan.net/BitPurse

jd4200 2012-12-28 14:17

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Exactly what I've been waiting for. Thanks!

Going to pull out my N9 to test it out now.

Edit:
Is porting this to maemo (n900) out of the question?

Khertan 2012-12-28 15:19

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
base code will be Easy to port, as it's python (just need to backport some code to python2.5.

The difficult part will be to make harmattan qt components working on n900 ...

jd4200 2012-12-28 16:21

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Quote:

Originally Posted by Khertan (Post 1308521)
base code will be Easy to port, as it's python (just need to backport some code to python2.5.

The difficult part will be to make harmattan qt components working on n900 ...

Ah ok.

You should announce it on the BCT forums, you may find a few N9(50) users over there aswell.

Fuzzillogic 2012-12-28 20:37

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
I can't get it to work :( appsformeego is down, and Khertan.net yields another .deb than the one on MeeGo COBS. The latter gives me errors while installing from the shell.

I've settled for bitpurse_0.9.0-1_armel.deb from khertan.net, which installs fine and downloads a dependency. But afterward I can't start BitPurse. Running from the shell yields:

Code:

/opt/bitpurse $ ./__init__.py
Traceback (most recent call last):
  File "./__init__.py", line 20, in <module>
    from wallet import WalletController
  File "/opt/bitpurse/wallet.py", line 21, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

Is there a dependency missing? I see python-crypto in the apt-cache database. Should I apt-get install this?

Khertan 2012-12-28 21:15

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Hum look like i forgot a dependancy in the package

Thanks a lot.

EDIT : Fixed and released in 0.9.1. Thanks again

Fuzzillogic 2012-12-28 22:08

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Hmm, are you sure? ;) I get the same error with 0.9.1. The package depends on "python, python-pyside.qtgui, python-pyside.qtdeclarative, python-pyside.qtcore, python-pyside.qtopengl" according to pkgmgr. I also noted that the size of extra dependencies downloaded was identical as before.

[edit] I saw your commit on Github for v0.9.2. It now works :)

Khertan 2012-12-30 15:56

yep i didn't save file before packaging ;) now it's works for harmattan also :) i ve tested only on Nemo mobile :)

Fuzzillogic 2012-12-30 20:33

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Do you have a TODO/whish list? I can list some feature request and remarks, but that would be pointless if you already know them.

Still, here's what I've found:
  • Being unfamiliar with blockchain.info, it wasn't clear that I had to use the identifier as "Login" for bitpurse.
  • Also, while I'm familiar with bitcoin-concepts, it was trial&error to get it going in BP. A more guided tour might be welcome.
  • BC.info supports aliases for those identifiers, but these are not supported by BP.
  • When entering password after starting the app, it is shown in plain text...
  • It seems the preferences (saving identifier, password) are only talking effect the next time you start the app.
  • In preferences, the menu bar is still visible, allowing you to go into preferences, etc.
  • No splash-screen. Loading takes a while, so that would be welcome.
  • Entering identifiers and bitcoin addresses is *very* tedious. Using a QR-app like CodeCam helps, but it still is not too practical. Is it possible to register BP as a bitcoin: protocol handler and/or use QR codes and/or NFC directly from BP

MartinK 2012-12-31 01:03

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Quote:

Originally Posted by Khertan (Post 1308521)
base code will be Easy to port, as it's python (just need to backport some code to python2.5.

The difficult part will be to make harmattan qt components working on n900 ...

The Harmattan Qt Components are available for Fremantle. Just install the qt-components-10 package and you are set. There is also a discussion thread about the components port.

I'm using these components to run the same QML files as for Harmattan in both modRana and Mieru without issues.

jd4200 2013-03-11 15:54

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Can't get the blockchain.info import feature to work.

I put in the wallet ID (not alias) and password to it (First key?), click import and it seems to do nothing, I've tried playing with different values but still nothing.

No error message is displayed either.

Khertan 2013-03-11 16:55

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Quote:

Originally Posted by jd4200 (Post 1328378)
Can't get the blockchain.info import feature to work.

I put in the wallet ID (not alias) and password to it (First key?), click import and it seems to do nothing, I've tried playing with different values but still nothing.

No error message is displayed either.

Hi, which version did you test, when did you try the import ? blockchain was down Sunday evening. also did you use double encoding of private keys, did you enter the second password ?

jd4200 2013-03-11 17:21

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Quote:

Originally Posted by Khertan (Post 1328394)
Hi, which version did you test, when did you try the import ? blockchain was down Sunday evening. also did you use double encoding of private keys, did you enter the second password ?

Tried 1.50, 1.60, and just pulled the lastest git, still nothing.

For the GUID I entered the wallet ID, for the Main key I entered the blockchain.info password, the secon key I'm not sure what that is? Is it the BitPurse password.

I'm confused as to what to put for the two keys.

Edit:
Ideally I just want to create a load of watching only addresses on the blockchain.info wallet and just use BitPurse to monitor them. Or do have to import the private keys into the app. itself?

jd4200 2013-03-13 17:02

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Any one else experiencing this issue?

Khertan 2013-03-15 08:25

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Quote:

Originally Posted by jd4200 (Post 1328814)
For the GUID I entered the wallet ID, for the Main key I entered the blockchain.info password, the secon key I'm not sure what that is? Is it the BitPurse password.

The second key is the second key of BlockChain.info MyWallet, that s the key use by blockchain for double encryption.
And the last field (which appear only if you use double encryption on BitPurse is the bitpurse double encryption password.

There is no watch only feature yet, but i ll implement it for a future release. So yes you have to import the private key for the moment.

Also there was a bug that appear sometime in the import from blockchain infowallet feature, which is fixed in release 1.7.0.

Regards,

DcDimmi 2013-04-05 11:29

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Thanks for the app!
Is there possibility to implement a real time exchange rate for euro/usd and quick copy of the wallet address?

Khertan 2013-04-05 12:10

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Quote:

Originally Posted by DcDimmi (Post 1334261)
Thanks for the app!
Is there possibility to implement a real time exchange rate for euro/usd and quick copy of the wallet address?

Hi,

Exchange rate euro/usd was currently in development, i was using bitcoin-central api for that, but the change rate depends of market, so i should probably try to use a ponderation of different market.
As you probably notice it, bitcoin-central is currently down due to security issue, so this slow down a bit the process :)

To copy an wallet address you can long press in the wallet page on a address ... a menu will appear and let you copy the address.

I've also coded a "Request Bitcoin" feature, to perform a request with a standardized bitcoin url scheme that can be send via twitter, email, nfc, bluetooth, sms ... that s currently working but not yet available except in source repository. It will be in 2.0.0

http://www.zimagez.com/miniature/cap...013-140600.php

http://www.zimagez.com/miniature/cap...013-140843.php

Regards,

Macros 2013-05-10 18:49

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Great Application :)

But I have little problems. I switched Double encryption on, after a restart off and turned it on again. Now the Client behaves weired.

-Options show double encryption off (ist on)
-If I turn it on, it teels me "some wallets are already double encrypted" and its on, after switching view back and forth its shown off again.
-sending coins is impossible. The "Second Password" field is not shown, but if I try to send coins the client complains abaout a missing second password.

A temporary fix was to enable "store wallet key".
Now I have the second password field while sending coins, but options still show seconds pw off and behave like before.

Do you know how this could happen?

Oh, and export button doesn't do anything, see wallet unencrypted shows no private key.

chemist 2013-05-11 00:17

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
I know you are using MyWallet as the full blockchain would be too much, Andreas Schildbach has brought Bitcoin Wallet to android phones without thirdparty servers. Might be an idea to find out what he exactly does (I think he loads cleaned headers only) on that matter. Nice work so far thank you! I will add bitcoin donation to tmo in the near future.

Macros 2013-05-14 10:17

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
I could solve my problem from above:
close BitPurse
Open config file at /home/user/.bitpurse.cfg
Change the usedoubleencryption to its real value (true)
Save and open BitPurse

After that the application behaves as intended.

hobarrera 2013-09-16 19:50

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
The double encryption feature is slightly unclear to me.

With it disabled, my private key and wallet data is encrypted, right? Or is some data NOT encrypted without it?

This sentance (from github) confuses me: "[...] This means even if your phone gets stolen your funds will still be safe!"

Why wouldn't it if I use just one encryption? Is the private key not encrypted?

Khertan 2013-09-17 10:00

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Hi hobarrera,

Thx for the issue on the donation button this button was working in the past as i got some donations but not much ...

The wallet is encrypted ... but you can store the password in the setting file to not enter it each time you launch BitPurse, so here come the double encryption feature, which encrypt the private key so you can view transaction on your public key, but you can't spend bitcoin without that second password.

I hope i explain the things well :)

Lizard2009 2013-11-06 18:27

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
I can't made a conection between BitPurse and Blockchain.info.. because "error de-serializacion token" imposible get in to my wallet. someone have a solution about it? please share it

mämo 2013-12-08 00:43

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Quote:

Originally Posted by Fuzzillogic (Post 1309197)
Do you have a TODO/whish list? I can list some feature request and remarks, ...
  • ...
  • Entering identifiers and bitcoin addresses is *very* tedious. Using a QR-app like CodeCam helps, but it still is not too practical. Is it possible to register BP as a bitcoin: protocol handler and/or use QR codes and/or NFC directly from BP

I need to second that. Badly needed.

There are a few stores in town that accept bitcoin and usually they show you a QR code with their payment address. Trying to manually enter a long string of "gibberish" is unfeasible, esp. when there are people waiting behind me at the checkout.

I can try to scan it with MeeScan, but that app doesn't recognize the bitcoin: url scheme so it's not showing a clickable link. Since that app was made by Nokia and Nokia is out of the cell phone business, that's not going to change anymore.

So now I have to copy/paste. But BitPurse doesn't recognize the bitcoin: url scheme either. Not on its Send screen, nor to import watch addresses. So I have to copy from Meescan, paste to Notes, cut out the actual address and the amount and label and paste them one by one into BitPurse. Almost as tedious as typing by hand.

Isn't the main point of having a mobile wallet on my phone to be able to make quick payments on the go? The lack of QR or NFC support (or at the bare minimum a bitcoin: url scheme parser) defeats the purpose of BitPurse for me. Please consider implementing.


Also, it needs more robust error handling. For instance, I tried to send funds with a bitcoin: url in the "Pay to" field and "Amount to pay" left empty. I got: "Invalid literal for Decimal: u" ... Huh??

Then I entered an amount, tried sending from a new empty/undefined address to an invalid (purposely mistyped) address. Got an empty black error box, but no error.

Sending from a new empty/undefined address to a valid address: "HTTP Error 500: Internal Server Error"

I didn't try to see what happens if I send from a valid and funded address to an invalid address for fear my funds go to a black hole. Esp. when you rely on people manually typing in bitcoin addresses, better error messages are essential.

It's not usable for me in its current form (no QR support), but it's a start. Thanks for the effort!

biketool 2014-03-30 14:52

Re: [Announce]BitPurse : A light bitcoin client for n9 and n950
 
Hope this isn't too OT.
I would like to try this with Meecolay, I unpacked the .deb into a directory in /opt.
I tried every obvious .py file to run under Meecolay but it looked like I was missing something in my python version or had chosen the wrong file to start.
Anyone running Bitpurse on their N900 with Meecolay?


All times are GMT. The time now is 16:50.

vBulletin® Version 3.8.8