Skip to content

coderebasoft/guess

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Guess

A decentralized quiz platform.

Requirement of tools

  • node
  • npm

Insatll:

install tools

1、git clone https://github.com/allsportscoin/guess.git

2、cd  guess/tools

3、npm install

Tutorial

layout

directory layout:

+ src 
  | - myguess.sol // The source code of contract
+ tools
  | - contract_guess.js
  | - getGuessInfo.js  //tools for get detail inforamtion of guess
  | - package.json  

How

How to use the tool

node getGuessInfo.js [the txhash of guess]

output:

{"status":"success", "match_id":"764397","gusser":"0xaddress of guesser","result":"1","value":"100"}

About

Source code of guess and some tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%