____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Decentralizing Hive dApps: HBD Potato

BY: @fbslo | CREATED: Dec. 26, 2020, 8:22 p.m. | VOTES: 163 | PAYOUT: $21.92 | [ VOTE ]

Decentralizing Hive dAppsHBD Potato

This is the first (and hopefully not last) part of my new series Decentralizing Hive dApps. I will try to find solutions (and also implement them) for some centralized Hive projects and dApps (mostly where community funds could be at risk).

Today, we will take a look at HBD Potato (@hbdpotato). It's a project dedicated to keeping HBD pegged to 1 USD.

To achieve this, it's selling HBD on the internal market, converting it to HIVE, and repeating this circle until the HBD peg is achieved. Funds required for this operation were raised by daily posts and from the DAO proposal, so they belong to the community (keep this in mind, we will get back to this later).

[IMAGE: https://images.hive.blog/DQmTkGkk7rJzrhXyYbedjPwp6YphchkqfzqCaGe9rC34QSE/slika.png]
Photo from @themarkymark's post

HBD Potato (called SBD Potato back then) started back in November 2019 on Steem and it has a nice chunk of HIVE (and STEEM), around 300k STEEM and 200k HIVE.

You might be curious now, what does this have to do with decentralization? Well, let's take a look at how is @sbdpotato doing its job back on Steem.

[IMAGE: https://images.hive.blog/DQmUcE9Z34gaHxPLTyvKK34jSf2Z8bHiq9swr6EMxdVkRKQ/slika.png]

Strange, it's not converting funds or trading on the internal market (that's normal since SBD is above $1). But instead, it's funds are powered up and delegated using a dLease.io marketplace.

Most of you know dLease.io is a for-profit project. It's charging a 10% fee! And who is operating it?

@thecryptodrive, the same person running HBD /SBD Potato project.

>As custodian of this project I, @thecryptodrive, will not derive any monetary value therefrom and undertake this under my duty as Steem consensus witness and ambassador.
source

It seems to me that making 10% from any lease is definitely deriving monetary value. Just because Steem is centralized shit, the rules of SBD potato are no different. It's still a community project and funds shouldn't be used for any private gain.

I think it's clear funds are not used as they should be.

How can we prevent something like this from happening on Hive?

The core cause of something like this is centralization. If multiple community members would have to approve transactions, such misuse of funds would be much harder to achieve.

Well, Hive has one feature I'm fascinated (& obsessed) with: Multisignature

It's possible to set up an account that can only transact if the transaction is signed by multiple keys. This is also the core idea behind Wrapped Hive 2.0.

But HBD Potato is transacting a lot, no one wants to be manually signing transactions. Well, we can just create an app that will do this for us.

On this Christmas eve, I spent a few hours writing a validator and then modifying @hbdpotato's existing code to be compatible with validators.

How does it work? Every time the main app is trying to trade/convert coins, it will have to request signatures from different "validators". It's a much simpler system than Wrapped Hive, since adding validators is still manual. Validators will check only 2 conditions:

If both conditions are true, it will sign a transaction and return the signature to the main app, where it's then broadcasted to Hive blockchain.

Validator: https://github.com/fbslo/hbdpotato-validator
Fork of main app: https://github.com/fbslo/hbdpotato
Pull request: https://github.com/stoodkev/hbdpotato/pull/5

I also did some testing with 3 validators and it's working like a charm: https://hiveblocks.com/tx/78c108104eb285fa7993aeefff5466307f575f25

My account @whive.testnet-1 also has declined owner authority, so there is no way for it to transact without the approval of 2/3 of its multisig authorities.

Even just one or two validators would increase the security of a such project a lot. I'm already running validator at https://hbdpotato.fbslo.net (with @fbslo-b account)

My goal is to prove that decentralization does not have to be that hard & complicated (and to show how can problems be solved), not attacking the operator of HBD potato or any of his projects.

@fbsloIf you like my work, please support me by voting for my Hive Witness[IMAGE: /@fbslo/witness-re-announcement]

TAGS: [ #hbdpotato ] [ #decentralization ] [ #hivedevs ] [ #dhf ] [ #teamslovenia ]

Replies

@themarkymark | Dec. 26, 2020, 8:32 p.m. | Votes: 8 | [ VOTE ]

I made a post a few weeks ago requesting @thecryptodrive to return the funds to the DHF, at the time I didn't even know he powered up the Steem on Steem and was using it to profit with his dlease project.

https://i.imgur.com/sYPIOvj.png

So now he had over 200K on both Steem & Hive and he obviously only cares about Blurt at this point.

[IMAGE: https://files.peakd.com/file/peakd-hive/themarkymark/iN4LhmhC-image.png]

As usual, he will just complain everyone is picking on him.

@rishi556 | Dec. 26, 2020, 8:54 p.m. | Votes: 0 | [ VOTE ]

Associating with him is a bad idea at this point.

@cadawg | Dec. 26, 2020, 11:26 p.m. | Votes: 2 | [ VOTE ]

Thanks for doing this. It's clear some high ranking witnesses ahem cryptodrive ahem are not as trustworthy as the almighty "code is law". Thanks for helping to decentralise hive, it's awesome that you've devoted your time to this, and it amazes me what some people can do with code. Major respect to you.

@theshaki | Dec. 27, 2020, 2:33 a.m. | Votes: 1 | [ VOTE ]

!tan !wine

@tan.bot | Dec. 27, 2020, 2:33 a.m. | Votes: 0 | [ VOTE ]

Congratulations, @theshaki You Successfully Trended The Post Shared By @fbslo.
You Utilized 2/3 Daily Summon Bot Calls.

TAN Current Market Price : 2.000 HIVE

@wine.bot | Dec. 27, 2020, 2:34 a.m. | Votes: 0 | [ VOTE ]

Cheers, @theshaki You Successfully Shared 0.100 WINE With @fbslo.
You Earned 0.100 WINE As Curation Reward.
You Utilized 3/3 Successful Calls.

WINE Current Market Price : 0.000 HIVE

@ash | Dec. 27, 2020, 8:14 a.m. | Votes: 1 | [ VOTE ]

yikes...

@enforcer48 | Dec. 27, 2020, 10:25 a.m. | Votes: 2 | [ VOTE ]

It was comical more work was not done on making multisig more user friendly in the first place anyways.

But hey, most of us are not in charge anyhow.

@poshbot | Dec. 27, 2020, 5:13 p.m. | Votes: 0 | [ VOTE ]

https://twitter.com/ChrisRiceXYZ/status/1343243697010274304

@whatsup | Dec. 27, 2020, 6:05 p.m. | Votes: 2 | [ VOTE ]

Define private gains.

The fund pays blocktrades (I'm not opposed to this) who also has a business which we don't own and I'm certain is profitable.

I've never been a fan of the potato/spud project, but I think proposals should be judged by their value to the platform vs. whether or not the person doing the work is making money. Hive is not a charity.

@fbslo | Dec. 27, 2020, 6:08 p.m. | Votes: 1 | [ VOTE ]

Funds were not paid from DAO to make money or to pay for service/work. The only purpose was to keep the HBD/SBD peg by converting/trading them. But instead, community-owned funds are used for something else.

Blocktrades is paid for his work on Hive, while HBD Potato is a non-profit project (at least it should be, based on promises by its operators).

@enforcer48 | Dec. 27, 2020, 10:13 p.m. | Votes: 0 | [ VOTE ]

Lol that's like peeps trusting @ned's words about “community funds”.

Words are worthless. Try code next time. Can't fall for the same schtick multiple times.

@nealmcspadden | Dec. 27, 2020, 10:19 p.m. | Votes: 0 | [ VOTE ]

It's not community owned though. Once money is handed over, that's kind of it (which I get is part of your multisig solution).

@tan.app | Dec. 30, 2020, 2:39 a.m. | Votes: 0 | [ VOTE ]

Congratulations @fbslo, You Earned 1.05 TAN & Curators Made 0.735 TAN.

Join CORE / VAULT Token Discord Channel or Trade TANGENT Token
TAN Current Market Price : 2.010 HIVE

@fbslo | Dec. 30, 2020, 3:19 p.m. | Votes: 0 | [ VOTE ]
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: User-ID:   fbslo 
Comment: Created:   9/6/2020 8:02 PM
Comment: Type:  2,048-bit RSA (secret key available)
Comment: Usage: Signing, Encryption, Certifying User-IDs
Comment: Fingerprint:   9C275851F27300752367BDE6437C30D37040F285


mQENBF9VJEABCAC+sF/hpJS9X57IThFtHHL3uFxkl6/51XRNZmUHre5NV70wqReo
Q6zwdWXSsbJlGIsVloc9RH1mxfauypHw0uq0vxa7QU+UkLXYox7VUUvQWK8eSDFR
+PCC8V5QFeoYFADqGnJkVzqLTtHhmZ+W0yZz31CSP+7CRsWSgAWAcAgglNlQvhyN
Yx1uGifLfBv7JIrEDlQCxUpq4FsZCfzux4PUGM7XohpyKCK8aaGNLAPaTjChrIok
PeNrAi2uDgeV7MbPrKTaUFcRZdrVUNGkyV4hUnfXaJh6YGMbjOfgWuKN7kZnielv
Gab4l0olBAfdC3WkpFL4ipzwdjrpgutu3CJLABEBAAG0F2Zic2xvIDxhZG1pbkBm
YnNsby5uZXQ+iQFOBBMBCAA4AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAFiEE
nCdYUfJzAHUjZ73mQ3ww03BA8oUFAl9VJGwACgkQQ3ww03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Fy3DqYFWF498ET3rGo3qS8VL42PrtdoPdnqLaxch9AWnpHT9eaV+ts
lM+3toEMKd7RgPnCugw4t0cQ90dAo3L7Jw==
=IiKa
-----END PGP PUBLIC KEY BLOCK-----
@alexvanaken | Dec. 30, 2020, 4:31 p.m. | Votes: 1 | [ VOTE ]

Please stop sending money to @marshallmustang. She scammed me out of $80

@ervin-lemark | Jan. 14, 2021, 8:10 p.m. | Votes: 1 | [ VOTE ]

Really good work, both the detective part and the solution. Congrats!

@antisocialist | Jan. 17, 2021, 6:42 p.m. | Votes: 0 | [ VOTE ]

I'd still like to know how leasing hp is any different to selling votes.
If you sell your vote one at at time it is no different than selling it wholesale for a time period.

If someone could tell me how I am wrong about this, that would be great.
I'm pretty sure we already forked out the vote sellers, then we turn around and respect other vote sellers?
Smdh.

@fbslo | Jan. 17, 2021, 8:21 p.m. | Votes: 1 | [ VOTE ]

In many cases, It's not very different. But some people are leasing HP just to avoid having to power up hive but still having vote worth something.

I personally prefer having most of my Hive liquid, but I'm leasing HP to keep my vote value at ~$0.1 (even if I'm losing money since I pay more than I get from curation).

@antisocialist | Jan. 17, 2021, 8:37 p.m. | Votes: 0 | [ VOTE ]

>But some people are leasing HP just to avoid having to power up hive but still having vote worth something.

Right, still breaking proof of brain,...I guess I am one of the few remaining that care about the original dream of creating original content to get rewards.
Now we just buy them, and everybody that knows the difference has cashed out.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>