Frankly all of them seems to be invented privately, and then gets backed by the state as a last resort when private parties gets into a dispute and risk taking a large part of the economy down with them.
And apparently the notion of debt exited long before the notion of money. And even afterwards money was something used between individuals that didn't know each other (different tribes effectively).