by lmarcos · 4y ago · 0 comments
I feel kinda ashamed. I work in the IT industry and I claim to have knowledge about ("good") software engineering practices, distributed systems, compilers, algorithms, etc. Nevertheless, I didn't understand a word of what the article is saying. Could you recommend serious references (preferably books and not random blogs) I could read to catch up with what's going on with crypto these days? I'm not planning to "buy" crypto; I would like to understand the technicalities.
The short of it is:
- The block chain is a distributed ledger database, where all peers hold a full copy to avoid manipulation (faking an entry is only possible by controlling >50% of machines in this peer-to-peer network).
- Spending money is implemented by adding a transactional record to the blockchain ledger at the end saying X amount moved from account A to B. A block is like a page in a paper ledger and they are appended with cryptographic hashes to avoid improper interference.
- Ethereum supports smart contracts, which are little scripts in a language called Solidity. So you can implement legally binding (and unstoppable) contracts along the lines of "if (condition) then (pay some money to someone)". Executing smart contracts cost a little bit of money. All Ethereum nodes collectively implement a distributed VM, and that money (called "gas") is the incentive to keep the network running. Smart contracts are highly interesting, and they have applications far beyond electronic currencies. For example, we played with implementing electronic rights management (https://link.springer.com/chapter/10.1007/978-3-030-36691-9_... - which turned out to be less than ideal due to a stack size limit in the current Ethereum VM, but hey).
- Whenever a new block (page in the ledger) needs to be created because the previous one is full, a randomized alg. determines who is permitted to do that ("mining"). The old process (proof of work) was environmentally a disaster (it still is for the Bitcoin ecosystem), which is why the Ethereum people implemented a smarter method (proof of stake - https://en.wikipedia.org/wiki/Proof_of_stake).
[0] https://ogucluturk.medium.com/the-dao-hack-explained-unfortu...
I have no idea how smart contract could be globally enforced, or can they be, but if they can, the way I see it, this should create new prosperity for those who have been unable to enjoy access to fair courts and binding contracts.
This is the heady mythology of those who said 'Crypto would create XYZ for those who cannot'.
Except it's been 10 years of Crypto popularity and they have no material function, are a huge drain of energy and human intellectual capital.
Contracts are subject to legal oversight of a Judicial system, the credibility of which is require of a system to function.
Digitization of a 'contract' really doesn't make sense so much at all in terms of it's 'legality'. The algorithm whether it's in regular code or Ehterium makes no difference.
If someone really wanted to 'help those without legal recourse' they'd just use a foreign legal system for transaction record. So, contracts between 2 people in Haiti could be designated under 'Canadian Law'.
But even that would be besides the point: It's not the 'legal system' that makes things work, it's the integrity of the system overall, maintained by a 'legal system'. Canada isn't rich because it has a 'legal system' - that's just one component. It's rich because people and groups act with integrity. The 'law' is involved very rarely.
There's no technical utopia that will replace 'integrity'. Or frankly 'values'.
Ehterium is a neat experiment, that's all it is for now.
Like for example in the world of finance, where you have to be able to backtrack.
Meaning such 'contracts' are least useful for things like, well, 'currency' and 'stores of value' ... hmm ...
I think the bigger issue is that the system is somewhat arbitrarily controlled by the large players. That could work out well in some cases (funds hacked are returned) but it could also be less optimal (e.g. you're thrown on some list and all of a sudden your transactions are not valid). We've already seen hackers and obviously malicious actors dinged, which is good. But this opens up an avenue for things like forcing participants to go through regular banking protocols that starts to affect more and more people (e.g. political dissidents). By then you just recreated the modern financial system with all its flaws and gatekeepers, except its less efficient.
There's no problem with spending the energy if it actually buys us something. It's a disaster because it failed to actually decentralize the network.
Instead of everyone with a computer being able to participate, we have very few people buying up all the hardware for their massive centralized mining operations. If that's how it's going to be, then we might as well move on to proof of stake.
Monero seems to have a better designed proof of work system. It's ASIC and GPU resistant, normal people manage to use their computers to mine XMR. One CPU one vote, that was the whole point since the beginning.
I would just call that "automated decision" The legally binding contract is the one where the parties agree on using the implementation as their means to fulfill the contract.
There is nothing legal related in that and no law in any legislation I am aware of giving it any special treatment.
No - they are not necessarily legally binding.
They are just called 'contracts'.
We have no idea what they mean, and each individual 'contract' will have to be scrutinized by the Judge, or else it's not 'legal' anything.
what are some examples of these conditions? how is it not like... i put money in escrow, if the buyer agrees i did my part, they click agree and that's the "condition"?
A bit off-topic, but do you think this kind of rights management ledger is better stored and accessed in traditional data stores and managed by either a government entity or a private-public partnership of some sorts?
It seems like self-signed authentication would still be viable but with the added bonus of a mechanism for dealing with lost private keys while at the same time allowing for individual entities to quickly and effortlessly exchange ownership.
how large is a full copy these days?
how are peers jump started and why is that mechanism trusted so well? like say I want to connect to the blockchain, I need to make an API request to some IP. how is that resolved and why is that regarded as "decentralized"? why is the mechanism for serving me peers trusted and why is every peer in the network trusted?
"What is going on now" is largely the same thing as before:
* consensus / Sybil resistance / game-theory / "crypto-economics"
* cryptography - signatures, data structures (e.g. Merkle tree)
* p2p networking
* deterministic computation / virtual machines
If you have a solid CS/software engineering background, you probably already know 90% of it.I guess crypto-specific consensus might be new, but you can get a good grasp reading few articles. And that part is actually opinionated, so you need to decide on a camp before you read materials. Bitcoin people would likely disagree with anything written about PoS.
Another fun thing is Zero-Knowledge Proofs (ZKP). That's actually quite new, complex and might be interesting.
The rest can be rather boring. Users submit cryptographically-signed commands (transactions) which processed in a deterministic fashion. I'm not sure it's worth reading a whole book about it.
OTOH cryptocurrency consensus is mostly about answering a question: "How do we prevent bad guys from stealing money or doing other nasty things?"
While a concept of Byzantine Fault Tolerance was known before Bitcoin, it was never really applied in practice AFAIK - people thought it's overkill. Also I'd say doing it within a private network is one thing, and doing it with random weirdos on internet is completely different.
Distributed computing researchers like Lamport were considering models where e.g. up to 30% of nodes are compromised, that won't work on internet where an attacker can potentially simulate billions of fake nodes. Nakamoto consensus is really elegant as it combines Sybil protection, incentivization and consensus into one thing.
That can be difficult if you read tech news like us, but it will give me a small twinge of joy if I live longer than crypto. Guess we'll see.
The underlying problem that blockchains solve is 'distributed consensus'. This is a solution with a much broader range of applications. For example Maersk has a system for signing handover of shipping containers in ports (https://www.maersk.com/apa-tradelens). This is an international problem with a lot of it happening in countries with a lot of corruption (i.e. you can't rely on legal mechanism). Not being able to forge who is responsible for which container eliminates a lot of problems.
Ethereum does something even more interesting, which is that the network can agree on the result of computations (these are called dapps for "distributed apps"). These can be used to implement simple "smart contracts" for financial purposes but they have a much broader applications. To some extent I'm slightly underwhelmed by the things people are doing with them, but the potential is enormous.
The Maersk thing is a fine example. It's one company. They already have the trust relationships and legal power that make distributed-consensus approaches unnecessary. That "blockchain" is involved makes no practical difference. It was a shiny bauble that got a lot of consulting hours for IBM, and surely helped getting the project approved because Maersk execs were seeing "blockchain" in the news a lot when it was kicked off.
I have little trust in cryptocurrency beyond "people like hype markets", but a global consensus layer is an obvious step with many applications for whittling down every process to its barebones - with some guarantees at a protocol level that the savings aren't going to anyone in particular. This doesn't need to do anything new, it doesn't need to do anything flashy. It just needs to slowly devour every existing business and reduce them to essentially open source software, uncontrolled by any middlemen or power brokers, accessible by anyone for pennies. And it probably will!
Many in tech look at crypto, and blockchain specifically as if it is another technicalogical capability they can integrate into their enterprise architecture. From that perspective blockchain in general doesn't really make sense. As cool as the composability of tokens and smart contracts are, that's not a capability only blockchain can deliver (in fact that's not the blockchain at all... that's the standards that have been built on top of it).
Others in tech look at blockchain as a currency to replace traditional currencies issued by governments. A reasonable world view, as that's kind of how it's been sold for a very long time, but it's pretty clear to me at least, that's not really possible. The US Gov is always going to require taxes to be paid for in dollars. The US, EU, China... everyone, they're not going to give up monetary sovereignty.
So what does crypto provide then? In my opinion, the sole thing the blockchain provides, when sufficiently decentralized is digital sovereignty... but more importantly an unlimited amount of digital sovereignties. Opt-in self governing communities that can decide for themselves what's fair. An enforcable user bill of rights that's global in nature. This doesn't replace the real-world sovereign nations, it's like a new layer in the digital world for digital applications. I've personally come to realization that Crypto doesn't really work well in the physical world. But in the digital world, it's proving quite adept...
Technology is still evolving, ETH2 is a huge leap forward... and glad to see it. Personally, I'm still attached to the Avalanche community because I personally think the technology is still superior. But the technology is kind of not the important part. It kind of just needs a minimunm spec, and then it's not important. It's how you treat the users who are using the stuff built on top of the technology. Libertarians were the first to understand that (though i'd argue they fail to understand that need to have a foreign policy, and real world governments are legitimate trading partners that you need to negotiate with. Their insistence on idelogical purity will be their undoing) But crypto is big enough for all kind of communities to crop up, and you can choose to join or not.
That's ultimately the thing, any app you can build in Web 3, you can replicate in Web 2 with a single server. But in Web3, the users can own it, and they can decide for themselves how to govern themselves. That's the value. We live in feudal system, a world dominated by Web 2 companies. Web3 in my opinion is the way we can build a diverse economic ecosystem of free (as in speech, not beer) digital services.
One thing I Think a lot about... today, all people in crypto are dual citizens. They have citizenship in their geogrpahic world, and in the digital world. But there's a future where AI can be pure digital citizens (citizens who have needs, such as compute, and they will trade their AI skills for that compute). I view a lot of the debate around crypto as a debate about foreign policy, and that gets really interesting when it's AI on the other end.... maybe a free AI :D
First problem is that the owner(s) of majority of voting tokens can unilaterally decide anything in the community. Because they work on "winner takes it all" principle. This means they are not self governing (because minority stakers are effectively excluded from any governing), and they are not decentralised.
Second problem is that there are no "people"/"humans" in the token infrastructure, there are only wallets. And there is no public mapping between wallets and humans (unless they expose themselves). This leads to the ability of "oligarchs" who own the majority of tokens (see problem #1) to obfuscate their existence. Creators of the community will false advertise that "oh no, we have no majority stakers, here people can truly decide anything by voting", but in reality there can be majority staker who owns majority of voting tokens, just spread out across the several wallets.
Basically these DAOs are recreating feudal fiefdoms in the digital realm but obfuscated by lies or omissions of information.
Because you don't really own it in web3 either. Until normal people get comfortable with self hosting their own stuff there will always be gate keepers and places where governments can apply pressure.
You don't really own your crypto coins unless you have your own wallet on your own hardware (with proper backups as well). And for most normal people even just that is too much.
And we are rapidly approaching a point where we don't really even own our hardware any more.
And everything else, that is build on top of that needs to run on top of some machine somewhere and unless you own it, you can't really rely on it. It's all encrypted so they can't steel from you (unless bugs), but they can also shut it down. Sure there are plenty(and jet still not enough) of nodes on ipfs system now. But many someone's need to run them and it's always possible that people will loose interest or economies will change and number of nodes goes down enough that it becomes practically unusable.
Same problem is with much of the other web3 stack. With few companies controlling much of the developers/stack and infrastructure needed.
Sure it's all open source and distributed, but even nowadays in early stages, before the masses come in, we are talking about lot of infrastructure needed to run everything.
And right now there are VC's putting billions in investments in this space, so having lots of infrastructure for "free" seems like it works. But sooner or later this people will want their money back, with interest, and regular people will be even more screwed, because this is completely unregulated (which is why VC's love it so much ) as a design principle.
On the other hand if you are technical enough to be able to self host your own stuff, boring old federated systems, like smtp, jabber , matrix, ... are a lot easier, cheaper, with a lot less moving part - easier to administer etc.
I am all for federated content and people owning their own digital features in their own hands and I think crypto chains are a distraction/overcomplication at best and could possibly be a trap for ultimate corporate walled gardens.
So my focus is on boring old self hosted federated services.
Well, that's the thing about freedom. It's a pretty big responsibility. You can't offload the responsibility and still be free. True in the real world, and true in crypto.
Perhaps my biggest issue then is I'm not all in on the purely digital world that you describe and admit doesn't really exist, yet. That is to say, my plumber doesn't care about any of this and just wants cash. In the future, that can and probably will change, of course.
But today, in our current world, very few industries and virtually no blue collar industries accept such currency.
So then the question becomes, what is the value of <insert coin here>. Some will talk about energy, or efficiency. Some will talk about scarcity. Some will talk tech merits. But nobody to date has been able to convince me that it has any real value. There are no armies or economies validating it.
I think in simple terms, perhaps I'm a luddite. If someone, say completely disconnected from modern conveniences, were selling an item, I could perhaps trade physical goods for it. Or perhaps shiny metals, and explain why they're valuable(assuming they didn't know). Or explain dollars, and the guarantee behind them. How would you sell them on cryptocoins having value? The tech doesn't matter a ton here to a person, so onto the value. Why are bitcoins worth more than say, beanie babies of yore? Both seem to be run purely on speculation, at this point.
Said another way, if someone gives me 10k in cash, I have faith it will still be worth 10k in a year(ignoring our awful inflation). If someone gave me 10k in bitcoins, I have zero faith it would be worth anything tomorrow.
The world doesn't need to be purely digital, and crypto doesn't need to be the entire worlds economy. In fact, my argument is that it's NOT. It's something seperate, and unique and new. It's not a replacement for the economy, it's an addition to it. Though i'm sure a plumber could find a useful digital service hosted in crypto... i'd argue crypto isn't for plumbers. Not their plumbing business at least.
Imagine a git + smart contract service (this doesn't really exist today, and it's my side project i'm trying to build) which is integrated with a hosting service like Akash (cosmos). You can build new digital services/games/worlds that are governed in a decentralized way. You could build a new Facebook for example. The difference here, are changes are voted on by the owners of the token. I'm not even sure the token would be worth a whole lot monetarily (depends how the owners). But as a user, how much is having control over the social media you use daily worth? To me, A lot.
Everything in crypto is open source, but unlike the open source world today, crypto provides a mechanism and culture to pay contributors. So a lot of crypto applications are designed to capture that value in a communial way to pay people (or bots) for their work. The value of the crypto is access to these services. It's no different from the value our digital economy today provides. Just governed differently. Instead of Zuck controlling the digital service, the users can control the digital service.
> So then the question becomes, what is the value of <insert coin here>. Some will talk about energy, or efficiency. Some will talk about scarcity. Some will talk tech merits. But nobody to date has been able to convince me that it has any real value. There are no armies or economies validating it.
Why are stocks without dividends worth anything? Companies have earnings. Many protocols have earnings as well, and they are built on top of Ethereum, which provides the security layer. What do you mean by "real value"?
> Said another way, if someone gives me 10k in cash, I have faith it will still be worth 10k in a year(ignoring our awful inflation)
10k denominated in what? I think ignoring inflation is an example of why people care. You only trust your cash because you trust the US government, which may be reasonable, but people in other parts of the world don't trust their government with monetary policies, e.g. [0]. Imagine inflation gets worse, the EU needs bailout, or we have WW3, and the the US government says "Sorry, you're no longer allow to buy gold or move your assets abroad, you need to buy our bad government bonds" - stuff like this has happened before, in many countries. And you can't do anything about it other than watching your savings crumble. Crypto gives you optionality. A government-independent monetary ecosystem. Nobody can lock you out. I trust the "Ethereum government" more than most centralized governments due to the transparency, global footprint, and aligned incentives. I can hold my savings in a USD-backed stablecoin as long as I believe in the US government's monetary policy. If that changes, I can swap into something else in a matter of seconds, and I don't need permission from any government to do so.
My experience has been that the value people see in crypto is directly inversely proportional to how much they believe in their government and whether they have experienced governments being malicious due to misaligned incentives. Most middle-aged people in the US don't fall into this category - they have never experienced war or malicious governments because they were lucky being born at just the right time and place and enjoyed nothing but prosperity. Convincing them about crypto is hard.
[0] https://devonzuegel.com/post/inside-argentina-s-currency-exc...
I'm waiting for a good relevant use Case.
Haven't found one yet which is purely digital.
No, rampant speculation made that.
I don't need to understand how an internal combustion engine works to know cars are not a fad. Same way I don't need to know how to reverse-engineer a distributed ledger system to know crypto is.
Other systems that do not use cryptography and instead often rely on trust in exchanging critical secrets, such as how the banking system generally works, are outdated.
You could argue the intermediary knows the info, but most crypto buyers also use an intermediary.
Crypto doesn't give a shit about borders, there's no intermediary who can freeze your assets (unless you decide to leave them on am exchange), etc.
The word works is doing a lot of work there. Every compromise, hack, scam, theft, and weird "oops I sent the crypto to an address that doesn't exist and now it's gone forever" incident screams for central authority. Even what we call Ethereum is a rage-quit to pretend the DAO thing didn't happen.
This describes any "push" payment system where you instruct your bank, service provider, wallet, device etc. to transfer funds, rather than providing the payee with your information, as well as any pull-based system with additional verification (such as 3DS and PIN-based payment cards), and isn't unique to crypto at all.
other than that https://ethereum-magicians.org/ and github.
In my opinion too, the crypto crowd is typically one I like to avoid. But to dismiss the tech behind it as babble is sad.
And this is my opinion as someone who loves the value proposition of what cryptocurrency was supposed to be (see first line of Satoshi whitepaper), and care more about seeing the technology gain mindshare than hype cycles and price movement.
There's a lot of other stuff beyond Ethereum, too. Privacy coins in particular look very little like what was envisioned in Satoshi's paper.
Whether that's all worth anything from an economic perspective, I'm not sure (and even less sure whether it's worth what it's valued), but crypto is legitimately a bunch of very clever technological solutions to hard problems, invented by actual hackers, so I'm a little sad to see people minimizing it on Hacker News.
Especially since this particular innovation is ameliorating the whole global warming problem, which is the prime criticism leveled at crypto. Take that away, and isn't it just open source software that we're talking about here?
The consensus and scaling mechanisms being rolled out were only just created in the last few years (that's why Ethereum PoS took so long, thery were still making changes to the design as new research came out).
B. This "merge" in particular utilizes innovations in computer science that were non-existent 12 years ago when the original Bitcoin whitepaper was published.
C. There continues to be loads of cutting edge CS research that is broadly applicable to the entire industry but is being spear-headed by blockchain development, for example work on Zero-Knowledge Proofs.
However, I don't regularly dismiss fields like that, but rather I understand that not everything is meant for me to understand without a deeper meaning. Not sure why anyone would treat the (technical) ecosystem of cryptocurrencies differently. Seems like a non-curious way of acting.
Just like I realize the problems pornography introduces to the world, but reading and speaking with engineers working at those companies are still a fruitful endeavour for me.
Fully distributed consistency algorithms running on N nodes on linked list in which each node is a Turing-machine program run concurrently on N nodes, whose consistency shall also be insured, and which can write on said linked-list. Everything has absolutely tons of edge-cases related to the distributed nature of the thing to take care of.
Of course, I haven't even begun anything about the whole "crypto" part, and minimizing power usage.
Absolutely no meaning besides "linked lists", riiiight...
How would you
A) allow for secure payments without giving away something like a bank account # or debit card number
and
B) ensure that, even if those payments were secure, there was no other cheating, such as people at a bank just deciding to initiate an account with one million?
Generally speaking the way to handle those requirements is by employing cryptographic signatures and public blockchain(s), and the result is usually referred to as a cryptocurrency.
You can use PKI for this. The public key is public and the private key never has to be online. That's how (most?) crypto works, but the system doesn't have to be a cryptocurrency to work like this.
> B) ensure that, even if those payments were secure, there was no other cheating, such as people at a bank just deciding to initiate an account with one million?
You can have public ledgers without crypto, there's usually no reason to do so, and good reasons not to do it (privacy, funnily enough).
Crypto is _a_ solution for this, not _the_ solution, and not even the best solution at that.
The second one is a dubious benefit if you're at all interested in stopping crime (eg money laundering is very easy if no party can block a transaction.)
Thats not to suggest there's no benefit to ETH, or even that crypto might be better than traditional money in some ways, but those two specific points are fairly easily argued.
We have a whole bunch of these systems, like Open Banking payments in the UK, Pix in Brazil, and to a lesser extent stuff like Apple/Amazon pay and other payment proxies which don't require you to expose account numbers to merchants. Physical credit-card transactions work this way too, as the chips have built-in cryptographic processors.
> such as people at a bank just deciding to initiate an account with one million?
This is not a problem people really have. Having a limited quantity of your means of exchange is not a desirable quality in a currency.
And it all went downhill from there.
So then the innovation of cryptocurrency was an economic one.
It does have the word "currency" in it, so that should not be surprising.
Even something like a Dex can be far superior to traditional order book exchange models in some cases
So you mean like me calling you and saying 0 1 0? Well, yeah kind of, but faster! And we can even have conference calls! It's going to change the entire world! Yeah, ok... Well, I'm going to leave now. Wait, sorry... I mean I'm going to '0 1 1 0' now. Wow, I can feel the world shifting already.
The applications of a technology often are far greater than the most simplified fundamental upon which it is built.
I remember having a similar feeling when NFTs were getting big. It turned out that I did understand the terms, there just wasn't enough actually there, triggering a feeling that I must have been missing something despite my eyes telling me the emperor has no clothes.
You are on the right track.
There's an incredible amount of word salad piled on the fact that people are playing a negative sum game when getting involved with any cryptocurrency that has transaction fees.
is much cheaper - less inflation.
is more environmentally friendly.
with PoS, only people who already own ethereum can mine. Rich get richer.
has less desirable consensus properties.
Many people keep coins on a handful of exchanges - now those will control the network.
Nothing-at-stake attack.That's been my entrance into crypto as well. I really dislike the speculative, get-rich-quick, even casino like connotation crypto has (inevitably) acquired. It shades the incredible technology behind it.
For a couple of years I have been studying and playing around with smart contracts in my free time, getting a better understanding of this paradigm (every smart contract can be seen as a singleton object "living" in the blockchain, with functions that are like API endpoints which you can interact with in a decentralized fashion), how it shapes applications built on top of it, and the possibilities ahead of us (ex: DeFi - Decentralized Finance).
There's a lot of skepticism around crypto, like "it's a solution without a problem", but I don't buy it. Even if it were, it's a solution sophisticated, interesting enough, worth diving yourself into ;)
https://people.csail.mit.edu/nickolai/papers/gilad-algorand-... Algorand: Scaling Byzantine Agreements for Cryptocurrencies
http://people.csail.mit.edu/silvio/Selected%20Scientific%20P... A DIGITAL SIGNATURE SCHEME SECURE AGAINST ADAPTIVE CHOSEN-MESSAGE ATTACKS*
The tech in Blockchain/Web3 world is changing and evolving incredibly fast (as is evident from this historic event today) and so by the time books come out, they already become outdated.
I would highly recommend reading Vitalik's blog[1]. He talks about various topics and has a knack for explaining things brilliantly.
I find the book "The Bitcoin Standard" by Saifedean Ammous a good read to break down those concepts. Nevermind the extremists or so called "maximalists" and their exaggerations. The book is a really good intro to macro economics and helps understanding why cryptocurrency is interesting as a store of wealth and/or money replacement.
I'd recommend just taking look at the documentation / code.
Here's some sample ones:
Ethereum - https://ethereum.org/en/developers/docs/evm/
It's a crypto/blockchain podcast, but very technical, it's focused around the advanced technology that makes up the ecosystem (zero-knowledge cryptography, multi-party computation, consensus algorithms, miner-extractable value, new blockchain programming languages, etc).
Very technical, almost nothing about investing. The downside, some episodes may be a bit hard to jump into due to the technical nature.
Came out about 4 years ago
They are 20min episodes that build up to explain the foundations of cryptocurrencies.
If you have any suggestions for future episode let me know. I’m thinking of spending a bit more episodes on Bitcoin to talk about bitcoin scripts, layer 2 apps, UTXOs, etc. Before talking about ethereum
In between a blog post and a book. I think it’s a good starting (and ending lol) point.
This is not a very good explanation, but basically, you can have a "currency" using just asymmetric key cryptography: users simply sign "transactions". The problem is that you need a central authority to confirm the order of transactions, otherwise the recipient of a "transaction" will not know if the funds associated with that transaction have already been spent to someone else ("double spending"). You can solve this using hashcash to make the transaction order hard to reverse- creating a "proof-of-work" by doing something that is easy to verify but hard to determine (like reversing a hash function). Another method is "proof-of-stake" wherein transaction order is not signed by a central authority but instead general users that are guided by some internal incentive structure.
Cryptocurrency is often expensive to run or use because a cryptocurrency transaction has to be synchronized across the entire network of that cryptocurrency, and there are incentive structures like fees to prevent people from spamming the network.
There is also tech like zero-knowlege-proofs, multisig, etc. that can do interesting stuff. But this is the basic concept.
This is just a vague example, not a working idea. The point of it is that the level of security and trustlessness is not always required to be absolute. E.g. even with fully-secure pow crypto we still have to trust non-crypto claims about usdt, [non?]shitcoins, “hot” wallets, and other maybe-not-ponzis.
The problem is that banks won't implement these systems unless they're forced to. They seem to benefit from the insecurity, surveillance, and bureaucracy of the existing system. So we will have to make new banks...
https://www.bankofengland.co.uk/research/digital-currencies
https://www.federalreserve.gov/central-bank-digital-currency...