Blockchain technology and its applications