create account

RE: Gridcoin Web Wallet and Android App Alpha by crt

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @grider123/re-crt-re-grider123-re-crt-gridcoin-web-wallet-and-android-app-alpha-20171227t115350107z

· @crt · (edited)
Hey @grider123,

You are right, I am currently looking into possible frameworks to achieve that. The current version is a webview, as you noticed, and as you suggested, the Idea is to move it to API approach. Since I am "old school" unix type, i'll need some time to get inline with all these new technologies, but thanks for pointing me.

If you would like to build an android APP, i would be happy to make a class that would expose RPC calls via HTTPS. (the back-engine is RPC, i did not invented any hot water here.)

Make me a list of calls that you need, and a github repo you would like to start, and I'll make a class and publish it there. The class woulld be able to communicate with my node or any other. This way we can start a migration from webview to API based approach. I would be happy to make an RPC to API as per need of application. Later this class could be used in many other projects and web apps.
properties (22)
authorcrt
permlinkre-grider123-re-crt-re-grider123-re-crt-gridcoin-web-wallet-and-android-app-alpha-20171227t134549996z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1","users":["grider123"]}
created2017-12-27 13:45:51
last_update2017-12-27 13:46:06
depth4
children2
last_payout2018-01-03 13:45:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length918
author_reputation2,296,710,635,725
root_title"Gridcoin Web Wallet and Android App Alpha"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id25,515,230
net_rshares0
@grider123 ·
Cool! I will start putting something together with ionic in february when I have more time. When I'll get somewhere I will get back to you so we can work out the backend stuff. Don't know if I'm a good enough developer to get somewhere in reasonable timeframe...
Just a quick question: the username/password is stored in your backend and when loggingin the system fetches the private key usw?
properties (22)
authorgrider123
permlinkre-crt-re-grider123-re-crt-re-grider123-re-crt-gridcoin-web-wallet-and-android-app-alpha-20171227t142814585z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-12-27 14:28:15
last_update2017-12-27 14:28:15
depth5
children1
last_payout2018-01-03 14:28:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length392
author_reputation107,965,352,035,530
root_title"Gridcoin Web Wallet and Android App Alpha"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id25,522,056
net_rshares0
@crt ·
Looks great! let's catch once you can start. As for the login, at the moment, private key is generated out of the combination of username and password, while validity is checked against the database. This approach is similar to bit39 method although I am using self made function. 

The backend stores address only, and tries to decrypt it with private key derived from username and password. If unsuccessful, login fails.

This part needs to be changed before releasing anything on main network as it's not secure enough yet, nor properly tested. I am currently looking into existing libraries that are proven against security risks in order to replace the self-made function with something more reliable.

As for the default login, it's intentionally leaved that way so everyone can login and take a look without having to register.
properties (22)
authorcrt
permlinkre-grider123-re-crt-re-grider123-re-crt-re-grider123-re-crt-gridcoin-web-wallet-and-android-app-alpha-20171227t154005030z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-12-27 15:40:06
last_update2017-12-27 15:40:06
depth6
children0
last_payout2018-01-03 15:40:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length834
author_reputation2,296,710,635,725
root_title"Gridcoin Web Wallet and Android App Alpha"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id25,533,533
net_rshares0