Thanks for your input, @mtrycz
Regarding some of your points I can address right now:
Yeah, “OP_LOTTERY” is not an opcode, just a generic temporary name for this functionality. It does not have to actually be an opcode.
I agree, perhaps it would require some other significant changes, opcodes may not be enough.
This is why I posted it here as a pre-chip so I can get your input and criticism to find out whether this can be refined into a valid idea for the future.
I am sorry, but this is unacceptable. It has to be completely provably fair and require no centralization/trust/service.
To make any sense and bring the benefits I think it could potentially bring, this proposal would have to run on Bitcoin(Cash) blockchain itself.
Above point also applies.
I aim for a “general purpose” setting, because my goal is to make every shopping BCH transaction a lottery, possibly.
It could enable automated blockchain-based payback scheme for every merchant everywhere, worldwide with just a click.
So I think the possible ramifications of this proposal (if it works in a decentralized fashion and doesn’t strain the network) are basically insane. It could be a total game changer for BCH.