Readit News logoReadit News
nyuutsu · 9 months ago
This is my post!

The case studies used here are the smallest of small fries and the implementations are very simple. but similarly simple implementations have been used in more exciting and destructive cases. like the "squid game" coin. the squid contract actually had almost no functionality in it. Squid code said, roughly: "I am a coin, you can trade me. For all other functionality, I do whatever [some other address] tells me to do". Then, when you look at that other address, its code there is unverified, & when decompiled reveals fee-setter shenanigans and stuff of that nature.

wood_spirit · 9 months ago
Did any of the smart contract stuff turn out to be legit? Any of it at all?
saghm · 9 months ago
No, because to everyone's _complete shock_, it turns out it's actually pretty hard to write code that doesn't have bugs in it, and in the case of a "contract", that makes the mistaken behavior binding (except of course if you have everyone with a stake collectively vote to decide that something never happened, which means that any group that owns a combined 51% stake effectively owns the entire 100%).

Don't get me wrong, there's plenty to criticize in the legal system(s) that are currently used in society, but having disputes resolved via a human-based mechanism rather than a technical one isn't one of them. Smart contracts aren't even just the usual "trying and failing to apply a technical solution to a social problem", they're a failed technical solution to an _entirely invented_ new problem that no one had before.

qqqult · 9 months ago
It's true, smart contract security is a tough problem, but the reality is that with formal verification, security audits and big bug bounties many have gotten it right. There are many protocols that have held billions in stablecoins for years with no issues. Some examples: https://defillama.com/

Smart contract hacks are really not as common as they were 5 years ago when security practices were an afterthought.

Regarding your seconds point on blockchain rollbacks, although technically possible on proof of stake networks with a 66% consensus it's simply not something that happens in reality as it goes against the goal of blockchains. The last time it happened was the 2016 DAO hack in Ethereum, 2 years after ethereuum mainnet launched, which was so controversial that the network split in two. "Ethereuum Classic" still exists to this day

tgsovlerkhgsel · 9 months ago
I haven't seen any use case of them that I would consider legit (they're used for messing with other smart contracts/DEXes), but flash loans are a cool idea: You can borrow coins only if you return them within the same transaction. Obviously very low risk for the lender, so you're essentially paying to borrow someone's liquidity for a tx.

I'd say the decentralized exchanges (DEX) themselves and some other DeFi (decentralized finance) features are legit innovation though.

duskwuff · 9 months ago
As far as I'm aware, the only quasi-legit services in the space are DEXs - smart contracts whose purpose is to allow users to trade tokens for other tokens. They aren't outright scams in their own right (at least, most of the big ones aren't), but they also facilitate a lot of the scams described in the article.
K0balt · 9 months ago
Idk.

Before bored apes and the like made a cesspool of the space, I was part of a project that built a system that did contractual management of IP using entirely on chain resources.

It enabled, for example, the specification and creation of certificates that could be propagated/“duplicated” a certain number of times traceable to an original certificate holder allowing limited licensing rights, etc. It is actually an extremely capable system for specifying and enforcing intellectual property rights with much less need to rely on litigiousness.

Over 10Kloc of independently audited contract code with over 100Kloc of tests giving 100percent coverage, as well as extensive wargaming of incentives etc. It’s really an excellent system, just sitting there waiting to see if one day the space can be taken seriously. Despite the current SOTA, programmable money and contractually controlled digital certificates have great potential to improve governance and reduce the need for coercive force in societies.

But, this is why we can’t have nice things.

zoklet-enjoyer · 9 months ago
Prediction markets are big too
joshmarinacci · 9 months ago
I have yet to see a smart contract worth the paper it’s printed on. ;)
qqqult · 9 months ago
stablecoins, prediction markets, decentralized exchanges and decentralized lending markets have worked pretty well
mystified5016 · 9 months ago
For whom?
groceryheist · 9 months ago
Filecoin? Not sure if that's considered a "smart contract" since it's not eth-based.