Bitcoin Forum
November 08, 2024, 12:55:42 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: DGC Android Wallet  (Read 1675 times)
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
October 22, 2013, 09:06:20 PM
 #1

As some people may know if ive been in the process of creating a DGC Android wallet. it worked until the recent hard fork. I am offering a 5000DGC bounty for a java/android programmer to add in and test(can be done by me if needed) the code for both DGC v0.2 and V1

Existing Code:
https://github.com/ahmedbodi/Digitalcoin-Android

Bitrated user: ahmedbodi.
MobGod
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500



View Profile WWW
October 22, 2013, 09:18:52 PM
 #2

I'll add 1k to it also

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
MobGod
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500



View Profile WWW
October 23, 2013, 05:27:54 PM
 #3

Ok I'm going to add 3k maybe that will spark a interest

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
barwizi
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
October 26, 2013, 06:49:19 PM
 #4

using what i know, i am attempting
wedge
Full Member
***
Offline Offline

Activity: 187
Merit: 100


View Profile
October 28, 2013, 06:39:24 AM
 #5

I'd like to give it a shot.  Can you bring me up to speed on what is and is not working?

ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
October 28, 2013, 07:40:50 PM
 #6

hey wedge thanks for that. It worked completely until the dgc hard fork for v0.2 (apart from the exchange rates since its still set to btc-e) this included sending and recieving transactions, downloading the blockchain and pretty much everything else afaik. i'd sit down myself and take the time into fixing the code to meet the requirements for both the hard fork's but running the pool's and writing the code for that is taking up all my time..


Bitrated user: ahmedbodi.
r32godzilla
Hero Member
*****
Offline Offline

Activity: 1361
Merit: 506


View Profile
October 29, 2013, 12:21:57 AM
 #7

Nice work guys. Would be good to see this up and running again. Smiley
HashEngineering
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Independent Cryptoveloper


View Profile WWW
October 29, 2013, 03:13:32 PM
Last edit: October 29, 2013, 03:34:52 PM by HashEngineering
 #8

Has anyone got this working yet?  Yesterday I downloaded the code and looked at the difficulty and the block reward calculation and found a syntax error and some old litecoin or feathercoin code.  This must not have been updated to the code that worked before V0.2.  In any case, I fixed all that and added the V1 code and along the way found a "bug" in the digitalcoin client that I will report to the dev.  

Since the blockchain is so long on this coin (only at 300,000), it hasn't finished downloading yet and may take as much as 1 more day for me to finish my own testing to see if it works with the V0.2 rules.

Also, this line of code was missing as well:

Code:
new LinuxSecureRandom(); // init proper random number generator

GRS:  FrFpTbfEAni5Ruf8mNdwVQazJVJaQyEM2Y
BTC:  128Ptecsv4j6NoxdBxdvGzBtipfaAarZMJ
https://bitcointalk.org/index.php?topic=336215 - Android Wallet Creation Service
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
October 29, 2013, 05:10:45 PM
 #9

thanks for that after ive looked through it and examined the code ill send u ur reward.

Bitrated user: ahmedbodi.
HashEngineering
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Independent Cryptoveloper


View Profile WWW
October 29, 2013, 07:23:40 PM
 #10

As of this instant, my phone with my modified DGC android wallet is at block 511443 (18:32 Oct 29, 2013).  The code is stored locally and can be submitted for review later today.

GRS:  FrFpTbfEAni5Ruf8mNdwVQazJVJaQyEM2Y
BTC:  128Ptecsv4j6NoxdBxdvGzBtipfaAarZMJ
https://bitcointalk.org/index.php?topic=336215 - Android Wallet Creation Service
techbytes
Legendary
*
Offline Offline

Activity: 1694
Merit: 1054


Point. Click. Blockchain


View Profile
October 29, 2013, 07:44:32 PM
 #11

As of this instant, my phone with my modified DGC android wallet is at block 511443 (18:32 Oct 29, 2013).  The code is stored locally and can be submitted for review later today.

Nice work!! 

Ahmed, pay the man...  Grin

-tb-

defaced
Legendary
*
Offline Offline

Activity: 2198
Merit: 1014


Franko is Freedom


View Profile WWW
October 29, 2013, 09:36:44 PM
 #12

Congrats!

Fortune Favors the Brave
Borderless CharityEXPANSEEXRAllergy FinderFranko Is Freedom
HashEngineering
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Independent Cryptoveloper


View Profile WWW
October 30, 2013, 07:01:35 AM
 #13

Hope it works; just transmitted the code changes.

GRS:  FrFpTbfEAni5Ruf8mNdwVQazJVJaQyEM2Y
BTC:  128Ptecsv4j6NoxdBxdvGzBtipfaAarZMJ
https://bitcointalk.org/index.php?topic=336215 - Android Wallet Creation Service
ahmed_bodi (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
November 02, 2013, 01:28:06 AM
 #14

paid

Bitrated user: ahmedbodi.
HashEngineering
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Independent Cryptoveloper


View Profile WWW
November 04, 2013, 03:48:27 PM
 #15

Thanks for the payment. 

Let's see if the app still works after the hard fork later today!

GRS:  FrFpTbfEAni5Ruf8mNdwVQazJVJaQyEM2Y
BTC:  128Ptecsv4j6NoxdBxdvGzBtipfaAarZMJ
https://bitcointalk.org/index.php?topic=336215 - Android Wallet Creation Service
techbytes
Legendary
*
Offline Offline

Activity: 1694
Merit: 1054


Point. Click. Blockchain


View Profile
November 04, 2013, 03:55:50 PM
 #16

At least we know you'll have a fix if it doesn't.   Grin


-tb-

jdebunt
Legendary
*
Offline Offline

Activity: 1596
Merit: 1010


View Profile WWW
November 04, 2013, 04:00:44 PM
 #17

a small, yet well deserved article has been posted on CryptoNerd :

http://majesti.co/cryptonerd/digitalcoin-android-wallet-update-screenshots/
DaanTry
Newbie
*
Offline Offline

Activity: 8
Merit: 0



View Profile
November 06, 2013, 07:04:21 AM
 #18

Great job!

I am trying to import my existing wallet into this App, but it fails.

- Used the 'dumpprivkeys' command in the digitalcoin-qt wallet to obtain my private key
- Pasted this private key into a text file
- Encrypted the text file using the following openssl command 'openssl enc -e -aes-256-cbc -a -in <filename> -out <other_filename>
- Moved the encrypted file to my phone
- Import the encrypted file using the 'Backup keys -> Import private keys' menu item (The created encrypted file shows up in the list of imports)
- The app rejects the keys with the message: "Private keys could not be imported: cannot read keys: com.google.digitalcoin.core.AddressFormatException: Mismatched version number, trying to cross networks? 158 vs 128 Bad password?"

Any clues?
HashEngineering
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Independent Cryptoveloper


View Profile WWW
November 06, 2013, 04:24:30 PM
 #19

- The app rejects the keys with the message: "Private keys could not be imported: cannot read keys: com.google.digitalcoin.core.AddressFormatException: Mismatched version number, trying to cross networks? 158 vs 128 Bad password?"

Any clues?

Yes, I have a clue.  There are two places in the code that have to be checked.  The Litecoin Wallet app had this same bug, which is probably where it came from.  This "Version number" prevents importing keys from another coin (like BTC) into DGC's wallet.

I can send this information to the guy in charge of the code later today.

GRS:  FrFpTbfEAni5Ruf8mNdwVQazJVJaQyEM2Y
BTC:  128Ptecsv4j6NoxdBxdvGzBtipfaAarZMJ
https://bitcointalk.org/index.php?topic=336215 - Android Wallet Creation Service
HashEngineering
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Independent Cryptoveloper


View Profile WWW
November 15, 2013, 04:24:52 PM
 #20

According to the post below, the main developer of the digitalcoin Android Wallet will be retired will be retiring this version in favor of a different wallet.

To that end, I have forked the more secure Bitcoin Wallet for Android and will adapt it to digitalcoin and publish the source and app when it is complete.  That should be in a few days time.

DGC Android Wallet Released and fully working!
https://play.google.com/store/apps/details?id=de.schildbach.wallet.digitalcoin&hl=en

Im always in #digitalcoin and #crypto-expert on freenode for support

However please note exchange rates in the wallet do not working i am in the process of fixing it. after this i am retiring maintaining the code since i would rather switch to electrum and make a litewallet and android wallet at the same time

Donations welcome @ D6tdmDCUkZEUaUyLx4dhZH992yTEJSL1tU or can be done inapp using the tip/donate button

GRS:  FrFpTbfEAni5Ruf8mNdwVQazJVJaQyEM2Y
BTC:  128Ptecsv4j6NoxdBxdvGzBtipfaAarZMJ
https://bitcointalk.org/index.php?topic=336215 - Android Wallet Creation Service
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!