There is no lottery operator.  It runs as a contract script.<p>A lottery is literally one of the example applications (#8) on the Bitcoin Wiki &quot;Contract&quot; page.<p><a href="https:&#x2F;&#x2F;en.bitcoin.it&#x2F;wiki&#x2F;Contract" rel="nofollow">https:&#x2F;&#x2F;en.bitcoin.it&#x2F;wiki&#x2F;Contract</a>