News for hackers. Stuff that matters.
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @05:30AM (#31190423)
> technology does not solve technical problems that havent been solved better

Critics like Diehl repeat this often, but without ever referencing the solutions. What non-blockchain solution solves the double spend problem when transferring digital assets in a peer-to-peer network? Or, in the case of Ethereum, providing solutions to general-purpose decentralized computation and state (rather than only peer-to-peer payments) with such strong public consensus?

I would love to see the following succinctly solved by a non-crypto and non-blockchain solution:

- User A holds digital asset X (such as a valuable domain name "xyz.eth") and User B holds digital asset Y (such as a valuable sum of stablecoin tokens) and these users wish to exchange them in a single public + cryptographically verifiable transaction (i.e. atomic swap), without relying on the trust (and for-profit services) of a third-party escrow agent.

Re:Blockchain Is Dangerous Nonsense by tkfu on Thursday April 28, 2022 @05:59AM (#31190659)
You're being willfully obtuse here.

> What non-blockchain solution solves the double spend problem when transferring digital assets in a peer-to-peer network?

Literally any trusted central authority or database.

> Or, in the case of Ethereum, providing solutions to general-purpose decentralized computation and state (rather than only peer-to-peer payments) with such strong public consensus?

You haven't actually stated a problem here, you've described a solution in search of a problem.

> User A holds digital asset X (such as a valuable domain name "xyz.eth")

You're mentioning a .eth domain name being bought with cryptocurrency as an example, which is entirely circular. "Hurr durr, betcha can't swap one blockchain thing (.eth domain) for another blockchain thing (cryptocurrency tokens) without using a blockchain" isn't as strong an argument as you think it is. If we were talking about a .com domain name, no blockchain in the world will help you with that transaction.

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @06:14AM (#31190768)
As usual, “just trust Amazon or Google” which is centrally owned, and not peer-to-peer (distributed/decentralized), and not an answer to my question.

> You're mentioning a .eth domain name being bought with cryptocurrency as an example, which is entirely circular. "Hurr durr, betcha can't swap one blockchain thing (.eth domain) for another blockchain thing (cryptocurrency tokens) without using a blockchain" isn't as strong an argument as you think it is. If we were talking about a .com domain name, no blockchain in the world will help you with that transaction.

Your argument feels in bad faith, but I’ll bite: “.eth” and ENS is a valuable construct for those transacting in the network. These assets do have clear market value, even if you personally feel they shouldn’t.

Re:Blockchain Is Dangerous Nonsense by RandomLensman on Thursday April 28, 2022 @06:30AM (#31190857)
Nothing is stopping a peer-to-peer network from having a central database administered by the a randomly selected group of peers, for example.

The bigger issues in pure decentralized and distributed networks in finance are around KYC/CFT etc. Who ensures compliance if there is no control about flow of funds, for example.

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @06:32AM (#31190872)
What you are suggesting sounds like a consensus mechanism. How do you safely choose which peers to assign this responsibility? How do you ensure it is resistant to a Sybil attack?

Suddenly the answers begin to look a lot like Proof of Work or Proof of Stake.

Re:Blockchain Is Dangerous Nonsense by RandomLensman on Thursday April 28, 2022 @06:39AM (#31190912)
The answer could or could not look like that. In practice people have done this many times throughout history totally without blockchains (or computers) for that matter (e.g., money transfer systems, exchanges, etc.).
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @06:45AM (#31190957)
If this has been done many times in a way that solves my original question (decentralized escrow), there should be some concrete examples you can point to besides blockchain/crypto systems.
Re:Blockchain Is Dangerous Nonsense by RandomLensman on Thursday April 28, 2022 @07:07AM (#31191104)
Obviously, non-digital assets, but does the Hawala system fit your analog version for decentralized escrow? Early stock exchanges were sometimes created to get around existing third parties ("auctioneers") and allow the brokers to directly transact p2p. What about a credit coop (it is central, but it is also owned by all the users)?

Edit: at it's most basic, reliable coinage was kind of way to create reliable p2p abilities without risk of "double spend". Once the coins were out there, central authority didn't matter so much, i.e., "good" coins were used fair and wide beyond the coining state (e.g., Athenian tetradrachma). Funny add. in some areas people actually allow temporary double spend (so that can be another solution)...

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @07:17AM (#31191154)
Perhaps, but my original question was around digital assets across the internet (and ideally on a global scale). If you are trading a plush toy for a coconut the "atomic swap" could be done with each party's two hands.
Re:Blockchain Is Dangerous Nonsense by RandomLensman on Thursday April 28, 2022 @08:01AM (#31191482)
In the generic form, blockchain/DLT cannot solve the double spend there either. Selling a picture for a token does not magically delete all copies or makes it impossible for me to sell it again (yes, someone could look in some blockchain, but that might not even deter another buyer - even fake goods trade).

Basically, for on-chain assets, a blockchain solves double spend and also ensures that on-chain funds/assets are correctly delivered (malicious attacks aside). This also exists outside of blockchains, for example in payment vs payment settlement in FX. Banks created CLS precisely to avoid having one part of an FX transaction settle while the other was still outstanding - so other ecosystems with immaterial goods and risky settlement found other solutions/created their own "middle man mechanic".

Re:Blockchain Is Dangerous Nonsense by trinovantes on Thursday April 28, 2022 @06:30AM (#31190856)
So how do you coordinate this so called decentralized transaction? Over the internet through SSL certs that are centrally signed? You're still putting blind trust in something.
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @06:44AM (#31190947)
Transactions are broadcast with RPC. Once accepted and written to the ledger (ie: after a number of confirmations), you can verify the state of the transaction via your own local node.

It is impossible to completely remove the need for trust. We trust that our computers work as expected, that our modems and routers are not compromised, that RPC endpoints and software is running as expected, that the internet infrastructure in our country is sending messages correctly.

The blockchain isn’t a catch-all solution to our need to trust things in life. But it does allow us to, say, record and alter global state without placing it in the control of a single centralized intermediary.

Re:Blockchain Is Dangerous Nonsense by trinovantes on Thursday April 28, 2022 @06:58AM (#31191040)
You trust the private companies/individuals making your hardware and protecting your communications but suddenly trusting a private escrow is heresy? Seems like a weird double standard.

> record and alter global state without placing it in the control of a single centralized intermediary

Paxos solved this in the 90s

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @07:11AM (#31191118)
A centralized escrow is not heresy; it involves a different set of trade-offs. In some cases the decentralized escrow might be more appealing. To go back to my original example of a domain transfer, the exchange can occur in a matter of seconds or minutes within a blockchain, rather than 1 to 20 business days with escrow.com.

Never heard of Paxos, if it could achieve the same problems I've outlined earlier, I'd be curious to see it implemented.

Re:Blockchain Is Dangerous Nonsense by trinovantes on Thursday April 28, 2022 @07:27AM (#31191215)
The 20 days delay is a problem with escrow.com specifically. Domain sales are a trivially automated process that should be instant e.g. literally any domain registrar.

Paxos family of algorithms solves distributed state replication. It is the backbone of the database engines that already power most of the internet.

https://en.wikipedia.org/wiki/Paxos_(computer_science)

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @09:22AM (#31192134)
Namecheap: 10% commission, only works with Namecheap-registered domains, the exchange may take up to 96 hours, and then 5 days later you can withdraw these funds to PayPal (which will incur additional fees).

Compare this to, say, Tezos domains: exchange and transfer of funds settled in ~30 seconds, without any need for currency conversion, across any ".tez" domain in the network, 2.5% commission (or 0% via custom contract), no private data shared with registrar, and very low transaction fees.

Looking at Paxos: it is permissioned, lacks Sybil protection, uses leader-based rather than peer-to-peer data replication, and seems limited in how many nodes it can support. This isn't to say it's useless, but it clearly aims to solve a different set of problems than Nakamoto's consensus mechanism (and, more generally, cryptocurrency networks).

Re:Blockchain Is Dangerous Nonsense by hiq on Thursday April 28, 2022 @01:06PM (#31195072)
> Namecheap: 10% commission, only works with Namecheap-registered domains, the exchange may take up to 96 hours, and then 5 days later you can withdraw these funds to PayPal (which will incur additional fees).

> Compare this to, say, Tezos domains: exchange and transfer of funds settled in ~30 seconds, without any need for currency conversion, across any ".tez" domain in the network, 2.5% commission (or 0% via custom contract), no private data shared with registrar, and very low transaction fees.

You're not comparing the same products. Namecheap probably doesn't sell .tez, and you probably cannot buy a .com via Tezos. There are big differences between TLDs, I didn't even know about .tez websites until today. If I receive a .xyz link I tend to think it's a scam. If I had received a .tez link before today, I would have thought it was just a weird typo.

Beyond this, assuming equivalent products, there's no technical reason for the Tezos solution to be superior. Consider this: whatever Tezos is doing, Namecheap could do the same using the same technology (they don't have tougher requirements, maybe short of regulations, but I don't think you're talking about regulation arbitrage here anyway). They could just use a blockchain but be the sole entity allowed to interact with it.

Namecheap can get away with higher prices, so they do (it's a business). On the other hand many blockchain-based systems are highly subsidized (I don't know if that's the case for the Tezos domain system), making direct comparisons difficult.

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @01:51PM (#31195748)
Sure, they are apples and oranges. Namecheap will likely never be able to match these settlement times, 0-2.5% fees, data privacy, interoperability etc.

If they decide to one day sell crypto domains like ‘.eth’ and ‘.tez’, they will be entering an extremely competitive market; and compete against marketplaces that trade any valid NFT (including domains) like Objkt.com and OpenSea, with commissions around 2.5%, no need for data sharing, and instant settlements. They would also be competing against custom contracts and OSS tools which may take no fees, and other directly peer-to-peer transactions like I outlined in my OP.

The point I’m trying to illustrate here is that there are reasons for choosing a decentralized and peer-to-peer system of digital assets & ownership over a purely centralized system, and blockchain is currently an ideal tech for this application.

Re:Blockchain Is Dangerous Nonsense by hiq on Friday April 29, 2022 @08:07AM (#31204106)
Again, whatever technical advantage Tezos might have in terms of efficiency, nothing prevents Namecheap from using a database instead of a blockchain and reaching higher efficiency.

You're assuming that the fees you pay Namecheap are representative of their costs. You could also say that Apple will never be able to compete with mid-range Android phones because iPhones are so expensive,. The point of a business is to make money, and the margin represents a big share of the price, so you can't just forget about it. The price / fees don't necessarily reflect anything about the business costs, especially in tech.

Blockchain-based solutions are usually cheap because they're either subsidized (like Uber was very cheap because it was just not profitable), because they offer a strictly worse product (almost no company wants a .tez) or a combination of both.

Re:Blockchain Is Dangerous Nonsense by jomjomv on Thursday April 28, 2022 @06:20AM (#31190797)
> Literally any trusted central authority or database.

But they said peer-to-peer network.

Re:Blockchain Is Dangerous Nonsense by tsimionescu on Thursday April 28, 2022 @06:05AM (#31190697)
> User A holds digital asset X (such as a valuable domain name "xyz.eth") and User B holds digital asset Y (such as a valuable sum of stablecoin tokens) and these users wish to exchange them in a single public + cryptographically verifiable transaction (i.e. atomic swap), without relying on the trust (and for-profit services) of a third-party escrow agent.

OK, how do they do this? Let's say X has 1M gold in World of Warcraft, and Y has 100M Gil in Final Fantasy XIV. How can X and Y use a blockchain to exchange these atomically?

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @06:18AM (#31190785)
If both assets are defined by the same blockchain protocol, a contract can be written that provides both users the ability to deposit the two assets into it. Only once both assets have been deposited will the atomic swap occur. And at any point before this, a deposit could be safely withdrawn (ie: if other party backs out of deal).

Edit: if your question is “how does this technically look in practice”, here is an example: [1]

[1] https://github.com/niftyhorde/swap.kiwi/blob/master/contract...

Re:Blockchain Is Dangerous Nonsense by tsimionescu on Thursday April 28, 2022 @07:29AM (#31191226)
You claimed that blockchains solve the problem of atomically transferring digital assets. I gave an example of two digital assets I may like to transfer.

Please tell me how Ethereum solves the problem of exchanging WoW gold for FF14 Gil in a trust less manner.

The problem of transferring digital goods controlled by the same entity in a trust less manner is trivial and solved by many technologies predating Bitcoin. I can already trustlessly sell a piece of copper in World of Warcraft for gold without involving any other third party.

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @07:43AM (#31191346)
This is a pretty stupid argument; WoW and FF14 gold are not assets defined on the network. The goal of Ethereum is to record Ethereum-based assets (e.g. ERC20, ERC721), not to record the exchange of every asset on the web.

> I can already trustlessly sell a piece of copper in World of Warcraft for gold without involving any other third party.

In this case the third party is Blizzard Entertainment, who can control the state and data.

Re:Blockchain Is Dangerous Nonsense by tsimionescu on Thursday April 28, 2022 @07:56AM (#31191432)
> In this case the third party is Blizzard Entertainment, who can control the state and data.

And in the case of two Ethereum based assets, the third party is the Ethereum network, which can be forked to control the state and data (as it was after the DAO fiasco).

Re:Blockchain Is Dangerous Nonsense by therealdrag0 on Friday April 29, 2022 @01:30AM (#31201775)
I think more importantly the integration with Ethereum network is done by third parties, so even if WOW hooks into eth, your eth assets are worthless without depending on blizzard to maintain that integration. So what was gained?
Re:Blockchain Is Dangerous Nonsense by swalsh on Thursday April 28, 2022 @11:39AM (#31193866)
"And in the case of two Ethereum based assets, the third party is the Ethereum network, which can be forked to control the state and data"

ETH Classic still exists, but the community came to the agreement that forking was the best way to deal with the issue. The only person who lost on that agreement was the hacker. Where as Blizzard can do whatever it wants. Surely you can see how a forked blockchain was a more democratic process than a centralized database.

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @08:18AM (#31191590)
A company like Blizzard that might define ERC20WoWGold can fork the blockchain to try and alter a record on their contract, but it would have little effect.

A successful fork requires a consensus across the majority of developers and users in the network.

Re:Blockchain Is Dangerous Nonsense by thomashabets2 on Thursday April 28, 2022 @06:16AM (#31190776)
> What non-blockchain solution solves the double spend problem when transferring digital assets in a peer-to-peer network? Or, in the case of Ethereum, providing solutions to general-purpose decentralized computation and state (rather than only peer-to-peer payments) with such strong public consensus?

That question sounds like an XY problem.

https://en.wikipedia.org/wiki/XY_problem

Re:Blockchain Is Dangerous Nonsense by Marazan on Thursday April 28, 2022 @07:47AM (#31191370)
Yes, Blockchain does indeed solve the problem it creates.
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @08:07AM (#31191516)
These problems (the desire to find peer-to-peer systems to transfer and record digital assets) predate blockchain/crypto.
Re:Blockchain Is Dangerous Nonsense by Marazan on Thursday April 28, 2022 @10:19AM (#31192762)
And they were trivially solved by trust.
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @11:00AM (#31193287)
Trusty ol' FAANG.
Re:Blockchain Is Dangerous Nonsense by nicbou on Thursday April 28, 2022 @11:38AM (#31193849)
What does FAANG have to do with exchanging money?
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @11:56AM (#31194130)
“We don’t need peer-to-peer digital assets when we can just trust [insert major tech corporation]” tends to be the common answer to my earlier question a couple comments up.
Re:Blockchain Is Dangerous Nonsense by nicbou on Thursday April 28, 2022 @12:07PM (#31194267)
You're naming tech companies. We're talking about heavily regulated banks.
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @12:19PM (#31194449)
My original comment[1] is responding to the notion that crypto's technical problems are better solved by non-blockchain alternatives. The most common alternative is placing trust in an Amazon or Google database, or another tech corporation like Namecheap or escrow.com (for domain exchanges, as in my example). Banks do not typically manage domain name exchanges.

[1] https://news.ycombinator.com/item?id=31190423

Re:Blockchain Is Dangerous Nonsense by igorkraw on Thursday April 28, 2022 @06:53AM (#31191000)
And believers always pull of this subtle shift in frame: you bring in trust-less peer to peer decentralised networks, and of course there's no other solution, because it's a setting invented by the same people who came up with cryptocurrency. The rest of the world relaxes the trust-less assumption and talks about Web of Trust, about decentralised roots of trust, federation etc.

And this is a rhetorical technique: When we talk about economics, we talk about business or human problems. But the trustless-online-decentralised-ledger problem is a technical one. So the GP was saying "there is no business problem that crypto solves that hasn't been solved in a better way already. And then the crypto-bros come in and say "nuh-uh! If you for whatever reason want to run digital assets on physical infrastructure that needs to be maintained off chain without trusting anyone (say, the person the network depends on for maintaining the power infrastructure) then this is the only solution!".

YES! Well done. This is even useful, in a horrible hellscape where dog eats dog, everyone carries their own portable nuclear reactor and uses unstoppable point to point laser communication to run the internet and we forego all of the efficiency gains offered by using social consensus and democratic decision making to build webs of trust and centralised infrastructure with checks and balances (for example, by having the root certificates expire and be re-legitimised by some social ceremony repeatedly...say in an election). But in the real world, at some point everyone wants to build a society, put some basic trust down and improve living standards. And while people like Putin and the Kims and warlords still alive can fuck this up

1. They generally only survive because they are leeching of the more functional parts of society which uses trust (not unlike crypto with its Ponzi structure)

2. Crypto won't save you from them because they'll physically take away your electricity and/or torture you to get your keys

So what problems that aren't technical toy problems but real business and coordination problems in realistic settings (remember, if you have a state you trust to protect your private property rights, you can probably also use that to run the root certificate and organise the ledger) does crypto solve again?

Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @06:57AM (#31191034)
Consider a simple answer: my ENS domain is one of the few digital assets I own (and have “digital ownership” over) that is not inextricably linked to a single corporately-owned user account (that ultimately has full control over the asset).

Perhaps you do not see a value in that, or do not feel the risks outweigh this benefit, which is fine. We are acting on a different set of interests.

Re:Blockchain Is Dangerous Nonsense by igorkraw on Thursday April 28, 2022 @01:51PM (#31195761)
What is is it good for compared to a traditional domain? If it's censorship resistance,if you break the laws of your country using it, how will you hide from the police trying to force you to take down the content?
Re:Blockchain Is Dangerous Nonsense by mattdesl on Thursday April 28, 2022 @02:04PM (#31195952)
The whole point of the distributed ledger is that no single entity can “take away” ownership of, say, an ERC721 (NFT, which domains also are) without access to my keys. Websites can de-list this but anybody can still see it clearly indexed in the blockchain state as the system is distributed.

I am not doing this to be censorship resistant from police (who can force me to give up my keys).

The point is that, rather than an asset owned by X company or Y bank, it is owned by me (in a decentralized system). eg: A tech company being acquired or shuttered will have no bearing on my ownership of and ability to transfer this asset.

Re:Blockchain Is Dangerous Nonsense by igorkraw on Friday April 29, 2022 @01:39AM (#31201817)
So again, what can you do with it? What's the usage except "I have it and you can't"?

Because, if you use it to point to an IP, who's giving you that IP?

An asset has value, just because you call it an asset doesn't make it one.

Re:Blockchain Is Dangerous Nonsense by mattdesl on Friday April 29, 2022 @02:27AM (#31202043)
you point an ENS name to an address (a public key hash). in a system built on private/public keys, it can be useful as an alias. the “IP”, or address in this case, is my own, because it is directly generated from a 24 word seed phrase.

this naming system has value for myself and the millions of other users interacting within the network.

Re:Blockchain Is Dangerous Nonsense by igorkraw on Monday May 02, 2022 @06:36AM (#31233403)
But unless you have a completely independent physical layer, that network and alias is only reachable via an IP you rent or buy from the normal Systems. So what's the added value once you have that IP pointing somewhere? Like, if everything you can do with the ENS depends on an IP, which can do the same things as an IP, what's the use case? You are already dependent on the system, without an avenue out, what's the advantage of using an ENS vs something in the system?
Re:Blockchain Is Dangerous Nonsense by mattdesl on Monday May 09, 2022 @11:28AM (#31315386)
not really sure what you are referring to; ENS does not depend on IP addresses or have anything to do with internet protocol domain names.
Re:Blockchain Is Dangerous Nonsense by syrgian on Thursday April 28, 2022 @06:02AM (#31190679)
Wait, are you saying that scenario has been solved (or is solvable in the future) by blockchain? Where can I learn more? Is eth even a real TLD?
Re:Blockchain Is Dangerous Nonsense by swalsh on Thursday April 28, 2022 @06:13AM (#31190759)
.eth is a TLD for crypto addresses (the system is called ENS). Instead of saying, send it to 0x827DCAB38F00624466A99211e9c5a48b9D6Ec14D or whatever I can say "send it to myname.eth". The ENS is an NFT, so all the NFT infrastructure can be used to manage it. NFT's are generic digital assets so any marketplace can do the swap. The major downside is that gas on eth is SUPER expensive, when I regestered my ENS name, it cost $5 for the name, and $200 for gas. On the other hand, ETH is an obsolete chain (there is a v2 coming, and L2's are starting to come on, but V1 is obsolete... lets be honest), and some new more modern chains solve the problem better. I have a .AVAX name (not fully deployed yet) which cost $15 for the name (which has a weird public notice period thing, kind of interesting) and $.15 for gas. Again, it's an NFT, so I can use any of the numerous marketplaces to buy and sell it.