What is a Blockchain? A blockchain can define as a constantly growing ledger that keeps a permanent record of all…