• Everyone can run a mint, there is not only one.
  • Via the mint exchanges tokens for LN payments.
  • You can program a token itself but the execution of the "contract" is done by the mint. The There is no blockchain or anything. You trust the mint. There is no global state. It is not "baked into" the Bitcoin or Lightning protocol.
I hope that makes things a bit clearer.