Two companies, Rain and M0 , have secured close to $100 million in venture funding as interest grows in programmable money , a type of digital currency that follows built-in rules governing its use.