Is there a way to store metadata on the blockchain?

This question was asked at chia_network.public on Keybase.

You can store data in the puzzle itself, or in the solution while spending a coin locked with the puzzle. Then it can be referenced later with the get_puzzle_and_solution rpc call.