charging interest in a system with a gold standard

This is the problem I’m having wrapping my brain around. Assume you are using all the gold, ever, so the quantity of gold cannot increase. With 100% reserve, the interest that is charged on the money comes from some third party that trades with the borrower?