create account

DevLog #4 - Next Version Coming Along. by klye

View this thread on: hive.blogpeakd.comecency.com
· @klye ·
$1.36
DevLog #4 - Next Version Coming Along.
![image.png](https://files.peakd.com/file/peakd-hive/klye/3PmDE01n-image.png)

In this 4th installment of the Hive.Loans developer log after a less than optimal working week getting a bit closer to being confident in the v0.0.8 pre-alpha release. Due to the inherent danger of pushing a codebase online that has the potential to do serious damage to accounts not paying attention and accidently signing their keys off. The lending contract system itself is about half done I would say and while I've managed to do a few successful test contracts in testing the entire system itself still needs a fair amount of work in order to not pose a potential risk to testers accounts.

The goal is by this time next week to have the new v0.0.8 out in the wild for people to do some testing on dummy accounts but we'll see what happens. Still tons to do before that becomes a reality and there is no way in hell that I'm going to push the v0.0.8 online until it's safe.

A somewhat complete list of what needs to be done before I push the v0.0.8 site to the web server is currently looking like what is posted in the code block below. Trying to knock of entries daily.

```
================
----------------
The To-Do List
This list is a best guess on what needs done before the next version of the site goes live (v0.0.8)
It may not include everything that needs done to safely operate the site as an alpha test..
----------------
================

================
Profile Page
================
- profile needs to properly parse metadata and have defaults if none found

================
Wallet Page
================
- transaction history on wallet page needs to be implemented. (new popup or extend current?)

================
Tool Page
================
- add active lend check on local account recovery Manager
- finish (or hide for now) the secure escrow instance

================
Lending Page
================
- fix cancel button being way too large ✔️
- clean up the @null display for deployed but not accepted contracts
- fix / finish up the click contextMenu.js menu, add greater filtering for menu items
- make the "create new lending contract" table not look like ass, ensure the days have default 7 value
- put client side balance display and HP credit balance. Add logic to not show accept for contracts too high for account
-

===============
Settings Page
===============
- add emergency withdrawal address

===============
Surrender panel / accept loan contract
===============
- fix width of account surrender / claim contract table width
- ensure that new posting, active and memo scope keys given when claiming contract

===============
Alert / Confirm Popup
===============
- Finish implementing the toggleable in settings alert popup for critical actions

===============
Mobile Version
===============
-Just like.. everything

```

<center><h1>Trying to Balance Information and UI Clutter</h1></center>


<center>![image.png](https://files.peakd.com/file/peakd-hive/klye/16gknU4S-image.png)</center>


For a somewhat complexed system such as the Hive.Loans service there exists a battle between showing the user too much information and not enough. The hope with the site is that it will be simplistic and intuitive enough to have users be able to navigate easily and make informed actions based on what is available to them on site, but also be able to deep dive for information and get access to all pertaining data involved with contracts if they so choose to query it. The ability to filter the contracts lists will be a huge part moving forward as hundreds or thousands of lending contracts are created, deployed, accepted, cancelled and run through their course. 

A large amount of information will be generated on an off chain and aggregating it while displaying it in a non-overwhelming manner will certainly be an objective of this service build.


<center><h1>Security as an Integral Function, Not an Afterthought..</h1></center>

<center>![image.png](https://files.peakd.com/file/peakd-hive/klye/L63z9EoR-image.png)</center>

When dealing with sensitive data such as account passwords and owner keys you have to be thinking 3 or 4 steps ahead of a would be attacker. While coming off as paranoid to some the assumption that an unknown actor could be eavesdropping in on a connection is a potentially very real threat. The Hive.Loans site will use client and server side encryption in a number of different scenarios that will happen frequently on site such as when borrowers hand over their owner scope keys or master password. 

The site will make some usage of PGP keys generated on the fly in order to add another layer of protection against MITM (Man in the middle) eavesdroppers potentially listening in on things.


![image.png](https://files.peakd.com/file/peakd-hive/klye/4og497ld-image.png)

By assuming that the very worst is going on security wise and building the system around the idea people are very likely going to try to sniff traffic for keys by designing the system to put in an honest effort to thwart such data leakage it's hoped it will close that avenue thus protecting users.

Still lots of stuff left to implement, test and finalize but the project is starting to take shape in the local development wing. When I'm confident it's not code that would be put out there and cause damages it'll be uploaded. There is no room for error in this sort of thing when dealing with accounts. Will be putting some hours into the project over the weekend hopefully and when the next update is ready to go it'll be put live both on the web server and on github.
<center>
Thanks a bunch for reading, voting, the comments and the support. <3</center>

<hr>

<center>[![image.png](https://files.peakd.com/file/peakd-hive/klye/kSugxl8n-image.png)](Https://www.Hive-Roller.com)<h3><a href="https://vote.hive.uno/@klye"><sub>Vote KLYE for Witness, Every Single Vote Helps, Thanks for the Support!</sub></a><br><br><b><i>Need to get in Contact with KLYE?</i></b><br><a href="https://discord.gg/mtwvCpS" rel="noopener" title="This link will take you away from steemit.com">Join the Official #KLYE Discord Server Today!</a></center></h3><br><sub><a href="https://pay.privex.io/order?r=klye">![image.png](https://files.steempeak.com/file/steempeak/klye/LrNonZ6Y-image.png)</a><br>Looking for an Affordable, Secure & Reliable Server Host for Your Witness Server or Other Web Related Projects? Check out Privex.io!</sub>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorklye
permlinkdevlog-4-next-version-coming-along
categorydhf
json_metadata{"app":"peakd/2021.01.3","format":"markdown","tags":["dhf","blog","coding","life","hive-dev"],"users":["null","klye"],"links":["Https://www.Hive-Roller.com","https://vote.hive.uno/@klye","https://discord.gg/mtwvCpS","https://pay.privex.io/order?r=klye"],"image":["https://files.peakd.com/file/peakd-hive/klye/3PmDE01n-image.png","https://files.peakd.com/file/peakd-hive/klye/16gknU4S-image.png","https://files.peakd.com/file/peakd-hive/klye/L63z9EoR-image.png","https://files.peakd.com/file/peakd-hive/klye/4og497ld-image.png","https://files.peakd.com/file/peakd-hive/klye/kSugxl8n-image.png","https://files.steempeak.com/file/steempeak/klye/LrNonZ6Y-image.png"]}
created2021-02-27 06:33:24
last_update2021-02-27 06:33:24
depth0
children1
last_payout2021-03-06 06:33:24
cashout_time1969-12-31 23:59:59
total_payout_value0.720 HBD
curator_payout_value0.635 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6,444
author_reputation401,073,947,379,813
root_title"DevLog #4 - Next Version Coming Along."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,088,996
net_rshares4,115,505,828,990
author_curate_reward""
vote details (29)
@coininstant · (edited)
Nice work, looking real good!! Especially glad you are taking all the precautions for security. I think the test accounts are key too, take your time, no need to rush. Maybe for security an 2fa could be enabled, or like a twilo sms message to add extra layers of security too, and multiple encryption key points like how apple does it. We always have to verify from a device that's linked up. Could be an option.
# Wow it seems like every update you make about HIVE.LOANS, and HIVE mewns! That is a great sign!! Keep it up!!
👎  
properties (23)
authorcoininstant
permlinkre-klye-qp8dr1
categorydhf
json_metadata{"tags":["dhf"],"app":"peakd/2021.01.3"}
created2021-02-28 08:47:24
last_update2021-02-28 08:54:42
depth1
children0
last_payout2021-03-07 08:47:24
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_length524
author_reputation84,997,162,385,253
root_title"DevLog #4 - Next Version Coming Along."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,105,934
net_rshares-5,130,457,109
author_curate_reward""
vote details (1)