A study of Blockchain technology: Architecture, challenges and future trends