Safety
How Rally keeps prizes safe
Giveaways in escrow
- A host who picks Escrow deposits the prize in RallyEscrow when publishing. Entrants see ๐ Prize in escrow with the deposit transaction.
- Right after the on-chain draw, Rally pays the winners from the contract. What is not won goes back to the host; nobody in the draw means everything goes back.
- If nothing was paid 30 days after the end, anyone can send the prize back to the host. The host cannot take it back before that.
- The contract owner can cancel an escrow after a scam report: everything goes back to the host, never anywhere else.
Rumble prize pools
- A server puts VET, a token or NFTs in a pool in RallyPools. Anyone can add to it; only the wallet that created it can take funds out, and only 24 hours after announcing it on chain.
- Every payout needs Rally's signature and works once. A daily limit per pool caps what can leave in a day, so even a leaked server key cannot empty a pool.
- Prize Rumbles can only be started by Administrators and members with Manage Server, only in the server's Rumble channel, with limits per hour and per day.
- To join a prize Rumble a Discord account must be old enough and in the server long enough (the server sets both), and not on its blocklist or on 3+ servers' blocklists.
- A winner without a linked wallet keeps their prize for 7 days. A Discord account can only move to another wallet 7 days after its last link.
Fair draws and Rumbles
- Giveaway winners follow from a VeChain block that did not exist yet when the entrant list was locked. Every giveaway's fair page redoes the draw in your browser.
- Every Rumble round is seeded by the id of the newest VeChain block when joining closed. Each Rumble has a fairness page with the block and the seeds.
- Teams see who wins prize Rumbles unusually often, with one click to block them.
If something goes wrong
- The status page shows the background jobs, payouts and the gas of the payout wallet. Rally gets an alert for every failed payout, a low payout wallet and every announced pool withdrawal.
- If Rally stops: prizes stay in the contracts. Escrows can be refunded to their hosts after 30 days by anyone; pool owners can always withdraw (24 hours after announcing).
- The database (Neon Postgres) keeps point-in-time backups; the chain is the truth for every balance and payout, so Rally can always rebuild what was paid from it.
Contracts
RallyCampaigns
Campaign payments and the on-chain draw of giveaways.
0xe22fb3f5477563b32fdbe5deb91725e843c0d3b3RallyEscrow
Giveaway prizes held from publishing until the winners are paid.
0x79c5e450c80a155a54fed2ccd464600a402d1144RallyPools
Rumble prize pools of Discord servers.
0x20d03c328dd90725da4333ec1750f70628468cd4
The source of every contract is in Rally's repository, with tests for every rule above.