Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: DVS Light Wallet for Mac Open Beta  (Read 4421 times)

0 Members and 1 Guest are viewing this topic.

Offline modprobe

DVS Light Wallet for Mac Open Beta
« on: January 31, 2015, 12:03:28 AM »

Hello, all!

It's finally time to publish an open beta for my light wallet, currently available for DevShares. For those who want to skip the intro and get straight to the download, a Mac binary is available here:
http://ge.tt/1eflUa92/v/0
http://ge.tt/9uSSL0A2/v/0 Update! Just ignore the error about assets at startup.
http://ge.tt/1eDoNAA2/v/0 Should fix the junk characters in the brain key
Windows binaries will hopefully be available at some point. I would post build instructions, but we need to merge everything necessary into the official DevShares release first.

The usual disclaimers. This is beta software. It has bugs. It sometimes crashes on exit. It might lose your money, it might start thermonuclear war, and it might eat your lunch. Use it at your own risk. I'm happy to support it, but I'm not liable for anything it does. Also, the source code is available in the programs/light_wallet folder on the BitShares code repository, though this particular binary is built using a custom merge of the develop and devshares branches which is not published anywhere, as some of the features it requires have not yet been tagged into a devshares release. It does not have any code which is not available on one of those two branches, though.

This wallet is a light wallet; it uses my server at nathanhourt.com to query the blockchain and also to register accounts. The light wallet manages your private keys, and never sends them to anyone else, as you would expect. It also creates its transactions locally, then scans them and confirms them with the user before signing and submitting to my server for broadcast. This way, I give the user reasonable certainty that a bug in the code will not cause them to sign an unintended transaction.

At present, the wallet only allows one account to be created, and it requires that the account be registered by my server. It does not support BitShares Logins or other BTS URLs. Future versions will allow more options, but I want to keep it as simple as possible for the beta test, so that I can fix bugs in the code now, as this will be the platform upon which all future features are built. I also want to get it out there in hopes that it can be useful to people sooner rather than later, and I can prioritize further development based on feedback.

Finally, I note that the full-node web/qt wallet currently has a bug which prevents it from displaying transactions from my light wallet in the history. This is purely a history display bug; the full wallet does include the received funds in your balance and can spend them. I also note that at present, our extended memos are buggy and memos longer than 19 bytes are not displayed correctly.

Thanks for reading, and let me know what you think, and vote for dev.nathanhourt.com :)
« Last Edit: February 09, 2015, 04:59:48 PM by modprobe »

Offline clayop

Re: DVS Light Wallet for Mac Open Beta
« Reply #1 on: January 31, 2015, 12:17:00 AM »
 +5% +5% +5%
Waiting for windows version.  ;D
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline bytemaster

Re: DVS Light Wallet for Mac Open Beta
« Reply #2 on: January 31, 2015, 12:17:17 AM »
Great work!
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

lzr1900

  • Guest
Re: DVS Light Wallet for Mac Open Beta
« Reply #3 on: January 31, 2015, 01:38:45 AM »
Amazing! +5%

Offline alt

Re: DVS Light Wallet for Mac Open Beta
« Reply #4 on: January 31, 2015, 01:42:37 AM »
great!  +5% +5% +5%

Offline arhag

  • Hero Member
  • *****
  • Posts: 1214
    • View Profile
    • My posts on Steem
  • BTS: arhag
  • GitHub: arhag
Re: DVS Light Wallet for Mac Open Beta
« Reply #5 on: January 31, 2015, 01:45:40 AM »
Great. I'll wait for the build instructions for Linux.

Out of curiosity I attempted to build the light wallet a couple days ago and ran into some major problems trying to get it to work with Qt 5.3 (which is not installed by default on my Ubuntu 14.04 system)  and qml-material. So, I hope you will have clear instructions on how to build from source on Ubuntu 14.04.

Offline CurrencyMaster

Re: DVS Light Wallet for Mac Open Beta
« Reply #6 on: January 31, 2015, 02:21:15 AM »
 +5% +5% +5%
bts id: currencymaster
掌握了比特股 , 就掌握了货币发行权!
掌握了货币发行权,就掌握了整个世界!

Offline cgafeng

Re: DVS Light Wallet for Mac Open Beta
« Reply #7 on: January 31, 2015, 02:26:18 AM »
Great. I'll wait for the build instructions for Linux.

Out of curiosity I attempted to build the light wallet a couple days ago and ran into some major problems trying to get it to work with Qt 5.3 (which is not installed by default on my Ubuntu 14.04 system)  and qml-material. So, I hope you will have clear instructions on how to build from source on Ubuntu 14.04.
qml-material need to install.
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline Overthetop

Re: DVS Light Wallet for Mac Open Beta
« Reply #8 on: January 31, 2015, 03:53:33 AM »
a milestone, thanks devs.

 8)
个人微博账号: Overthetop_万里晴空
“块链创新与创业”交流群: 330378613

Offline modprobe

Re: DVS Light Wallet for Mac Open Beta
« Reply #9 on: January 31, 2015, 05:53:04 AM »
I'll try and set up an Ubuntu VM to test building in. I'm building on ArchLinux right now, and it's going buttery smooth. Installing qml-extras and qml-material didn't give me any difficulty, but those are packaged for Arch so it's laughably easy. :}

For the windows folks, I think I can get a binary for you, but I'm not certain how hard it'll be to pull all the dependencies together.

Offline clayop

Re: DVS Light Wallet for Mac Open Beta
« Reply #10 on: January 31, 2015, 06:20:28 AM »
For the windows folks, I think I can get a binary for you

Sounds promising
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline modprobe

Re: DVS Light Wallet for Mac Open Beta
« Reply #11 on: January 31, 2015, 06:36:57 AM »
Update for the Ubuntu users: I can't get qml-extras and qml-material to build their tests. My best guess is that the old version of Qt that ships with Ubuntu just can't handle it. As a workaround, disable the tests by editing qml-extras.pro and qml-material.pro and removing the references to the tests subdir. Then you can just `sudo make install` and it should work.

Oh, and remember to use my fork of qml-material at github.com/nathanhourt/qml-material -- I've made some changes that haven't been merged upstream.

Offline modprobe

Re: DVS Light Wallet for Mac Open Beta
« Reply #12 on: January 31, 2015, 06:47:44 AM »
Oops, I spoke too soon. Looks like the qml tests build after installing qtdeclarative5-dev

Offline arhag

  • Hero Member
  • *****
  • Posts: 1214
    • View Profile
    • My posts on Steem
  • BTS: arhag
  • GitHub: arhag
Re: DVS Light Wallet for Mac Open Beta
« Reply #13 on: January 31, 2015, 06:54:20 AM »
Update for the Ubuntu users: I can't get qml-extras and qml-material to build their tests. My best guess is that the old version of Qt that ships with Ubuntu just can't handle it. As a workaround, disable the tests by editing qml-extras.pro and qml-material.pro and removing the references to the tests subdir. Then you can just `sudo make install` and it should work.

I was actually able to get the tests to run except for
Code: [Select]
FAIL!  : extras::HttpTests::test_getgoogle() Uncaught exception: HttpLib is not defined
when running "make check" for qml_extras.

It required me to adjust environment variables so that qmake knew to use the Qt 5.3 installation I custom installed in /opt/Qt5.3.0 rather than the one that came with my Ubuntu system which is an older version.

I was also able to install qml_extras and qml_material, which were installed within the /opt/Qt5.3.0/5.3/gcc_64/ directory. 

But I think I may be doing something wrong with the compilation of the LightWallet. I worry that cmake is pointing to the system-wide old version of Qt and not the custom version I installed. It does build LightWallet, but when I run it I get:
Code: [Select]
2703390ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140644392490752
2703391ms ntp        ntp.cpp:77                    request_now          ] resolving... ["pool.ntp.org",123]
2703397ms ntp        ntp.cpp:81                    request_now          ] sending request to 50.116.38.157:123
QML debugging is enabled. Only use this in a safe environment.
2703485ms ntp        ntp.cpp:147                   read_loop            ] received ntp reply from 50.116.38.157:123
2703485ms ntp        ntp.cpp:161                   read_loop            ] ntp offset: 87993113, round_trip_delay 88388
2703485ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to 87993113
QQmlApplicationEngine failed to load component
file:///home/arhag/devshares/programs/light_wallet/qml/main.qml:1 module "QtQuick" version 2.4 is not installed
and then it just hangs there and does nothing (no windows show up).

Oh, and remember to use my fork of qml-material at github.com/nathanhourt/qml-material -- I've made some changes that haven't been merged upstream.

Hmm... this might have something to do with it. I will try that out and report back.

Edit: Nope. I now get errors in make check for qml-material.
Code: [Select]
********* Start testing of materials *********
Config: Using QtTest library 5.3.0, Qt 5.3.0
PASS   : materials::Card Test::initTestCase()
PASS   : materials::Card Test::test_showCard()
PASS   : materials::Card Test::cleanupTestCase()
QWARN  : materials::UnknownTestFunc() file:///home/arhag/qml-material/tests/tst_pagestack.qml:27:5: Type ApplicationWindow unavailable
         ApplicationWindow {
         ^
QWARN  : materials::UnknownTestFunc() file:///home/arhag/qml-material/modules/Material/ApplicationWindow.qml:82:5: Type Toolbar unavailable
         Toolbar {
         ^
QWARN  : materials::UnknownTestFunc() file:///home/arhag/qml-material/modules/Material/Toolbar.qml:150:5: Type Tabs unavailable
         Tabs {
         ^
QWARN  : materials::UnknownTestFunc() file:///home/arhag/qml-material/modules/Material/Tabs.qml:44:13: Type Ink unavailable
                 Ink {
                 ^
QWARN  : materials::UnknownTestFunc() file:///home/arhag/qml-material/modules/Material/Ink.qml:166:13: CircleMask is not a type
                 CircleMask {
                 ^
QWARN  : materials::tst_pagestack::compile()
  /home/arhag/qml-material/tests/tst_pagestack.qml produced 5 error(s):
    /home/arhag/qml-material/tests/tst_pagestack.qml:27,5: Type ApplicationWindow unavailable
    /home/arhag/qml-material/modules/Material/ApplicationWindow.qml:82,5: Type Toolbar unavailable
    /home/arhag/qml-material/modules/Material/Toolbar.qml:150,5: Type Tabs unavailable
    /home/arhag/qml-material/modules/Material/Tabs.qml:44,13: Type Ink unavailable
    /home/arhag/qml-material/modules/Material/Ink.qml:166,13: CircleMask is not a type
  Working directory: /home/arhag/qml-material/tests
  View: QQuickView, import paths:
    '/home/arhag/qml-material/modules'
    '/home/arhag/qml-material/tests'
    '/opt/Qt5.3.0/5.3/gcc_64/qml'
  Plugin paths:
    '.'

FAIL!  : materials::tst_pagestack::compile() Type ApplicationWindow unavailable
   Loc: [/home/arhag/qml-material/tests/tst_pagestack.qml(27)]
Totals: 3 passed, 1 failed, 0 skipped
********* Finished testing of materials *********
« Last Edit: January 31, 2015, 07:07:19 AM by arhag »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12307
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: DVS Light Wallet for Mac Open Beta
« Reply #14 on: January 31, 2015, 01:18:29 PM »
where are the sources for the light-client? I'd like to compile locally
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+