[DEV] Mobile Android and iPhone wallet app application Developments
-
Hi Friends.
I think is a good idea to put urgently the link https://play.google.com/store/apps/details?id=com.feathercoin.wallet into the home page of our site.
When new visitors browse the home page, find no nothing about the android wallet, and think our coin are no android supported.
Thank you very much.
::)Looks like iawgoM will be able to get it sorted in the coming days. Good spot and +1
-
Perfect! Thank you very much!
:)
-
Any iOS saavy developers out there? Coin Pocket a wallet for BTC hit thd AppStore yesterday. Here is the open source code:
https://github.com/enriquez/coinpocketapp.com -
I just started the Android and java stuff some weeks ago.
No experience with IOS, sorry
-
windows phone? Anybody can develop?
-
If you could that would be epic ahy!
-
Are there any changes to the android wallet Needes to deal with NeoScrypt?
Or maybe it’s in FeathercoinJ?
-
Yes, the android wallet needs to be adapted for neoscrypt.
Any help is highly appreciated.
Volunteers please contact me via pm
-
Excellent guys.
Keeping the android wallet up to date and running should be one of the priorities for the algo change.
-
The Android wallet still is not prepared for the Neoscrypt fork.
As the date for the move to Neoscrypt comes closer, we need to implement the Neoscrypt module in the Android wallet or it will not work anymore after the fork.
Are there any coders willing to help?
reply here or send me a PM
-
I’ll put up 0.5btc for the job.
And if you do something really stellar with the wallet I’ll double it depending on what extra you’ve put in.
-
I think what really needs sorting is the feathercoinj project which is the part that talks to the Feathercoin network. The wallet would then just need to include the new version of that to work.
But it could be quite a job? I am willing to help any way I can but its taking out the scrypt algo and including the NeoScrypt one or writing a Java implementation. -
As far as I found there are a couple of steps to do:
- create a neoscrypt module as it already exist for scrypt. It should be a c-compiled librady for android. The existing scryp module tries to load the library and if that fails it executes the scrypt function in java. the java object is: com.lambdaworks.crypto.SCrypt the link to the existing scrypt module on guthub is: https://github.com/wg/scrypt/blob/master/src/main/java/com/lambdaworks/crypto/SCrypt.java May be that gives an idea what needs to be done.
- modify the file block.java in feathercoinj to execute scrypt hashing for blocks < 432,000 and neoscrypt hashing starting at the 432,000
- modify tests I’m not sure, if step 3 is really needed. I hope I got the major steps I will grant access to the feathercoinj repo on github so we can work together.
-
I spent an hour or two last night banging my head against a wall trying to get feathercoinj compiled in ecplise. (without any code changes)
I got the code from Hanks Github (Is this the correct repo?) and attempted to build it as a maven project but there seems to be alot of missing dependencies which mean it wont compile.
I tried manually adding some of the dependences but without much luck. Also the tests wont compile because of some odd issue with the test params.
So I canned it for now I will try again tonight if I get a chance.
It really should not be this hard lol
…EDIT: Looks like the project was setup in intellij originally so I may install that tonight when I try.
As it may well work out of the box with that IDE.
-
I used Android studio to compile and feathercoinj from here:
https://github.com/wellenreiter01/feathercoinj
Feathercoin-Wallet for android is here in case you need it:
https://github.com/wellenreiter01/feathercoin-wallet-2
the test section is broken, so I compiled without-test
But I agree, setup and compile the first time is a pain… :-
-
Thanks for the pointers.
I’ll give that a shot!
:) -
OK Im compiled and im starting to look at what has to be done. Its quite a task. :)
Right in Block.java I have identified one placewe need to check the block number to either hash with scrypt ot neoscrypt.
it is in checkProofOfWork() (around line 600 or so) as at the moment it is always calling these methods
getScryptHash() and getScryptHashAsString()
rather than my new methods (cunningly named I think)
getNeoScryptHash() and getNeoScryptHashAsString() (genious lol)
So What I need is a way of either checking what the number of this block is or what the previous block is and all I can see is a hash of the pervious block? Any Ideas ?
-
Check wallet.java, line 1181.
The block object has a procedure ‘getHeight’ :)
Based on the height, you could add a flag to the call of checkProofOfWork() forcoing it to use getScryptHash() or getNeoScryptHash()
-
Perfect thanks wellenreiter :)
-
I used Android studio to compile and feathercoinj from here:
https://github.com/wellenreiter01/feathercoinj
Feathercoin-Wallet for android is here in case you need it:
https://github.com/wellenreiter01/feathercoin-wallet-2
the test section is broken, so I compiled without-test
But I agree, setup and compile the first time is a pain… :-
I have a problem for compile feathercoinj :
D:\FTC\andriod\feathercoinj-master>mvn clean package
[INFO] Scanning for projects…
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.google:feathercoinj-tools:[unknown-version] (D:\FTC\andriod\feathercoinj-master\tools\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact com.google:feathercoinj-parent:pom:0.96-SNAPSHOT and ‘parent.relativePath’ points at wrong local
POM @ line 21, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException