Leveraging blockchain technology for secure transactions