A basic unit of user data in a Holochain app. Each entry has its own definedĀ entry type. When an agent commits an entry, it is combined with anĀ actionĀ into aĀ recordĀ that expresses aĀ new-entry action. Then it is written to theirĀ source chainĀ as a record of the action having taken place. An entry can beĀ publicĀ orĀ private; if itās public, itās alsoĀ publishedĀ to the Distributed Hash Table. There areĀ app entriesĀ whose purpose and structure are defined by theĀ DNAĀ developer, and there are specialĀ system entriesĀ such as anĀ agent ID entry.
Entry type¶
A specification for any sort of entry that aĀ DNAĀ should recognize and understand, similar to anĀ OOPĀ class or database table schema. It can specify whether entries of its type should beĀ publicĀ orĀ private, and how manyĀ required validationsĀ should exist. DNA developers create their own entry types for the data their app needs to store, and can writeĀ validation functionsĀ forĀ recordsĀ thatĀ create, update, or deleteĀ entries of those types.