Understanding Smart Contracts: A Key to Blockchain Technology