Generate genesis block tools in C#