News for hackers. Stuff that matters.
Re:Web3 is centralized by r_hoods_ghost on Sunday January 02, 2022 @02:52AM (#29766732)
The main issue with "Web3" is that it moves records of transactions from many private places to one public place. Sure this one place may not be controlled by a single entity, but it facilitates tracking at an unprecedented level.

Cryptocurrencies are the ultimate example of this and are an absolute boon to tax collectors, forensic accountants and fraudsters. In our current economy financial transactions are recorded in millions of individual ledgers that are kept private, or in the case of cash transactions are often not recorded at all, or are not linked to an individual. There is no central ledger.

With crypto currencies however you can not only see all transactions but also trace them back to individual users as long as you can link a wallet to a person. This is a massive increase in centralisation yet discussion of whether this is a good idea seems to be entirely missing. The notion that centralising transactions in one place is somehow an example of decentralisation just seems mad.

Re:Web3 is centralized by lwansbrough on Sunday January 02, 2022 @02:56AM (#29766751)
Web3 is more of a problem soup, I don't think it's accurate to say there's any one specific "main" problematic aspect of it. The whole ecosystem is one terrible idea built on another in the name of achieving a worse version of what we already have.
Re:Web3 is centralized by chrisco255 on Sunday January 02, 2022 @03:08AM (#29766805)
> are an absolute boon to tax collectors, forensic accountants and fraudsters

Weird that it would be a boon for both forensic accountants and fraudsters. How do you reconcile that sentence?

The fact that something is done in public does not mean that it is centralized. There is public and decentralized, public and centralized, private and centralized, and private and decentralized.

Decentralization itself, is a spectrum and not a binary quality. Just as, I assume, public / private also falls on some sort of spectrum spanning from everyone in the world being able to see to VISA/Mastercard corporate privacy policy to national intelligence agencies to group or individual privacy.

It is completely possible to conduct transactions privately on blockchains. Monero and z-cash (using zero knowledge proofs) are the best examples of this.

The biggest blockchains choose not to either due to legacy design choices (zero knowledge systems are a recent innovation) or the benefits of openness. For example, public transaction history allows for development of an on-chain reputation for a pseudo-anonymous account. It's also quite useful for managing decentralized organizations, as the treasury and spending records is meant to be public to keep the DAO accountable to its members and prospective members.

With the recent introduction of zk rollups on Ethereum, it's now possible to have the best of both worlds, in my opinion (see https://aztec.network/index.html). Transactions that need to be private will be conducted on zero-knowledge rollups built for privacy. Mastercard is working on this with Consensys for Ethereum (https://www.coindesk.com/business/2021/12/16/consensys-colla...).

Re:Web3 is centralized by vmception on Sunday January 02, 2022 @03:17AM (#29766856)
> Weird that it would be a boon for both forensic accountants and fraudsters. How do you reconcile that sentence?

It is very common to track people by the tokens they hold and target them for theft and fraud.

One example is to airdrop a backdoored token, and when the user tries to move it they wind up authorizing movement of their other valuable tokens. Or to just use the airdrop to lead a curious user to the airdrop event's website, which is then a phishing campaign that achieves the same result.

Re:Web3 is centralized by theK on Sunday January 02, 2022 @04:27AM (#29767197)
Tracking partial identity through tokens is actually a very common concept amongst the newer blockchain platforms which also have addressed such topics as the drawback you describe. While said attack is theoretically possible it only is applicable to tokens managed by the same contract and only on platforms which do manifest tokens as script state (think erc20). Platforms with native assets (Cardano and some others) are immune to such attacks.
Re:Web3 is centralized by vmception on Sunday January 02, 2022 @04:39AM (#29767259)
where can I learn more about that approach? I just assumed the eUTXO model would be more like the UTXO model where assets could still be tracked to a single address, like with the old Counterparty or OMNI model in Bitcoin.

What would you consider Solana's approach to assets? I was surprised to find that each address has another unique address for its balance and possession of any asset issued on that network.

Re:Web3 is centralized by theK on Sunday January 02, 2022 @12:22PM (#29770809)
The key is not in eUTXO (allthough eUTXO is a great piece of work, especially because it solves a multitude of scaling issues in the long run), it is in the ledger's capability of handling custom assets natively. This way a wallet exactly shows you which tokens you own are affected by a contract invocation.

I don't know how solana handles assets but I personally stay clear from that ecosystem. Too much VC hype for my likes and way too little decentralization of funds.

Re:Web3 is centralized by seanhunter on Sunday January 02, 2022 @05:48AM (#29767641)
Looking at the token standards[1], I can't see how you could create a "backdoored token" that would authorize movement of other tokens but that sounds like a scary threat vector. Could you explain how that would work please?

I've heard about ERC20 tokens that allowed the issuer to pull them back (that's the SoarCoin thing[2]) but not a token that allowed other tokens to be transferred.

[1] https://eips.ethereum.org/EIPS/eip-721 https://eips.ethereum.org/EIPS/eip-998 https://eips.ethereum.org/EIPS/eip-1155 [2] https://iterative.capital/erc20-backdoor-allows-you-to-steal...

Re:Web3 is centralized by cinquemb on Sunday January 02, 2022 @06:05AM (#29767737)
The standards only really define what should be done at the interface or what the function inputs and outputs should be, but don't really define the internals of the functions. For example inside of a malicious approve function call, you could hardcode a list of popular addresses that also approved those tokens if the msg.sender is holding (balanceOf calls) them and even potentially then have transfer functions calls inside of the approve function call for the malicious token.

For me, its only scary if one regularly interacts with tokens they haven't bothered to look up for the source code for. People really shouldn't be interacting with contracts if their first time hearing of it is from looking at who randomly airdropped them a token with a domain name in it. But hey, people regularly do stuff in crypto that i just think "wtf arw the thinking", so w/e.

Re:Web3 is centralized by exo762 on Sunday January 02, 2022 @07:32AM (#29768210)
Both of you are wrong. ZK fundamentally does not allow to hide the rules (the code). It only allows to hide particular executions. So yes, while you can have an ERC20 interface and some censorious garbage inside (I look at you, USDC), you can't hide that fact from observers.
Re:Web3 is centralized by cinquemb on Sunday January 02, 2022 @08:34AM (#29768574)
The issue is that there are people blindly interacting with malicious contracts, which is more of a social problem and not a technical one. There are people now who for example, don't approve random token addrs that they haven't decompiled or which had the source available… i know, shocking…

Did you respond to the right chain of comments, none of us mentioned anything related to ZK solutions (chains line mina or rollups or otherwise)?

Re:Web3 is centralized by CrazyStat on Sunday January 02, 2022 @09:04AM (#29768764)
"It's not safe to use web3 unless you're comfortable analyzing decompiled source code" is a super good sign for the future of the ecosystem.
Re:Web3 is centralized by cinquemb on Sunday January 02, 2022 @10:13AM (#29769299)
> "It's not safe to use web3 unless you're comfortable analyzing decompiled source code" is a super good sign for the future of the ecosystem.

Plenty of people don't de-compile or read the source, don't engage with random tokens credited to their address, and the ecosystem around using "smart" contracts has grown since 2015. Not my problem if people want to use/trust something else (others audits for example) without putting in any work to learn/observe themselves and engage with random stuff. That's their problem, not mine. Some learn better after going through school of hard knocks anyways.

As a society, we have expected more and more people to learn how to read and write for basic literacy over hundreds of years. Those who know how to read and write code will have a leg up for that expanding literacy set for engaging with digital things and those who don't will be left behind esp as more aspects of life are governed/mediated through code and this goes beyond the whatever is being branded as "web3".

If you don't wanna use it, you are free not to (unless in the case someone hacks your devices from across the world, you don't engage in backups, and the only way to unlock it is to buy some tokens to pay them off; then its just hard choices to make).

Re:Web3 is centralized by CrazyStat on Sunday January 02, 2022 @10:44AM (#29769593)
> As a society, we have expected more and more people to learn how to read and write for basic literacy over hundreds of years. Those who know how to read and write code will have a leg up for that expanding literacy set for engaging with digital things and those who don't will be left behind esp as more aspects of life are governed/mediated through code and this goes beyond the whatever is being branded as "web3".

We have. We've also extended protections for people lagging behind, for example by putting restrictions on what kinds of contracts can legally be entered into and voiding contracts that one party could not have reasonably been expected to understand, or entered into under duress or undue influence.

None of these protections exist under "smart" contracts, which is exactly why we can't and won't allow code to govern or mediate life as web3 envisions. Your dystopian vision of "oops, you lost your retirement savings because you didn't decompile that contract before interacting with it, too bad", or "oops, you lost your retirement savings because someone beat your wife with a baseball bat until you handed over your private key, sucks to be you"--in short, the dystopia of "code is law"--flies in the face of thousands of years of jurisprudence and civilization. Once the goldrush hype wears off people will realize how heinous the fundamental idea is and dump it in the gutter of history where it belongs.

Re:Web3 is centralized by cinquemb on Sunday January 02, 2022 @11:09AM (#29769891)
> We've also extended protections for people lagging behind, for example by putting restrictions on what kinds of contracts can legally be entered into and voiding contracts that one party could not have reasonably been expected to understand, or entered into under duress or undue influence.

And are constantly bypassed in practice by those with more resources than others wrt engaging with the various legal systems (or corruption thereof) around the world.

> None of these protections exist under "smart" contracts

Not true, some people buy off chain legal insurance for a particular juridiction and only deal with protocols they have some legal recourse over. Some use multisig accounts with trusted parties.

> which is exactly why we can't and won't allow code to govern or mediate life as web3 envisions.

There is no shared we though, some individuals (and governments) will adapt to it, some wont, some contracts/cryptocurrencies will survive, some wont, and people will make the convenience trade-offs like they always have had as things change. If you are only willing to try to force someone else to do your dirty work of imposing on peoples freedoms, you'll be behind those who are willing to put you in the ground themselves to defend such irrespective of any particular jurisdictions laws.

> Your dystopian vision of "oops, you lost your retirement savings because you didn't decompile that contract before interacting with it, too bad", or "oops, you lost your retirement savings because someone beat your wife with a baseball bat until you handed over your private key, sucks to be you"--in short, the dystopia of "code is law"--flies in the face of thousands of years of jurisprudence and civilization.

Bad things will continue to happen to some people even with out smart contracts or cryptocurrencies (bad things which don't happen to most people in the course of their lifetime btw), but if you want to live your life in fear as an excuse to not learn and adapt in face of bad things that may happen, that's on you.

> Once the goldrush hype wears off people will realize how heinous the fundamental idea is and dump it in the gutter of history where it belongs.

Yeah, like when people stop being motivated by greed, like when central banks and governments stop debasing their currencies like they have through out history, like when large private banks and service providers stop blocking people from using their platforms, etc. Could happen, I'm not holding my breath.

Re:Web3 is centralized by vmception on Sunday January 02, 2022 @09:23AM (#29768885)
You can easily overload the transfer() method with approvals of an array of token contract addresses and the subsequent transfers

Its not really a technical problem its a user got phished problem

Re:Web3 is centralized by api on Sunday January 02, 2022 @09:41AM (#29769037)
It's a technical problem in that this shows the the VM for smart contracts is a mess. It should not be so easy to do such things.
Re:Web3 is centralized by vmception on Sunday January 02, 2022 @10:44AM (#29769587)
Okay, if that’s what you want to see

To me it shows that the user experience for wallets doesn’t catch up

Or that the standard classes for tokens leaves more to be desired, there are competing standards

the VM never asked anyone to make token classes and it is phenomenal that people made those classes

Consumer protection can come in other parts of the stack

Re:Web3 is centralized by legutierr on Sunday January 02, 2022 @11:30AM (#29770107)
> One example is to airdrop a backdoored token, and when the user tries to move it they wind up authorizing movement of their other valuable tokens.

Do you have an example of where something like this was actually deployed? How would a user moving one token would result in another token being moved?

I can only imagine a situation where a user might be induced to install a compromised wallet, and then to give that wallet keys to the their account. But this is not an attack strategy that depends on there being a "backdoored token" of any kind.

Is there some way to code an ERC20 token that would somehow give you access to a user's other tokens?

Re:Web3 is centralized by vmception on Sunday January 02, 2022 @11:36AM (#29770162)
To me this is like asking if I have an example of a phishing site, not off the top of my head?

Just embed approval methods for a predefined external token contract address into the transfer() method of the airdropped token

Then you can also chain the transfer within it or you can wait and transfer them all yourself

Doing too much in one transaction will alert more users because the gas price will be unexpectedly large

Re:Web3 is centralized by legutierr on Sunday January 02, 2022 @01:41PM (#29772015)
Ah, am I right that you are referring to something similar to what is discussed in this article?

https://blocksecteam.medium.com/unlimited-approval-in-erc20-...

But is it not the case that the approve() method must be invoked directly by the sender (i.e. by the account that holds the tokens that are the target of the theft)? Wouldn’t the invocation be rejected by the ERC20 token if it is made indirectly, i.e. if the invocation were made from within another method (provided that the target ERC20 token is coded properly)?

Re:Web3 is centralized by davewritescode on Sunday January 02, 2022 @10:05AM (#29769243)
> With the recent introduction of zk rollups on Ethereum, it's now possible to have the best of both worlds, in my opinion (see https://aztec.network/index.html). Transactions that need to be private will be conducted on zero-knowledge rollups built for privacy. Mastercard is working on this with Consensys for Ethereum (https://www.coindesk.com/business/2021/12/16/consensys-colla...).

I can’t find any real technical documentation on this system but from what I understand about ethereum, this kind of use case effectively needs to be run off the main ethereum blockchain?

I just don’t understand what the purpose of the blockchain really is when most of the interesting ways to scale add features rely on processing transactions OFF the chain.

Re:Web3 is centralized by anchpop on Sunday January 02, 2022 @01:17PM (#29771705)
This is a misunderstanding. The goal of cryptocurrencies is not to process transactions. The goal is to order transactions. The order is the hard part. (Notice that if I have one ETH, and I submit a transaction to send alice an ETH and to send Bob an ETH, alice and bob are both very interested in the order - only one transaction can go through, and which one is determined by which one comes first in the chain).

Fundamentally the order doesn’t really matter, as long as it doesn’t change retroactively. Once you have agreement on the order, anyone can process the transactions and know they’ll get the same final result as anyone else.

I’m not sure about this specific one, but most “rollup”s use the main chain for agreement on the order, and then outsource the actual processing to someone outside the chain. Some use cryptography from verifiable computing, so the off-chain person can also submit a proof that their processing is right and there’s no possibility of fraud. (the proof can then be verified extremely quickly.)

Re:Web3 is centralized by aflag on Sunday January 02, 2022 @07:00AM (#29768033)
I think the point regarding centralization is that with the blockchain the ledger is central (assuming a single coin ends up winning) whereas right now we have many different ledgers that may not entirely agree. Including single individuals having their own ledgers.
Re:Web3 is centralized by me_me_mu_mu on Sunday January 02, 2022 @03:33AM (#29766947)
So if I don't trust Big Tech, I'm somehow supposed to trust groups of sketchy people who do things like give up their US citizenship (as an immigrant to the USA - the privilege is real) to move to {insert sketchy country or a known haven for certain activities - its legal there!} so they can now facilitate millions of dollars moving each day outside of any government jurisdiction.
Re:Web3 is centralized by vmception on Sunday January 02, 2022 @03:40AM (#29766974)
I mean, yeah. There is a privilege associated with that. The US is a great starting point, but you can outgrow it, especially when it comes to financial services if you aren't interested in the incumbents.

People with money in stable economies aren't clamoring for US citizenship, some are interested in it but its just an option. The whole continent is populated by people that lost consensus wherever they came from. Like 99% of the population has a heritage that was either deemed an extremist in their "motherland" or were simply just outside of the cool kids club and had to fight for scraps, or avoiding the impending reality of both. The other 1% are basically the 1% financially and just here for play while retaining their options to do the same anywhere.

Re:Web3 is centralized by Ekaros on Monday January 03, 2022 @03:42AM (#29778623)
US citizenship is also one with most burden from having it. At least compared to many other stable ones. Yes, you can make great money there, but also the taxation is not done by vast majority of other citizenships. So getting rid of it for anything slightly worse makes lot of sense from individual stand point.
Re:Web3 is centralized by elevenoh on Sunday January 02, 2022 @08:43AM (#29768640)
You seem to label group/people rather than evaluating ideas for what they are.
Re:Web3 is centralized by lawn on Sunday January 02, 2022 @03:29AM (#29766927)
This is not true for Monero, that hides the sender, receiver and amount for all transactions by default.
Re:Web3 is centralized by UncleMeat on Sunday January 02, 2022 @09:33AM (#29768963)
Monero is one of the few chains that offers a truly new feature on top of other alternatives and... look at the price chart of its tokens. Now compare that to Shibe or whatever. Makes it pretty clear that price is driven by memes rather than features.
Re:Web3 is centralized by cle on Sunday January 02, 2022 @11:23AM (#29770043)
I think this is very true even outside of crypto. As an extreme recent example, consider GameStop.

This problem is larger than crypto. It seems to be related to the accessibility of trading to "retail investors" (enabled by lower fees, new technology, monetary policy, etc.).

Re:Web3 is centralized by vmception on Sunday January 02, 2022 @04:14AM (#29767139)
And also Secret Network, which hides smart contract variables, which therefore includes token and wrapped token amounts, along with the current owner. Monero has a trustless-enough bridge over to there.
Re:Web3 is centralized by everfree on Sunday January 02, 2022 @04:56AM (#29767336)
And also Aztec Network, and Tornado Cash, and Zcash, and soon Starkware, and...

I'm surprised so many people on Hacker News apparently still believe that you can "see all transactions" on every blockchain. It really only takes some surface level research to find working, production blockchains/cryptocurrencies that use one of several types of cryptography to hide that data, plus if you're using a pseudonymous blockchain, non-custodial ways to "break the link" between wallets.

Re:Web3 is centralized by input_sh on Sunday January 02, 2022 @05:17AM (#29767448)
Okay but like who cares?

Are any of those even in the top 30 cryptocurrencies by market cap? Is anyone speaking about them in the context of Web3 or is it all ETH, XRP and maybe two more?

From my blissfully uninformed mind, the only time these cryptocurrencies pop up is precisely this: as a counterargument to the popular ones, where you can see all the transactions. They're fringes even among the fringe that is cryptocurrencies.

Re:Web3 is centralized by everfree on Sunday January 02, 2022 @05:34AM (#29767553)
> Is anyone speaking about them in the context of Web3 or is it all ETH, XRP and maybe two more?

Aztec Network, Tornado Cash, and Starkware all run on top of Ethereum... Aztec and Starkware are currently in the community spotlight because they're rollups or so-called "Layer 2s" that push the state of the art of Ethereum's tech (and the state of the art in zero knowledge cryptography, especially Starkware's CAIRO language and their EVM to zero knowledge proof circuit transpiler). Tornado Cash has over $4B in deposits, and for many is the go-to way to anonymize transactions on Ethereum.

Ernst & Young released Baseline last year, a zero-knowledge cryptography toolkit for operating private data services on the public Ethereum network.

The answer to "who cares" is basically the entire nascent industry, plus a handful of mathematicians and cryptographers - if you are paying attention.

Re:Web3 is centralized by jacoblambda on Sunday January 02, 2022 @08:40AM (#29768618)
A lot of these smaller networks are on top of or connected to top 10 chains.

A number of the top 10 networks will eventually (~5-10 year time frame) get privacy preserving transactions however the space is still very much in development and it's a bit easier to reason about the network and what changes to make next when you can see what the users are doing. I know at the very least, IOG (the company currently leading Cardano development) is doing privacy preserving smart contracts research with the intent that it eventually becomes part of the protocol.

There's a lot for Layer 1 protocols to accomplish as it is so the space is largely delegating privacy chain research/functionality to L2s for the time being.

Re:Web3 is centralized by withinboredom on Sunday January 02, 2022 @10:54AM (#29769694)
I hear the word “eventually” associated with crypto, quite a bit. I’ve yet to see an “eventually” actually pan out before they run out of money or the value tanks so low nobody will mine it anymore. As an observer following all of this fairly closely, it feels remarkably like a scam.
Re:Web3 is centralized by everfree on Sunday January 02, 2022 @12:53PM (#29771331)
I find it telling that several currently live privacy networks were mentioned in this comment tree that you can use today, yet you still latch on to the word "eventually" and call the space a scam.
Re:Web3 is centralized by withinboredom on Monday January 03, 2022 @01:24AM (#29777942)
Maybe that was a bit unfair. Perhaps what I should say is that there is too much competition, such that no one can get the traction they need to truly accomplish their goals, with few exceptions.
Re:Web3 is centralized by everfree on Monday January 03, 2022 @01:09PM (#29783993)
I don't think too much competition has ever killed a product category. Usually the "few exceptions" end up dominating a market.
Re:Web3 is centralized by dlubarov on Sunday January 02, 2022 @12:38PM (#29771077)
Ethereum already has options for private payments, such as Aztec (https://zk.money/).
Re:Web3 is centralized by jiggunjer on Sunday January 02, 2022 @08:48AM (#29768668)
Doesn't the lightning network used by btc allow obfuscation constructs?
Re:Web3 is centralized by jslove on Sunday January 02, 2022 @10:00AM (#29769210)
yes with taproot that just went live. there is also bitcoin liquid which is hidden as well.
Re:Web3 is centralized by Lordarminius on Sunday January 02, 2022 @05:09AM (#29767398)
> I'm surprised so many people on Hacker News apparently still believe that you can "see all transactions" on every blockchain.

Most have no knowledge of the state of the industry. Their opposition is based on knee jerk reactions.

Re:Web3 is centralized by lottin on Sunday January 02, 2022 @07:16AM (#29768121)
Well, you have to see all transactions, in order to know the current balances on every wallet, in order to prevent double spending. This is, in fact, the whole principle on which blockchains operate.
Re:Web3 is centralized by jacoblambda on Sunday January 02, 2022 @08:49AM (#29768672)
There is no such requirement. The only requirement is that you be able to prove consistency and correctness of the ledger. The naive blockchain implementation needs transaction visibility but there isn't a hard requirement for it beyond that.

Monero uses a system that at a high level is referred to as Ring Signatures (it's not too complicated but it's more than I want to get into at the moment). Zcash and other networks use zero knowledge non-interactive proofs to prove consistency/correctness.

The major drawback of privacy preserving chains is that the transactions are expensive to compute due to all the maths that goes into maintaining that consistency without publicly leaking information. This isn't prohibitive for a desktop but a mobile phone will likely take a few minutes to build and send a transaction in the current environment (can be improved by HW acceleration or general HW improvements).

Re:Web3 is centralized by lottin on Sunday January 02, 2022 @10:01AM (#29769219)
I've spent the last 30 minutes researching how ring signatures can be used to prevent double spending without revealing the spender's balance, and I've found nothing. Do you know where I can find the details?
Re:Web3 is centralized by dlubarov on Sunday January 02, 2022 @01:04PM (#29771511)
There are a lot of variations, but in Zerocash-style schemes (which can be viewed as massive ring signatures), each note has an associated 'nullifier'. Spending a note involves revealing its nullifier, and for the transaction to be valid, the nullifier must not have been used before.

A nullifier is derived deterministically from private account data, and zero-knowledge proofs are used to show that a nullifier was dervied correctly without revealing the private account data.

For more detail I think this is a good explanation: https://electriccoin.co/blog/zcash-private-transactions/

Re:Web3 is centralized by everfree on Sunday January 02, 2022 @01:00PM (#29771452)
Here's a short explanation video to get you started. The general idea is that multiple signers are used, such that an outside observer doesn't know which signer is the "real" one, but only knows that "at least one of them" is.

https://www.youtube.com/watch?v=zHN_B_H_fCs

Re:Web3 is centralized by jacoblambda on Sunday January 02, 2022 @08:04PM (#29776101)
Technically the part the preserves double spending is Ring CT however by and large I see it lumped under Ring sigs when discussed.

Here's a link to the Ring CT papers. The original explains the base system, 2.0 formalises the security of the system, and 3.0 describes how the original protocols had issues and how they were improved.

Original Ring CT Paper: https://eprint.iacr.org/2015/1098

Ring CT 2.0: https://eprint.iacr.org/2017/921

Ring CT 3.0: https://eprint.iacr.org/2019/508

Personally I find the Ring CT 3.0 paper to be the most enlightening of these. For a simpler/shorter explanation however, Moneropedia has some videos that are helpful in this.

https://www.getmonero.org/resources/moneropedia/ringsignatur...

https://www.getmonero.org/resources/moneropedia/ringCT.html

-------

The key details are these.

Monero uses a UTxO (unspent transaction outputs) accounting model. There are a number of networks that use this model, namely Bitcoin. The UTxO model doesn't strictly have a concept of accounts but rather keys and UTxO. You can think of UTxO as as atomic chunks of data/value. These UTxO are created once and used once. If you want to spend money, your inputs are UTxO, the outputs are UTxO, and the balances of all of these inputs and outputs must sum up to a net 0. Now UTxO can only be spent if a valid cryptographic signature can be produced. If your private keys can produce that signature, the value held in that UTxO can be spent by you.

This gives us our three key points. All UTxO consumed or spent in a Tx must collectively sum up to zero, UTxO can only be spent if the proof object/cryptographic signature produced is valid, and UTxO can only be spent if they haven't yet been spent.

First Ring CT has each sender derive a one time private key from their private key and a one time public key derived from the recipient's public key. These keys are used to produce a set of encrypted "coins" which essentially hold the value of the UTxOs being spent and then created. This allows the sender and recipient to know the contents of the actual meaningful transaction. Then a cryptographic proof verifies that out of all the public keys in the Tx, all the keys can spend their selection of coins included in the Tx and only one of them is the real set of coins. From there the balance is verified by doing that some clever math where the sum of the encrypted outputs is divided by the sum of the encrypted inputs must equal some constant determined by the encryption key. This is a bit of a simplification but it works out such that it is equivalent to "ins - outs = 0" in a traditional UTxO system.

The key/signature verification mentioned previously has a nifty property where the produced "key images" serve as what are effectively "hashes" of the UTxO. This means that if any key image has previously been used in a transaction, it effectively guarantees that the corresponding UTxO has already been spent. Going back and checking this is somewhat more expensive than on a traditional network however optimisations (like using a bloom filter) allow for this check to run significantly faster.

That's how Monero upholds those 3 properties that are required for consistency in a UTxO based network without leaking information about the sender, recipient, or balances. In short it's using one time PKI derivations to break information symmetry and then from there structuring the encrypted data so that you can use some clever arithmetic and signature checks to verify correctness.

Apologies if my explanation isn't terribly clear or perfectly accurate. It's my reasonably solid understanding of the system. I'm not a formally trained cryptographer or mathematician so my choice of words or explanations may be somewhat inaccurate however they give a reasonable coverage of how the system works. If you want to dive more into the meat of it, I'd seriously recommend the Ring CT 3.0 paper as it's really well put together once you can get through the terse notation and dense amount of information.

Re:Web3 is centralized by numtel on Sunday January 02, 2022 @06:11AM (#29767776)
I would like to see more information about how Secret network's TEEs (trusted execution environments) are secure. The fact that they rely on special features of some Intel proessors makes me think that any sufficiently powerful actor would be able to break the encryption through backdoors that would exist in those processors.
Re:Web3 is centralized by vmception on Sunday January 02, 2022 @09:31AM (#29768943)
Hit up their telegram or discord

You already know they are sharding secrets into nodes with Intel encryption co-processors but if you need more detail about how you got to hit them up

Re:Web3 is centralized by saito99 on Sunday January 02, 2022 @10:50PM (#29777129)
Too bad most big exchanges don't accept Monero for trading since know-your-customer policies won't work when you can't associate a wallet address with someone.
Re:Web3 is centralized by tata71 on Sunday January 02, 2022 @11:49PM (#29777442)
Too bad most big exchanges are being made obsolete by DeFi 2.0 and multi-chain wallets and services.
Re:Web3 is centralized by saito99 on Monday January 03, 2022 @07:51PM (#29789500)
They'll try to find a way to stay relevant
Re:Web3 is centralized by numtel on Sunday January 02, 2022 @06:07AM (#29767751)
A few issues with this:

1. Not all crypto currencies are public. See monero, haven, secret network. Although that last one depends on some specific features of some Intel processors... I'm of the opinion that the pseudonymous nature of public blockchains is very beneficial to society. I would love it if I could see what companies, governments, and people near me were spending their money on. It would enable me to make better decisions.

2. "Web3" is about decentralization but it doesn't necessarily mean storing data on a blockchain. The most important aspect is that users no longer have to sign up or log in. They submit responses which are signed by a key pair, which is their identity instead of a record in a "users" table.

Re:Web3 is centralized by UncleMeat on Sunday January 02, 2022 @09:35AM (#29768979)
> "Web3" is about decentralization but it doesn't necessarily mean storing data on a blockchain. The most important aspect is that users no longer have to sign up or log in. They submit responses which are signed by a key pair, which is their identity instead of a record in a "users" table.

It is a record in a "users" table. It is just that this table is the publicly readable blockchain.

Re:Web3 is centralized by ViViDboarder on Sunday January 02, 2022 @11:20AM (#29770004)
Exactly. And, if everyone is using the same blockchain for names (to get the universal login experience), then that becomes centralized source for user accounts. Compare that to today where I have distinctly separate accounts on nearly all platforms.
Re:Web3 is centralized by UncleMeat on Sunday January 02, 2022 @01:26PM (#29771827)
This one I find especially hilarious given the complete hatred people had for the unification of user profiles among Google products that happened a decade ago. "You are telling me that my gmail account has to be linked to my youtube account, wtf" was a common complaint. Now, this is seen as somehow desirable?
Re:Web3 is centralized by danlugo92 on Monday January 03, 2022 @10:36AM (#29781748)
You can create infinite identities :shrug.
Re:Web3 is centralized by ViViDboarder on Sunday January 02, 2022 @11:24AM (#29770048)
How do you figure that public blockchains provide a more pseudo anonymous experience than anything we use today?

I can go to a website today and register any name I want. The main thing that can break that is IP. How does a public blockchain solve the problem of routing a request to a device? How does consolidation of all user accounts to a single public ledger offer _more_ anonymity than exists today where I can have a random distinct account on any website I use?

Re:Web3 is centralized by xondono on Sunday January 02, 2022 @06:18AM (#29767815)
> I'm of the opinion that the pseudonymous nature of public blockchains is very beneficial to society.

Have you tried to “steelman” this? Because I don’t think it will pass basic scrutiny.

The same companies and governments you want track have more incentives and resources to hide their transactions than any individual, so, either all transactions are public or they’ll be able to hide while most individuals won’t.

Re:Web3 is centralized by numtel on Sunday January 02, 2022 @06:38AM (#29767911)
Well, except for ransom attacks, nobody is forced to use a public cryptocurrency.

For it to be common and being proud of one's economic transaction history would be awesome.

In the 90s, experiments in publicity like reality TV and the Truman Show movie gave way to social media in the next decade. We are constantly finding new ways to publicize our lives because there is value in publicity.

Privacy shouldn't disappear absolutely but we've got a long ways to go towards greater publicity before reaching the limit of usefulness.

Re:Web3 is centralized by neurotrace on Sunday January 02, 2022 @08:22AM (#29768491)
> being proud of one's economic transaction history would be awesome.

I sincerely doubt we'll ever see that. First off, Venmo has already tried to apply the social media formula to transactions. I don't know of a single person who reads their Venmo feed just for fun. Next, most transactions are boring and not worth sharing. "John bought toilet paper and Q-tips. [Like] [Retweet]".

You state that the move to hyper-publicity that we've already seen hasn't reached it's peak for usefulness and yet there are already widespread conversations about the dangers and pain that this hyper-publicity has caused.

If we reach a future where people are "proud" of their transactions and are sharing them everywhere then we've made a horrible mistake.

Re:Web3 is centralized by mvanbaak on Sunday January 02, 2022 @11:01AM (#29769786)
> I would love it if I could see what companies, governments, and people near me were spending their money on. It would enable me to make better decisions.

I dont get this. I mean, spend your money on the things you need, and if there's money left after that, spend it on things you want. Dont spend it on something your neighbour wants. Let them spend their money on that.

Re:Web3 is centralized by meltedcapacitor on Sunday January 02, 2022 @06:52AM (#29767994)
Open ledgers could indeed be a good thing, but no need for blockchain for that, the legislature could simply require all banks to dump all tx daily in a standard format (a payment system version of what the SEC's EDGAR does for US public company disclosures).
Re:Web3 is centralized by aflag on Sunday January 02, 2022 @07:02AM (#29768045)
That wouldn't track informal trades made with cash. With a common ledger there would be no way to circumvent the system.
Re:Web3 is centralized by hinkley on Sunday January 02, 2022 @01:05PM (#29771521)
Private ledgers are also sharded, which means they scale much higher.

When cryptocurrencies can handle 10% of Visa’s transaction rate, somebody wake me up and I’ll start paying attention to it. Until then a lot of this stuff is pearl clutching.

Visa is only a fraction of total money transactions worldwide. To be a replacement it has to be able to go an order of magnitude higher than Visa, and last I checked it’s still three orders of magnitude below Visa. That’s a lot of orders of magnitude to overcome. Too many by most accounts. People who make those sorts of improvements started out with a prototype that was already 20-50 times faster than the status quo.

Re:Web3 is centralized by meowtimemania on Sunday January 02, 2022 @02:55AM (#29766750)
I think of it as centralization in that all transactions will be stored in one “database”, but decentralized in that the database has millions of nodes and anyone can add their hardware as a node
Re:Web3 is centralized by phoe-krk on Sunday January 02, 2022 @03:35AM (#29766957)
That's centralization, just replicated for redundancy.
Re:Web3 is centralized by theK on Sunday January 02, 2022 @04:32AM (#29767220)
Not completely. The main difference between blockchain and classical banking is that the protocol defines what transaction can be done and the network of block producing nodes manages the evolution of its state. In classical banking you have multiple routes that go around the protocol (law in this case) and you also live in a federated feudal system where your bank reigns supreme in what you own.
Re:Web3 is centralized by xchaotic on Sunday January 02, 2022 @06:49AM (#29767967)
I call bs on this argument. Protocol on the blockchain still has to abide by the rule of law. And the idea that certain things are not allowed on the blockchain is false - someone will create a new fork, chain or there will be a more elaborate workaround. It’s just a very complicated way to deliver anything.
Re:Web3 is centralized by theK on Sunday January 02, 2022 @12:16PM (#29770717)
Adoption of forks depends on public adoption. Let's call this common consensus. Classical law is just the public deciding which set of rules leads to a healthy society, these laws are then adpptedby societal structures. Let's call this... Hmm common consensus? You are seeing differences where there aren't any.
Re:Web3 is centralized by mattwilsonn888 on Sunday January 02, 2022 @09:27AM (#29768915)
That was true five or ten years ago - today there are legitimate alternatives and work being done on even better alternative to solve the issue you are talking about. Most fall under the domain of Zero Knowledge Proofs which have use cases beyond pure blockchain systems.

Apart from that, Web3 isn't simply crypto-currency adoption, its about using the consensus innovation core to crypto-currencies to build platforms regulated autonomously by a public group with certain guarantees for security, openness and control.

Re:Web3 is centralized by ur-whale on Sunday January 02, 2022 @05:13AM (#29767424)
> it moves records of transactions from many private places to one public place

True for some of its current incarnations, but it is absolutely not a built-in limitation and therefore not a valid criticism of the entire space.

As a matter of fact, a number of existing blockchains are already entirely opaque to analysis (zcash, monero, grin, beam, etc...), and in these, the effort required to actually connect participants and transactions is typically orders of magnitude larger than the economic rewards you'd derive from the answer.

Re:Web3 is centralized by hooande on Sunday January 02, 2022 @06:03AM (#29767726)
if it's opaque to analysis, what's the point in using a blockchain? why not just a central database?
Re:Web3 is centralized by ur-whale on Sunday January 02, 2022 @07:11AM (#29768090)
> why not just a central database?

I would have thought this to be obvious, but these chains, while anonymous still have the following attributes:

    - decentralized
    - permissionless
    - does not rely on third-party trust
A central database has none of these attributes.
Re:Web3 is centralized by ViViDboarder on Sunday January 02, 2022 @11:29AM (#29770093)
Really? So I can go onto one of these chains and transfer anything to a new address without a third party blessing my transaction?

I was under the impression that nearly the entire thing is based on some form of consensus. Consensus is necessarily by third parties. So if the consensus drives decisions on what gets accepted and what does not, is that not a permission? If there is a single dominant consensus, is that not centralized?

Re:Web3 is centralized by che_shirecat on Sunday January 02, 2022 @01:38PM (#29771974)
centralized = one party holds all the power. decentralized = many parties, each of which do not hold all the power in isolation, therefore must come to consensus on a case-by-case basis to make decisions. equating decentralized consensus to "oh but that just means they become a centralized single party in aggregate" is an incredibly stupid take. just because I can agree with 4 other parties that one transaction is valid does not that mean that I somehow merge with all 4 of those parties into an entity that has the exact same interests for everything else. can you understand that?
Re:Web3 is centralized by hooande on Sunday January 02, 2022 @04:45PM (#29774289)
if you can't see the transactions, aren't you trusting a 3rd party that can?

further, none of this is "obvious"

Re:Web3 is centralized by edderly on Sunday January 02, 2022 @03:11AM (#29766822)
Not sure about the fraudsters necessarily, but it seems like a core irony of the so called web3 is that the concepts involved could have great utility for governance of individuals and companies in an economy where a great deal of effort is spent tracking down tax dodgers. However, the web3 anti-establishment shtick seems to sell better at the moment.
Re:Web3 is centralized by Lordarminius on Sunday January 02, 2022 @05:07AM (#29767389)
> Cryptocurrencies are the ultimate example of this and are an absolute boon to tax collectors, forensic accountants and fraudsters.

If it represents a boon to forensic accountants it cannot also be a godsend to fraudsters.

Re:Web3 is centralized by ericd on Sunday January 02, 2022 @06:36PM (#29775349)
I’m not an expert, but my impression is that lightning makes this not so much the case - that payments are routed through a web of peer to peer nodes and they only do periodic net settlement on the public blockchains.
Re:Web3 is centralized by elevenoh on Sunday January 02, 2022 @08:42AM (#29768629)
Are you aware that any level of privacy in crypto transactions already exists?

From completely private to completely public.

Re:Web3 is centralized by headmelted on Sunday January 02, 2022 @07:26AM (#29768174)
Imagine paying someone for a sandwich and being obligated to give them access to view your bank account balance (past, present and future) in perpetuity.
Re:Web3 is centralized by jslove on Sunday January 02, 2022 @09:59AM (#29769189)
with taproot bitcoin lightning transactions can be mostly private, scalable, not using energy, and cheap.
Re:Web3 is centralized by bravenous on Monday January 03, 2022 @04:13AM (#29778811)
True but you missing the point. This shared database gives the power of decentralisation- you won’t get cancelled - the so called permission less data. Nobody is control yet everybody has some control - true democracy.

The public transaction problem is solved by bullet & zero knowledge proofs in currencies like Monero & Zcash. I trust Monero more as it seems Zcash has a on demand back door to unravel specific transactions.

Web3 is a panacea but it might take a decade to arrive as the building blocks are in place.