ZK is the clear endgame of blockchain

... for scaling
... for privacy-preserving agreements

Below is a great resource to learn and experiment with the foundations of ZK circuits

github.com/zobront/homerolled-zk/