Don't prevent inflation. You can fairly easily measure how fast currency is changing hands. Track it, and have the game automatically adjust NPC prices and drops accordingly, with a slow moving average so that prices don't spike. Just use a Big Integer for quantity and you'll be fine.