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...).
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.
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.
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.
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...
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.
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)?
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).
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.
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.
Its not really a technical problem its a user got phished problem
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
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?
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
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)?
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.
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.)
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.
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.).
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.
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.
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.
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.
Most have no knowledge of the state of the industry. Their opposition is based on knee jerk reactions.
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).
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/
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.
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
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.
It is a record in a "users" table. It is just that this table is the publicly readable blockchain.
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?
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.
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.
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.
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.
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.
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.
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.
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.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?
further, none of this is "obvious"
If it represents a boon to forensic accountants it cannot also be a godsend to fraudsters.
From completely private to completely public.
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.
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.