Modern fiat currency is backed only by debt. The fact that money can be backed by debt implies that there agents have a sufficiently sophisticated ability to judge trust of other agents. It's not extremely relevant that trustworthy behavior is enforced by the state.