This document provides an overview of smart contracts using blockchain technology. It introduces the concept of smart contracts and discusses their operation on two mainstream blockchain platforms, Ethereum and Hyperledger Fabric. It also proposes a six-layer research framework for smart contracts consisting of contract negotiation, development, deployment, maintenance, learning, and self-destruction. The document outlines several challenges for smart contracts and reviews recent research progress, and it discusses potential application scenarios in various industries.