to correct the OP
currency is anything used as a medium of exchange
That's not correct!
Currency is not ANYTHING used as a medium of exchange, you can use many things as a medium of exchange which I'm sure is obvious around you. You can purchase your shoe and other products and properties with gold or other products and properties, which makes your definition faulty.
By the definition, currency is standardization of money in any form; and money is any item or record that is generally accepted as payment. Therefore currency could be anything you can use as a medium of exchange, if both end agreed to pay/exchange a cow for a chicken then it is a currency. I think this is a general misconception about the currency and money, I even confused these two at first honestly.
Currency is rather a LEGAL TENDER (fiat) note and others backed by the central bank of a country.
You are talking about country currency, well this one is regulated by the country's government to host and have an organize exchange and standardization. I can buy your car for my laptop as my currency, if you want to. Basically that's how currency works.