/hashbet-game-v1

hashbet.com fair contract and result verification code

Primary LanguageSolidity

hashbet-game-v1

hashbet.com fair contract and result verification code

SmartContract

Folder SmartContract is the smart algorithm contract of the website hashbet the file name is HashBet.SOL

VerifyByNodejs

This is a simple function for game result verification written by nodejs and etherjs

step 1

git clone https://github.com/hashbet/hashbet-game-v1.git
cd  VerifyByNodejs
npm install ethers

setp 2

Get parameters(modulo、SecretText、BlockHash) from website game records
and update index.js params value 

step 3

node index.js