Engineering Professor Uses Fiction to Teach Cryptocurrency Basics
UC San Diego professor Pamela Cosman released The Crypto Campaign through Leapfrog Press with revised editions of earlier books planned for spring 2027.
By Noreen Tafoya ·

Leapfrog Press has released The Crypto Campaign by UC San Diego professor Pamela Cosman, and revised editions of her earlier children’s books The Secret Code Menace and The Hexagon Clue are expected in spring 2027. The book is listed online at Indiepubs and Amazon.com and at the UC San Diego Bookstore for readers ages 8 to 12.
Cosman chairs the UC San Diego Department of Electrical and Computer Engineering and is an affiliate of the UC San Diego Qualcomm Institute. The book centers on a fictional school currency called BinCoin that students earn for collecting trash and recycling. As trading spreads, the young characters encounter recordkeeping, security and fraud problems similar to those in real cryptocurrency development.
The story introduces technical ideas through plot complications. When students track BinCoin trades in notebooks, they update each other’s records when they cross paths. Cosman describes that as an illustration of gossip protocol, a method for spreading information across networks.
The book grew out of a classroom visit more than two decades ago. Cosman visited her oldest son’s second grade class during a parent resource day and presented error correcting codes as a way to pass secret messages correctly. The children were enthusiastic enough to work on encoding and decoding worksheets during lunchtime. “They were thinking of it as a game,” Cosman said. “That was so cool. I thought, ‘I want to try to harness that and write a storybook.’”
Some concepts for The Crypto Campaign came from Cosman’s second son, now a cryptocurrency and AI entrepreneur. Cosman said she does not teach cryptocurrency in her own courses, which focus on digital image processing. She said she draws on decades of teaching at the Jacobs School of Engineering and mentoring through programs such as QI’s Neurodiversity in Tech internship to decide which ideas to introduce and in what order.
Cosman said she wanted the book to work as “a fun fiction story for people who just want the fun fiction.” For readers who want more, a nonfiction section at the end covers more technology and includes warnings about scams. “I don’t mean this to be an endorsement for people who don’t know the cryptocurrency landscape to dive in,” she said. “The intent of the book is to teach technical concepts.”
Writing fiction took years to develop. Between the initial classroom visit and her first children’s book, Cosman spent nearly 15 years attending workshops, taking classes and joining critique groups while teaching and raising four sons. Her first two books were originally published by a small British publisher. She said the outline stage is where concepts and storyline come together, and after that writing is fun and taps a different side of her brain.






