The document proposes using blockchain technology to authenticate devices in the Internet of Things (IoT) and address major security issues. It describes how IoT currently lacks adequate authentication of entities and integrity of exchanged information due to its decentralized nature. The approach suggests an initial decentralized system using blockchain's security elements to guarantee solid device identification and authentication while preserving integrity and accessibility of information. This would help generate secure virtual environments where devices can identify and trust each other. The document provides background on IoT security issues, blockchain technology, and smart contracts before reviewing related literature on authentication in IoT.