by pjc50 · 8y ago · 0 comments
Yes, they should be on the same chain, so that the transaction is atomic. This is trivial to do in Ethereum (and other blockchains, presumably).
If the tickets were on the blockchain, they could be exchanged in the way that you describe.
The best use cases for smart contracts are gambling apps (i.e., financial markets, exchanges), escrow services (collateral-based trustless loans), and perhaps some identity services