Dev Log - Breakthroughs This Week Enable for the Building of Hive.Loans Contracts on Top of the Upcoming Hive Smart Chain EVM. HSC is Operational but Privately Being Tested.

in #dhf3 years ago

image.png

Certainly put some long hours in this past week on the development side of things, with the Hive.Loans and HSC projects both seeing some work completed on them. Finally got HSC Node executable listening to the HIVE blockchain which will allow for the cross chain aspects of HSC to be built out to facilitate the first set of application contracts that will run on theside chain, belonging to the Hive.Loans project that should be online sometime next month. Quite an exciting week.

Hive.Loans Going Decentralized

While the initial concept of Hive.Loans didn't take into account that the HSC would be developed for it to run on at the time of inception, now that our HIVE network will soon be getting a properly decentralized sidechain capable of running industry standard smart contracts written in Solidity (and other languages!) the bulk of the heavy lifting the service will have to perform will see a shift from a centralized base of operation to a decentralized contract based one.

Some things such as sensitive account permission scope keys and other data aren't suitable for storage on chain, regardless of layers of encryption used, and thus will remain stored on private secured centralized databases under my control, but this is up until some universally accepted method of storing encrypted data for later recovery on the sidechain state has been established. The goal is to eventually have all aspects of Hive.Loans decentralized, right down to the web servers, but for version 1.0.0 launch this likely isn't going to be the case.

The release goal is still the middle of next month so will be kicking development of Hive.Loans into high gear and have an invitation for public testing going out here in the next week or two. Will certainly need help testing this site here in the upcoming future and would greatly appreciate any help. Certainly not a godlike software engineer by any means but with community support I'll try my damndest to build applications that increase the likelyhood of our community succeeding.

Currently the site isn't serving as much more than a placeholder but we'll start testing as soon as it's feasible in order for the community to come in and hopefully discover any issues before launch.

Hive Smart Chain Development Progress

image.png

While still quite early in it's development cycle the HSC project is seeing some great progress in terms of becoming an operational EVM capable side chain utilizing HIVE as it's gas and mining currency, having this week been brought to the point where a proof of concept can soon be released, albeit still unfunded by DHF. Hoping to procure the DHF funding in the next week in order to be able to not only offset costs of development of the entire thing but also have some capital kicking around to pay other developers who would like to come in and contribute to the code base.

For more information on the Hive Smart Chain please check out the proposal linked below:

Hive Smart Chain - DHF Proposal #164

Tonight I'll be implementing the first true cross chain commands into HSC and from there move on to building out the Hive.Loans logic into a set of smart contracts that will launch on the platform prior to it being publicly available. If you're interested in being a pioneer of the Hive Smart Chain project and wish to get involved running nodes on the testnet as well as deploying your own smart contracts to this new upcoming full fledged industry standard smart chain then please comment below. As development is moving at an alarming rate this will require quite constant compiling and syncing with the current git in order for your node to be compatible.

It's not uncommon for a handful of updates to the HSC client or it's protocol to happen daily so be forewarned this isn't some set and forget type thing this early in development but rather something that is going to consume some time and take some effort.. Almost certainly not something a non developer need bother with. Basically this include only the most enthusiastic of crypto nerd.

A quick mention here but I'm also working to include Hive Power and HBD equivalents natively into the HSC project rather than have them added as ERC-20 type tokens later. The school of thought behind this is that by mirroring all of the native currency on HIVE itself that the interoperability between chains will be greatly improved, allowing for more natural and less clunky user experience down the road as the goal of seamless and intuitive HIVE <-> HSC operations is kept at the forefront of the build. Tons of extra work, but honestly in the end I think this will all be worth it.

Please consider voting my witness, voting the proposal and help spreading the word about this and other projects on HIVE in order to support future development. All of the support I receive is greatly appreciated and then in turn focused back towards the community to make it more prosperous.

( Post Reward is Set to 100% Hive Power to Help Rebuild HP After Powering Down to Fix the HR Incident )


image.png

Vote KLYE for Witness, Every Single Vote Helps, Thanks for the Support!

Need to get in Contact with KLYE?
Join the Official #KLYE Discord Server Today!


image.png
Looking for an Affordable, Secure & Reliable Server Host for Your Witness Server or Other Web Related Projects? Check out Privex.io!

Sort:  

Hey there! I would be glad to help by spinning up a test-node. 😁

P.S. I tried using the hsc-cli (both on "native" Windows and on Linux, with WSL) but got command not found: hsc-cli. Not sure if I should be copying something manually after running npm i hsc-cli -g.

Edit #1: I also tried make install on the klyed/hivesmartchain repo but couldn't do it. Not sure why, as I can make install the hyperledger/burrow repo normally. Couldn't spin it on docker (with docker-compose up) too (I'm not the smartest one 🤓).

Oh yeah! The "hsc-cli" app isn't quite ready yet, it's not even natively included with the software just a bonus program I'm modifying to help users get their nodes going!

I likely fucked up the rebranding and need to have a look at it to fix it. Will do so tonight. Slept in today so just getting to work now.

Not got the docker stuff working yet as it points to an non-compiling directory. Maybe tonight I'll focus on that!

I'll try and get those repositories ready for human usage here tonight!

Nice! I will keep stalking your Github repos till then. 😝

Will try to pivot back over to HSC and Loans here in a bit. Trying to get this HR maintenance and patching done.

Dude, I’m all about this! Screw BSC and the traitors that went over there. 😛 Any speculation on the trx costs?

!BEER
!ENGAGE

Comment 66/500

Transaction costs will be super low. Except for on functions that store data directly on the chain.. I'm artificially inflating those to deter people from using the HSC as a database and making the node operating costs infeasible.

I probably won't have time to run a test node but I'm watching the project and I wish you well!

<3 highly appreciated captain.

I feel like you've been leading us on.

Some things such as sensitive account permission scope keys and other data aren't suitable for storage on chain, regardless of layers of encryption used, and thus will remain stored on private secured centralized databases under my control, but this is up until some universally accepted method of storing encrypted data for later recovery on the sidechain state has been established.

^ that is not gonna work! U cannot keep everyone's keys on some centralised server, at your house? OMG I can see it now... you do a post that the server with all the keys got stolen. It happened on hive-roller, it got hacked, thus chances are this will get hacked too.

Unless u can decentralise everything somehow, I just don't think this is gonna work!

I personally would never use it and send my keys to trust that someone else holds them well??
Things like what if a tornado hits, natural disaster at your house, or a thief. I'm sure your neighbour will steal it if he knows about it!

Keep working on it, there must be a better solution!

What happened on hive-roller was a bad security hotpatch that reset accounts to a valid state of security.. Allowing a user to stack up withdrawals and log in and out in order to bypass security. They never breached the server nor got into data, it was merely a function of security being nullified by a hotpatch I'd done prior. :/

I don't deal data from my house and once a proper AES encryption method for on chain storage that can't be cracked easy is formulated everything moves that way implementation wise..

Right now as it sits using a hybrid AES-256 and PGP encryption for keys.

An alternative method I've thought up is to heavily encrypt the new set of keys and then provide the user with that at the start of the loan.. Then give them the password once complete.

The goal is to eventually have not human access to keys whatsoever, and like you said, decentralize everything.

Your doubt kind of took me off guard to be honest. Tis healthy to have doubts though I guess, Thanks for raising your concerns man. I'm literally building the infrustructure to make Hive.Loans possible with HSC.. I'd appreciate it if you not FUD and slander my projects and cast libel at me.. :/

Thank you for your engagement on this post, you have recieved ENGAGE tokens.


Hey @klye, here is a little bit of BEER from @definethedollar for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

Great news!