Hi @fabrice
what are your thoughts on statefull vs stateless smart contracts?
For example the limit order (ARC-0017):
Stateful good things:
- One can list all related txs by querying app id
- Possibility of updates of application
Stateless good things:
- More efficient in algod
- One transaction less (does not need to do app call) (cheaper)
- Less complex code (simple approval tx)
- More legal safe - Noone controls the application - Noone can prevent usage in the US (user by him self is creating the contract)
For the recent hackathons i have submitted the arc0017 indexer and web to place orders, cancel orders, and hit orders
The main question is… Am I missing something why people should use the stateful smart contract or why noone is discussing at arc-0017 - ASA2ASA Stateless orderbook smart contract · Issue #68 · algorandfoundation/ARCs · GitHub ?
