Money

Money is a currency in the game.

You get money from mining ores. Money is used to upgrade various things, (blacksmith, damage, etc)

Gem upgrades help you get more money because the Pickaxe strength and base damage is faster to get.

PC upgrades and wisdom too.