Gold wasn't a deflationary currency, not only that, the supply of gold increases over time, and some times suddenly such as when the Spanish empire started extracting gold and silver from the new world resulting in the Spanish Price Revolution.
Seriously, please go take some economics classes...