Towards producing green hydrogen