Privacy and Security are the major challenges in the Internet of Things (IoT) systems. This is due to the fact that IoT networks are scaled and distributed. Using blockchain is one of the solutions ever found. Blockchains provide a decentralized privacy and security system. The blockchain is a database that can manage continuously expanding data records. It has a distribution with no main computer controlling the entire system. It is a chain where data gets in as participating nodes….