A blockchain is a digital, public ledger that records online transactions . Blockchain is the core technology for cryptocurrencies like bitcoin. A blockchain ensures the integrity of a cryptocurrency by encrypting, validating, and permanently recording transactions.