Bitcoin is based on a technology called blockchain, which acts as a public ledger for all transactions.