Theoretical Discussions on Blockchain-based Systems: Design, Extension, and Application