The Muslims used gold and silver by weight. The dinar and dirhams they used were made by the Persians.