Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 480 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 480 Bytes

carnage-raffle

To pick the lottery winners via a publicly verifiable random seed - we’ll be using the hash from Exosama network block #14462000. The alphabetic values will be stripped from the hash and only the numeric values will be used as the seed.

https://explorer.exosama.com/block/14462000/transactions

yarn
node index.js

Then check winners.

lootbox-raffle-test

to test the lootbox raffle logic:

yarn
cd lootbox
node index.js