I've seen that idea of creating a common currency based on commodities and national currencies but I think it's infeasible. Would be way too complicated to set up and then maintain (against failure).
If a country ends up with an excess of a trading partners' currency then just exchange it for commodities they want to stockpile or for gold or eventually for Bitcoin.