[Bitcoin and Cryptocurrency Technologies: A Comprehensive Introduction Illustrated Edition] by Arvind Narayanan and the course on Coursera are very good