New Hampshire enacts legislation permitting state investments in digital currencies.