TL;DR: In essence, smart contracts are computer protocols designed to enable autonomous transactions taking…