Gold can be changed like the character stats (tutorial)

If you download the debug tools, you get access to the built in cheats like editing character stats and gold. Another useful one is to fill a storage container with a particular type of item. These are useful when you just want to level all your hearthlings and focus on architectural designs and community planning instead of farming, defense, and class development.

http://discourse.stonehearth.net/t/tutorial-install-and-use-the-debugtools/14775