Offchain:
- pro: easier to develop (don't need to worry about confirmations and double spends)
- con: often insecure (remember those InstaWallet URLs?)
- con: provably fair less strong
- con: can't play "headless" (needs site open)
Onchain:
- pro: strongly provably fair
- pro: trust-free
- con: hard to do properly (risks of double spend when doing instant payouts)
Hello, I honestly think you're seeing incorrectly the points I left above from your earlier post. I felt the need to reply to this as someone else might take your view as the right one, since no one made objections to it so far. So here are my corrections on the points above.
Offchain:
- pro: easier to develop (don't need to worry about confirmations and double spends) -> Offchain sites absolutely need to worry about confirmations. It has to track the transactions received to make sure it doesn't double credit accounts, and sites accepting deposits on 0 confirmations needs to implement methods for preventing withdrawals and/or rollbacks if the deposit turns out to be a double spend. Offchain sites also commonly distributes a new address on each new account/deposit, while on the chain only has a fixed set of addresses. On the chain is much easier to develop and manage.
- con: often insecure (remember those InstaWallet URLs?) -> This is a kind of generalization that doesn't make sense. Sites working on the chain can be just as unsafe by being badly secured and/or programmed, risking all its funds. The same can be said about off the chain sites, so there is no point to be made here.
- con: provably fair less strong -> There is no such thing. The bets are either provably fair or not. You probably meant something regarding public audits.
- con: can't play "headless" (needs site open) -> Not true, several sites provides ways for the players to play through some API.
Onchain:
- pro: strongly provably fair -> Again, no such thing see. See comment above.
- pro: trust-free -> The operator is free to run away with any deposits and/or not send back winning bets, there is no such thing as trust-free here.
- con: hard to do properly (risks of double spend when doing instant payouts) -> See the first point above.