A distributed public ledger known as blockchain, which is updated and maintained by currency holders, is the foundation of cryptocurrencies. This is essentially how cryptocurrency works.