tmacshaq Thank you for your question.
tmacshaq You mention decentralized a lot but is it really? Something still needs to run the contracts right. Stellar doesn't have something like a EVM.
That is an excellent question. It is "decentralized" in the sense that
- a) Contracts can be traded on the open SDEX market
- b) whoever is running the site does not need to hold private keys for any accounts, either user's wallets or the escrow accounts
However, in order to execute "american" style contracts (which can be exercised at any time), the "system" needs to have signing power on the escrow account. There is a timed, signed transaction that removes this signing power on contract expiration, so the user retains full control over the escrow account after the contract has expired.
No one needs to "run" the contracts, since american style options are exercised by the buyer. It's true that many exchanges will automatically exercise in-the-money contracts right before the expiration. We haven't decided whether or not to implement this feature, or to always leave it up to the buyer.
tmacshaq You mention the word "system" a lot in your post like this system has to assign the options and move funds. But it sounds like this "system" is a centralized service you run?
We used the word "system" as a shorthand for "whoever is running the site." If we receive SDF funding, then the project will be open source and anyone will be able to run and options trading site, generating contracts for whatever pair and time period they wish.