Bitcoin Forum
May 29, 2024, 12:57:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 »
321  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: November 18, 2013, 07:13:04 AM
This is my new topic that concerns the new DGC wallet that I am working on.

https://bitcointalk.org/index.php?topic=336215
322  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: HashEngineering - Android Wallet Creation Service on: November 17, 2013, 02:04:15 AM
HashEngineering started aa copy/paste find/replace Android Wallet app creation service.  Currently we limit out work to previously made wallets by fixing bugs and maintaining the code and providing user support.

While we don't create android apps from scratch, we understand the C++ source code that defines the parameters that uniquely identify each coin.  These parameters include the hash functions, coin generation rules, the network protocols and ports, difficulty retargets, transaction fees, genesis block information, DNS seeds, checkpoints and even where to get data from the block explorers and exchanges.  This information is moved into a slightly modified Bitcoin Wallet / Bitcoin Java Library source code that allows for easy porting of a proven wallet to a new coin.

HashEngineering was created when there was a need to fix the digitalcoin android wallet to be compatible with the V0.2 and V1.0 forks.  We were further inspired when the digitalcoin android wallet developer announced that the standalone android app (it doesn’t require an online wallet) would no longer be maintained.  Therefore we decided to fork the Bitcoin Wallet (v3.22) and BitCoin Java Library (v0.11) to digitalcoin in such a way that the java source code could more easily be ported to other coins while requiring a minimal amount of changes.  A few lines of code were taken from the Litecoin Wallet (no longer available on Google Play) for the scrypt hash functions.

Currently the Bitcoin Client source and the Bitcoin Android Wallet source have the coin defining parameters sprinkled through out many C++ or Java files [Similar to the actual Bitcoin QT Client].  Our modification contains a Java class called CoinDefinition where all of these parameters are stored in one place.  

Code:
public class CoinDefinition {
    public static final String coinName = "digitalcoin";
    public static final String coinTicker = "DGC";
    public static final String coinURIScheme = "digitalcoin";
    public static final String cryptsyMarketId = "26";

The modifications to the Bitcoin Wallet code include sections such as this one that refer to the CoinDefinition:

Code:
public class MainNetParams extends NetworkParameters {
    public MainNetParams() {
        super();
        interval = INTERVAL;
        targetTimespan = TARGET_TIMESPAN;
        proofOfWorkLimit = CoinDefinition.proofOfWorkLimit;
        acceptableAddressCodes = new int[] { CoinDefinition.AddressHeader/*,0*/ };
        dumpedPrivateKeyHeader = 128 + CoinDefinition.AddressHeader;
        addressHeader = CoinDefinition.AddressHeader;
        port = CoinDefinition.Port;
        packetMagic = CoinDefinition.PacketMagic;
        genesisBlock.setDifficultyTarget(CoinDefinition.genesisBlockDifficultyTarget);

After this there is still a lot of Find/Replacing of the coin names that must be done to finish the port.  Since we began, we determined that we can reduce the amount of find/replacing by leaving all the bitcoin references in the code for page names, classes and methods.  Only the text needs to be changed and the graphics need to be updated.

What about Proof of Stake Coins?
Proof of Stake coins will require more code to be added to the Bitcoin Java Library (which now as been done by two independent developers).  Currently, the Android Bitcoin Wallet is setup as SPV - Simplified Payment Verification.  The App does not download the entire blockchain with all data on every block like the standard desktop client.  This is good for a mobile device, where bandwidth is at a premium.  Certainly no one would want to download the entire blockchain of Bitcoin to their phone (140 GB).  The Bitcoin android app only downloads the block headers (80 bytes) and then queries the other peers for other information on transactions.

The block header contains several types of data, but for this discussion the important data is the difficulty.  The Android Wallet will verify the difficulty of each block as each header is downloaded from the network.  Most coin forks have to do with difficulty code changes so this is an important thing to check.

A proof of work coin only has 1 type of difficulty per block, which is for the proof of work hash function.  The problem with Proof of Stake coins is that a block may be a Proof of stake block or a Proof of Work block.  Unfortunately, the block header does not contain the information to determine if the block is POS or POW.  More information is needed and that is the first transaction of the block.  The Bitcoin Java Library can be switched to a mode that downloads the full block information.  There will be other code needed to check what kind of block it is (POS, POW).  Other code will check to make sure the difficulty is correct for each block.  Additionally, other information is required to verify the coin staking.  This prevents the wallet from being a lightweight wallet.

Fortunately, some are working to get around the above issues.  One is for Peercoin.  It works in a similar way as the Bitcoin Wallet, but it does not verify blocks or block headers in the app, but submits requests to verify to a centralized server using a getvalidhashes API in an ABE based block explorer.  To date we have not been able to get this solution to work for other coins.  We don't do servers and rely on the others to do that and they have yet to deliver.
http://www.peercointalk.org/index.php?topic=1751.15 (links for source are here).  

Additionally a developer has created a Blackcoin Wallet, which uses a "Full Pruned" blockchain storage method.  
Java Library Source - https://github.com/janko33bd/bitcoinj/tree/blackcoinj
Wallet Source - https://bitbucket.org/janko33/bitcoin-wallet-4.16

Coinomi can also be forked for support a POS coin, but that does require electrum servers.

Looking at the APK file for the source code:
1.  One can use a Java Decompiler such as:  http://jd.benow.ca/#jd-gui-overview to open the .apk file.
2.  Most of the code is in the classes.dex file.  That can be opened by first extracting it using a Archive file viewer such as 7Zip () and then using this tool to convert it to a .jar file (https://code.google.com/p/dex2jar/downloads/detail?name=dex2jar-0.0.9.15.zip&can=2&q=).  Then use the java decompiler from step 1 to look at it.
323  Alternate cryptocurrencies / Marketplace (Altcoins) / HashEngineering - Android Wallet Creation Service on: November 17, 2013, 02:02:11 AM
Hash Engineering Solutions is currently working on the following android wallets.

Our code base is currently bitcoin-wallet 5.x.

Active Project Status

DASH - formerly Darkcoin
Recent Upgrade to Bitcoin Wallet 5.14.
https://play.google.com/store/apps/details?id=hashengineering.darkcoin.wallet
https://github.com/HashEngineering/dash-wallet/releases/
Source Code:
https://github.com/HashEngineering/dashj
https://github.com/HashEngineering/dash-wallet

Completed Projects - Updated when needed

GroestlCoin
Recent News:  This wallet is being updated to v5.24
https://github.com/HashEngineering/groestlcoinj (forked from https://github.com/bitcoinj/bitcoinj )
https://github.com/HashEngineering/groestlcoin-wallet (forked from https://github.com/bitcoin-wallet/bitcoin-wallet - v4.x)
https://github.com/HashEngineering/groestlcoin-wallet/releases/ (download the latest .apk file)
Google Play: https://play.google.com/store/apps/details?id=hashengineering.groestlcoin.wallet

Myriadcoin
First Beta Released.
Download:
https://github.com/HashEngineering/myriadcoin-wallet/releases/
https://play.google.com/store/apps/details?id=hashengineering.myriadcoin.wallet
Source Code:
https://github.com/HashEngineering/myriadcoinj
https://github.com/HashEngineering/myriadcoin-wallet


Completed Projects - No Longer Updated
Quark
Added the Dogecoin Sweep and a splash screen with video!
https://github.com/HashEngineering/quarkcoinj - Quark Java Library (for the Android App and possibly other software)
https://github.com/HashEngineering/quarkcoin-wallet - The Android Wallet Source code
Downloads:
https://github.com/HashEngineering/quarkcoin-wallet/releases/ (download the latest .apk file)
https://play.google.com/store/apps/details?id=hashengineering.quarkcoin.wallet

Megacoin
The Kimoto Gravity Well is very slow.  Found a to add Native Code to optimize with only 100% speed improvement.
https://github.com/HashEngineering/megacoinj
https://github.com/HashEngineering/megacoin-wallet
https://github.com/HashEngineering/megacoin-wallet/releases/
https://play.google.com/store/apps/details?id=de.schildbach.wallet.megacoin (no longer on Google Play)

Infinitecoin
https://github.com/HashEngineering/infinitecoinj
https://github.com/HashEngineering/infinitecoin-wallet
https://github.com/HashEngineering/infinitecoin-wallet/releases/  (download the latest .apk file)
https://play.google.com/store/apps/details?id=de.schildbach.wallet.infinitecoin (no longer on Google Play)


Franko - Based on version 0.8.5.4 (with modified Kimoto Gravity Well - FGW)
https://github.com/HashEngineering/frankoj
https://github.com/HashEngineering/franko-wallet
https://github.com/HashEngineering/franko-wallet/releases/  (download the latest .apk file)
https://play.google.com/store/apps/details?id=hashengineering.franko.wallet (no longer on Google Play)


Digitalcoin
Recent News:  Upgraded to version 3.0 (3 algorithms)
https://github.com/HashEngineering/digitalcoinj
https://github.com/HashEngineering/digitalcoin-wallet
https://github.com/HashEngineering/digitalcoin-wallet/releases/ (download the latest .apk file)
Google Play: https://play.google.com/store/apps/details?id=hashengineering.digitalcoin.wallet

Namecoin
Recent News:  It does not support any of the "name"-ing services.
https://github.com/HashEngineering/namecoinj
https://github.com/HashEngineering/namecoin-wallet
https://github.com/HashEngineering/namecoin-wallet/releases
https://play.google.com/store/apps/details?id=hashengineering.namecoin.wallet (no longer on Google Play)

A forum has been set up for android developers at:  http://www.hashengineeringsolutions.com/forum

Which coins need android wallets?  Only these hash algorithms Proof Of Work coins can be ported at this time.  Proof of Stake coins will require much more coding (http://www.peercointalk.org/index.php?topic=1751.15).  We can make coins that use other hash functions as well.

Hash algorithms that we have translated into Java: - mainly just putting together existing pieces of code
Quark (Java and Native)
Qubit
X11 (Java code for the individual hash functions was already available, native).
Skein
Groestl

Difficulty Adjustment Algorithms
KimotoGravityWell (Java + Native/Java Hybrid)
FrankoGravityWell (Java + Native/Java Hybrid)
DarkGravityWave (all three versions)
Freicoin method (used in Megacoin)
PPCoin method (used in IFC)
Variations of the Bitcoin method
324  Alternate cryptocurrencies / Altcoin Discussion / Re: FRC GIVEAWAY - 1000 FRC on: November 16, 2013, 05:49:42 PM
18WmggimiXDBXQBZtRzuPbyQ1qzhkbYKz5
325  Alternate cryptocurrencies / Altcoin Discussion / Re: [* GIVEAWAY *] FREE RED COINS to FIRST 100 POSTERS! (10 FREE RED) on: November 16, 2013, 05:25:27 PM
RsEnX7HSZz4VNXaEzGPuZNK33b2xzD3m7y

Thanks.
326  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: November 16, 2013, 03:51:52 PM
nice one hash engineering, i was planning on forking electrum and accomplishing 2 goals (lite wallet + android wallet with 1 set of code)

Great.  I look forward to seeing the electrum based wallet.  Soon enough the users of digitalcoin will have several mobile options.
327  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: November 15, 2013, 04:24:52 PM
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
328  Alternate cryptocurrencies / Altcoin Discussion / Re: GLX Galaxy or GLD Gold which one would I buy, an Analysis. on: November 12, 2013, 03:32:29 PM
How is that haircut working out for the GLX buyers? 

if 480 was a good price, how about 20 to 25?
329  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: November 06, 2013, 04:24:30 PM
- 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.
330  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: November 04, 2013, 03:48:27 PM
Thanks for the payment. 

Let's see if the app still works after the hard fork later today!
331  Alternate cryptocurrencies / Altcoin Discussion / Re: 50,000,000 ADT givaway on: October 31, 2013, 01:34:49 PM
23n5TzF1QLsf4YS41Bxu8aowEsaTucPMny
332  Alternate cryptocurrencies / Altcoin Discussion / Re: [ZET] Zetacoin Giveaway - 5 ZET per person on: October 31, 2013, 01:32:04 PM
ZFXGtZL44XkKDCdt2D1AqVbk358r9sBDEv
333  Alternate cryptocurrencies / Altcoin Discussion / Re: {ARG}{DGC} Multi-coin GIVEAWAY! on: October 31, 2013, 01:26:46 PM
ARG:  AFs6Cnco23XnroLEfVfB46JmRpUWoMo5uS

DGC:  DREj4WPJ63BrBSN6eZTfC6puH6J5JBosgJ

thanks.
334  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Announcing Galaxycoin - GLX, the new PoW/PoS coin, no premine! on: October 31, 2013, 01:24:12 PM
I don't see it on Cryptsy either.
335  Alternate cryptocurrencies / Altcoin Discussion / Re: [20,000,000 COL GIVEAWAY] Receive 20,000 COL for free/ Now on Cryptsy on: October 31, 2013, 04:16:21 AM
zsDuH7dZrCvoZ3b7PHxqpBLsm3SDZSPiE

nice!
336  Alternate cryptocurrencies / Altcoin Discussion / Re: CRAZY Pennies giveaway 1,000,000,000 divided between CENT addy posters! on: October 31, 2013, 01:13:30 AM
PAftB8xsC7z1eoHuufr2XQ29xLDsMKcBia

Which number am I? lol.
337  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: October 30, 2013, 07:01:35 AM
Hope it works; just transmitted the code changes.
338  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: October 29, 2013, 07:23:40 PM
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.
339  Alternate cryptocurrencies / Altcoin Discussion / Re: DGC Android Wallet on: October 29, 2013, 03:13:32 PM
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
340  Other / Beginners & Help / Re: What does this mean? on: October 29, 2013, 07:23:19 AM
Yes, that is it!
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!