A rewrite of Max00355s BlooCoin