Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Android Wallet

Discussion in 'Projects' started by HashEngineering, May 3, 2014.

  1. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Thank you for the donation.
    Yes, I will be updating the icons.
     
  2. DarkThrones

    DarkThrones New Member

    Joined:
    May 18, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    [​IMG] Works great on nexus 5 & 7.
     
  3. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Good News. I was planning on publishing this app on Google Play today with updated icons, but my main concern is the next fork will break the app. I will wait for more feedback and also see when the DarkSend will be activated again.
    A testnet version would also be good, but I need a way to distinguish between a testnet version and a main netversion in the Java code (specifically for serializing a block and deserializing blocks and headers). It is a little more complicated than setting a global variable.

    What about the color scheme?
     
  4. DarkThrones

    DarkThrones New Member

    Joined:
    May 18, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    with the current icon... the dark theme is great! but depending on what icon you use will determine what colour will suit. full coin icon will do great with same theme. Just light blue D will need a change to the theme. In my view of course.
     
  5. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    This app is now published on Google Play with (beta) in its name. It will be available after several hours.
     
    • Like Like x 1
  6. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Regarding DarkSend, I saw that the RC version of the wallet had a "Use DarkSend" checkbox on the send page. Unfortunately, I couldn't find any references to this checkbox in the github source code. That checkbox will eventually lead me to all the code to help me figure out how DarkSend works (for sending coins) and I could determine how to integrate that into the Android Wallet. I couldn't find the source for the Release Candidate anywhere.
     
  7. Lzeppelin

    Lzeppelin Member

    Joined:
    Feb 27, 2014
    Messages:
    283
    Likes Received:
    57
    Trophy Points:
    88
    Darksend is not open sourced yet, also thank you so much for all your hard work!
     
  8. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Thanks for this answer. DarkSend for this app will have to wait until July or when the feature works and is open source.
     
  9. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    I am working on a testnet version of the app. It will have a different icon and color scheme to distinguish it from the main net app.
    It currently syncs to the testnet chain (as of today) after I found the necessary information on the C++ github repo. It should be ready/published next week.
     
  10. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    The testnet app is now online. Both apps were updated to RC3 for the masternode START times. Hope it works at the end of the week!

    See the OP for the links.
     
    • Like Like x 1
  11. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    Good work :)
     
    • Like Like x 1
  12. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    It seems like the app was still working after the fork was reversed, but I will update it anyways.
     
  13. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Since the darkcoin code has been updated, the android app must follow suit.

    I am having trouble with this section and cannot see how the master node vote information is stored in the block header. The field vmn is in the CBlockHeader class, but it is to part of the IMPLEMENT_SERIALIZE list. How can I tell if a block has master node vote information?

    Code:
        std::vector<CMasterNodeVote> vmn;
    
        CBlockHeader()
        {
            SetNull();
        }
    
        IMPLEMENT_SERIALIZE
        (
            READWRITE(this->nVersion);
            nVersion = this->nVersion;
            READWRITE(hashPrevBlock);
            READWRITE(hashMerkleRoot);
            READWRITE(nTime);
            READWRITE(nBits);
            READWRITE(nNonce);
        )
     
  14. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    An update to the wallet will be posted in the next three weeks what will use the DNS servers recently added to the Darkcoin Client code.
     
    • Like Like x 1
  15. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    The wallet has been updated.
     
    • Like Like x 1
  16. mattmct

    mattmct Member

    Joined:
    Mar 13, 2014
    Messages:
    259
    Likes Received:
    92
    Trophy Points:
    88
    Awesome work looks great! Cheers for supporting Dark. I'll have to get this installed. Looking forward to future Darksend+ support.
     
  17. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    An update was posted on July 12 to fix a problem with some users. For some reason for me it worked, but others could not sync.
     
  18. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
  19. Carrot

    Carrot Member

    Joined:
    May 26, 2014
    Messages:
    64
    Likes Received:
    21
    Trophy Points:
    48
    This wallet is nothing short of pure awesomeness. With the exchange rate current and viewable, the QR code address for transfer of funds it is easy and just plain beautiful but not so plain.
     
  20. darkmonk

    darkmonk New Member

    Joined:
    Oct 3, 2014
    Messages:
    10
    Likes Received:
    8
    Trophy Points:
    3
    I was starting to look at coding a darkcoin wallet ... and here it is - without bugs! No darksend feature that I can see though.
     
  21. LonnieDRR

    LonnieDRR Member

    Joined:
    Jun 24, 2014
    Messages:
    103
    Likes Received:
    41
    Trophy Points:
    78
    Wheres the iOs wallet? haha. Hopefully soon. Need to make a site like blockchain.info but for dark coins, then have it able to sync to the mobile wallet. That would be sweet.
     
    • Like Like x 1
  22. fernando

    fernando Powered by Dash
    Dash Core Team Foundation Member Moderator

    Joined:
    May 9, 2014
    Messages:
    1,528
    Likes Received:
    2,061
    Trophy Points:
    283
    Darksend was open source only a 2/3 ago, I guess they'll include it soon.
     
  23. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Sorry on the late update, but I haven't added DarkSend to the app yet. I have been readying through the code to see how it works.

    If anyone wants to submit a pull request to add the feature, that will be much appreciated.

    Unfortunately, we have been getting reports of users who cannot connect to any peers. I have had the same problem on my phone. So far in the debug process, I haven't found the problem. If anyone has similar experiences, let me know.
     
  24. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Sorry, but I don't do iOS apps (iPhone). I don't have the hardware or the expertise at this time.
     
    • Like Like x 1
  25. BiteMyShinyMetalAss

    Joined:
    Oct 9, 2014
    Messages:
    78
    Likes Received:
    36
    Trophy Points:
    58
    The last few days my android wallet doesnt seem to connect to network and is unable to download the blockchain. Is anyone else experiencing this problem?
     
  26. BiteMyShinyMetalAss

    Joined:
    Oct 9, 2014
    Messages:
    78
    Likes Received:
    36
    Trophy Points:
    58
    So apparently developers are aware of this issue, but cant find a solution yet. Hopefully soon, i really liked having android wallet...
     
    • Like Like x 1
  27. moocowmoo

    moocowmoo Bovine Bit-flipper
    Foundation Member

    Joined:
    Jun 15, 2014
    Messages:
    483
    Likes Received:
    603
    Trophy Points:
    263
    Dash Address:
    XmoocowYfrPKUR6p6M5aJZdVntQe71irCX
    Seems like this may be it -- zero peers connecting, and my last android block is from Nov 13th.

    emailed hasheng to check protocol version:

     
    • Like Like x 1
  28. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    HashEngineering indeed a protocol version bump should do it.
     
  29. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Thanks to those who helped me solve this problem. I updated the code to the new protocol versions and it worked on my phone. Currently publishing the new version on Google Play. It will be available later.
     
    • Like Like x 2
  30. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    Hi,

    Great wallet!
    Is there a way to import keys from my qt? Currently i could restore keys only from a file that was saved before by the android wallet.