Let's take a look at a concrete dApp to see how smart contracts on the Ethereum blockchain can be used…