Analysis And Design Of Scalable Blockchain-Based Smart Contract System For Smart Grid Monitoring And Control