this post was submitted on 13 Aug 2023
20 points (68.5% liked)

Asklemmy

43755 readers
1251 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

As a foreword, yes I am very aware of resources like https://web3isgoinggreat.com You don't need to spam the comments with the link.

I am not asking about your general opinions on why crypto kittens is a jerk fest for crypto bros. Please cut the automatic generic rant on why cryptocurrencies is the sandbox of brainless dopamine monkeys. I am asking about your sentiment on a specific scenario, that tries to solve a real problem.

This is just an example, for oversimplification.
In a trust-less environment, one person shares some of their cloud space for a fixed amount of time, with another person they don't know much.

The person asking for the cloud space, promises that they will use it only for X,Y or Z. They both agree to leave all the data in clear text (it is easy to prove whether there has been a breach of trust).
If the person doesn't respect their engagement, they must be penalized. In this scenario, there is no legal tool to ensure this.

Enters the smart contract. The individual asking for a share of the cloud space, deposits a certain amount of ETH in a smart contract. The smart contract itself ensures that the owner of the cloud space will NEVER have access to the deposit fund.
Both individuals sign the smart contract. After a fixed amount of time, the depositor can retrieve their deposit back.
However, if for somewhat reason the depositor breaks their engagement (and do something outside X,Y, Z), the person sharing their cloud space can refuse the refund of the deposit.
Both individuals must then reach a consensus, or the deposit will stay frozen on the smart contract forever.

In this case, would the use of a smart contract be a reasonable solution to you?

you are viewing a single comment's thread
view the rest of the comments
[–] kurogane@sopuli.xyz 1 points 1 year ago (1 children)

Yeah and the problem is, the real world kinda doesn’t care. Code gives zero fucks. If I have to be 250% sure the code is correct because no court can fix it if we screw up that’s just not worth it to me

Fair point, the advantages are not worth the struggle of triple checking everything and ensuring there is no bug.

I’d rather trust in unbiased humans

This is my personal opinion, but I disagree on this one. I'd rather choose a well written, unbiased piece of code, over a human that cannot be unbiased.

[–] dot20@lemmy.world 1 points 1 year ago

Ah, but how do you know that the code is well-written?

There have been multiple cases in smart contracts where the code looked good, but a subtle bug ended up being exploited.