Skip to main content
A host puts up a prize, players join for free, and your server decides the winners. Zend’s prize rules hold the money until then. Entry fees and stakes aren’t available.

Setup

1

Generate a resolver key

Put the printed resolverKey in your manifest. Keep ZEND_RESOLVER_SEED on your server only; it signs results.
2

Update the manifest

Add the prize permission and set results to "app" or "checked":

Lifecycle

In your page

amount is in US dollars (at least 1), or pass price: { ngn }. Zend shows the rules before the host confirms.

On your server

Zend and the prize contract both check that:
  • Winners joined the prize.
  • No winner appears twice.
  • There are at most 50 winners.
  • The amounts add up to no more than the prize. Anything left over returns to the host.

Webhooks

Limits

A Zend-wide cap of $100 also applies while the prize contract is new.