In root floder runs: browserify -r ./dice/dice.js:dice.js > ./game/js/dice.js
1.3.2
When this call ends, the callback function is called and the data is "end".
dice.FilterBlockTx(6066, function(data){
console.log("callback")
console.log(data)
if (data === "end"){
console.log("fileter over")
}
if (data instanceof Error){
console.log("callback Error")
return
}
console.log("callback Success")
})
The dice is connected to http://localhost:8037
. When the game goes online, someone needs to change the nginx configuration to connect to the seee master node.