Supply of foreign currency depends upon:
exports of the country
remittances by non-residents living in rest of the world
direct purchases by rest of the world
all of these
Exports, direct purchases, and remittances from abroad are sources of supply of foreign currency.