Blockchain-based solutions for privacy in the Internet of Things Smart Environment