-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDigiDigger.js
374 lines (345 loc) · 37.3 KB
/
DigiDigger.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
(function(undefined) {
var bitcoin=window['bitcoinjs']['bitcoin']; //load bitcoin library
const SERVER='https://digger.digibyte.rocks/'; //api folder location
const SPRITE_SIZE=32; //size of sprite
const SPRITE_HALF=SPRITE_SIZE/2; //half the size of sprite
const SPRITE_TIME=5000; //minimum time sprite is shown
const SPRITE_FINISH=55000; //time win or lose shows
//if you want to modify sprite use https://ezgif.com/image-to-datauri to conv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II=';
const BALANCE_CHECK_DELAY_FAST=30; //seconds
const BALANCE_CHECK_DELAY_SLOW=300; //seconds
const MAX_REQUESTS=4; //max number of concurent requests to explorer server
//private variables
var _siteAddress='DMw9wz6KHsvbvXsmo1Q8BajWcohYwjqwoq'; //default site wallet can be changed with DigiDigger.setSiteAddress(address)
var _userPrivate;
var _userPayout;
var _userAddress;
var _guesses=0;
//Handle requests
xmr.setMax(MAX_REQUESTS); //set max number of transactions at a time
/*____ _
| _ \ | |
| |_) | __ _| | __ _ _ __ ___ ___
| _ < / _` | |/ _` | '_ \ / __/ _ \
| |_) | (_| | | (_| | | | | (_| __/
|____/ \__,_|_|\__,_|_| |_|\___\___|
*/
var _balanceChangeFuncs=[];
var _recheckDelay=BALANCE_CHECK_DELAY_FAST; //count
var _recheckFast=true;
var resetDelay=function() {
_recheckDelay=_recheckFast?BALANCE_CHECK_DELAY_FAST:BALANCE_CHECK_DELAY_SLOW;
}
var balanceChanged=function() {
for (var func of _balanceChangeFuncs) func(_guesses);
}
var checkBalance=function() {
return new Promise(function(resolve, reject) {
needPrivate();
xmr.getJSON(SERVER+"balance.php?addr="+_userAddress).then(function(guesses) {
if (guesses!=_guesses) {
_guesses=guesses;
_recheckFast=false;
balanceChanged();
}
resetDelay();
_guesses=guesses;
resolve(_guesses);
});
});
}
setInterval(function() {
if (_userAddress==undefined) { resetDelay(); //if game wallet not created yet then don't try to check funding
} else if (--_recheckDelay<=0) {
checkBalance();
}
},1000);
var bindBalanceChange=function(func) {
_balanceChangeFuncs.push(func);
}
/* ____ _ _
/ __ \ | | | |
| | | | __| | __| |___
| | | |/ _` |/ _` / __|
| |__| | (_| | (_| \__ \
\____/ \__,_|\__,_|___/
*/
var _oddsUpdateFuncs=[];
var _oddsData={}; //odds data is logarithmic scale.
var drawChart=function(chartID) {
var chartData=_oddsData.odds;
if (chartData.length==0) return false;
var start=false,end=false; //initialise x start and end points
var odds=1024; //initialize odds to 100%
for (var i in chartData) { //go through each entry in odds data
if ((i!=0) && (chartData[i]>0) && (start===false)) start=Math.floor(i/10)*10;//find closest power of 10 to lowest non 0 value
odds-=chartData[i]; //keep track of number of wallet with higher values
if (odds==0) { //if we rean out of wallet
end=i; //record position
break; //and get out of loop
}
}
end=Math.ceil(i/10)*10; //increase end point to next power of 10
odds=1024-chartData[0]; //calculate number of non 0 addresses
var values=[]; //initialize array for graph values
var labels=[]; //initialize array for graph labels
for (var i=start;i<=end;i++) { //go through each odds value between start and end
odds-=chartData[i]; //keep track of current odds(y value)
labels.push(i/10); //keep track of current label(log of x value)
values.push(((chartData[i]==0)&&(i!=start))?null:odds/10.24); //record odds only if real number. leave null so graph can draw lines as it likes if no addresses there
}
new Chartist.Line(document.getElementById(chartID), { //create chart
series: [values], //provide y values
labels: labels //provide x values
},{
fullWidth: true, //make graph full width
axisX: { //set x axis
labelInterpolationFnc: function(value) { //function to label x axis
if (Math.floor(value)!=value) return; //if not power of 10 don't label
return Math.pow(10,value)/100000000 + " DGB"; //label how many DGB log value is equal to
}
},
axisY: { //set y axis
labelInterpolationFnc: function(value) { //function to label y values
return value + "%"; //add percent symbol to labels
}
},
lineSmooth: Chartist.Interpolation.cardinal({ //tell chart to smoth arrays
fillHoles: true, //fill holes
tension: 0.2 //set tension(not sure what value means found in example)
}),
showPoint: false, //don't show points
height: "80%" //set height to 80% so room for header and close button
});
return true;
}
var getOdds=function() {
if (_oddsData['pot']==undefined) return false;
return (1024-_oddsData['odds'][0])/10.24;
}
var getPot=function() {
if (_oddsData['pot']==undefined) return false;
return _oddsData['pot'];
}
var getJackpot=function() {
if (_oddsData['pot']==undefined) return false;
return _oddsData['jackpot']['value'];
}
var updatePot=function() {
xmr.getJSON(SERVER+"stats.json").then(function(data) { //download stats
_oddsData=data; //save odds data
for (var func of _oddsUpdateFuncs) func(getOdds(),getPot(),getJackpot());
});
};
updatePot(); //check pot imedietly
setInterval(updatePot,300000); //check pot and stats every 5 min
var bindOddsUpdate=function(func) {
_oddsUpdateFuncs.push(func);
}
/*_ __ _ _ _
\ \ / / | | | | |
\ \ /\ / /_ _| | | ___| |_ ___
\ \/ \/ / _` | | |/ _ \ __/ __|
\ /\ / (_| | | | __/ |_\__ \
\/ \/ \__,_|_|_|\___|\__|___/
*/
//DigiByte Validation Functions
var isValidAddress=function(address) {
try {
if ((address[0]=='D')||(address[0]=='S')) {
bitcoin['address']['fromBase58Check'](address);
return true;
}
} catch(e) {
}
return false;
}
var isValidWIF=function(wif) {
try {
bitcoin['ECPair']['fromWIF'](wif);
return true;
} catch(e) {
return false;
}
}
//Check needed inputs
var needPrivate=function() {
if (_userPrivate==undefined) throw "Game wallet not created";
}
//Setter Functions
var setSiteAddress=function(address) {
if (!isValidAddress(address)) throw "Invalid or unsuported address format";
_siteAddress=address;
}
var setUserPayout=function(address) {
if (!isValidAddress(address)) throw "Invalid or unsuported address format";
_userPayout=address;
}
var setUserPrivate=function(wif) {
if (!isValidWIF(wif)) throw "Invalid private key";
_userPrivate=wif;
_userAddress=bitcoin['ECPair']['fromWIF'](wif)['getAddress']("D");
}
var setUserPhrase=function(phrase) {
//compute path
var hash=bitcoin['crypto']['sha256'](phrase); //hash recovery phrase
var path="m/13'"; //start path
for (var i=0;i<16;i+=4) path+="/"+((hash[i+3]&0x7f)<<24|hash[i+2]<<16|hash[i+1]<<8|hash[i])+"'";//add first 4x 32bit part to path
//compute key pair
var xprv='xprv9s21ZrQH143K31Jh4aY1efbnvR3nwBPmGesTahvKVdV5r7a4JDLQ5t31taNtq7sN94o6bCdzLYXhehMLjXE5rpmEqysMV8YWiJuNTLombsx'; //set a hd private key to use
//This is random key. Even though the key is public
//funds are safe because there are 2^124-1 possible wallet
//and under normal circumstances funds will only be in address
//for less then 1 minute. Would take centuries to try all
//combinations.
var keyPair=bip39['getHDKeyFromXPrv'](xprv,path)['keyPair'];
_userPrivate=keyPair['toWIF'](); //calculate private key
_userAddress=keyPair['getAddress']("D"); //calculate address
}
//Getter Functions
var getUserAddress=function() {
needPrivate();
return _userAddress;
}
var getBalance=function() {
needPrivate();
return _guesses;
}
/* _____ _____ _
/ ____| | __ \| |
| | __ __ _ _ __ ___ ___ | |__) | | __ _ _ _
| | |_ |/ _` | '_ ` _ \ / _ \ | ___/| |/ _` | | | |
| |__| | (_| | | | | | | __/ | | | | (_| | |_| |
\_____|\__,_|_| |_| |_|\___| |_| |_|\__,_|\__, |
__/ |
|___/
*/
//load need images
var _sprite=document.createElement("IMG");
_sprite.src=IMG_SPRITE;
var _win=0;
var _digStartFuncs=[];
var _digEndFuncs=[];
var _digErrorFuncs=[];
var getWins=function() {
return _win;
}
var bindDigStart=function(func) {
_digStartFuncs.push(func);
}
var bindDigEnd=function(func) {
_digEndFuncs.push(func);
}
var bindDigError=function(func) {
_digErrorFuncs.push(func);
}
var digError=function(error) {
for (var func of _digErrorFuncs) func(error);
}
var startGame=function(id) {
var domSearch=document.getElementById(id);
domSearch.addEventListener('click',function(e) {
if (_guesses>0) {
if (_userPayout!=undefined) {
var roundWinnings=0;
document.getElementById('guess').innerHTML=--_guesses;
balanceChanged();
//start sprite
var sCanvas = document.createElement("CANVAS");
document.body.appendChild(sCanvas);
sCanvas.style.position = "fixed";
sCanvas.style.left = (e.clientX-SPRITE_HALF)+'px';
sCanvas.style.top = (e.clientY-SPRITE_HALF)+'px';
sCanvas.style.width = SPRITE_SIZE+'px';
sCanvas.style.height = SPRITE_SIZE+'px';
sCanvas.width=SPRITE_SIZE;
sCanvas.height=SPRITE_SIZE;
var ctx=sCanvas.getContext("2d");
function drawFrame(i) {
ctx.clearRect(0,0,SPRITE_SIZE,SPRITE_SIZE);
ctx.drawImage(_sprite,SPRITE_SIZE*i,0,SPRITE_SIZE,SPRITE_SIZE,0,0,SPRITE_SIZE,SPRITE_SIZE);
}
var endTime=Date.now()+SPRITE_TIME;
var done=0;
var patern=[0,1,2,3,4,3,2,1,0,0];
var paternI=0;
drawFrame(0);
var timer=setInterval(function(){
paternI++;
paternI%=patern.length;
if ((done==0) || (Date.now()<endTime)) {
drawFrame(patern[paternI]);
} else {
drawFrame(5.5-done/2); //show win or loss
_win+=roundWinnings; //update total
for (var func of _digEndFuncs) func(e.offsetX,e.offsetY,roundWinnings); //run bound functions
clearInterval(timer); //stop animation
setTimeout(function() {document.body.removeChild(sCanvas);},SPRITE_FINISH); //remove win/loss state after delay
}
},100);
//execute start functions
for (var func of _digStartFuncs) func(e.offsetX,e.offsetY);
//check if won
_recheckDelay=BALANCE_CHECK_DELAY_SLOW; //prevents balance check causing errors by checking near when game play has happened
xmr.getJSON(SERVER+"dig.php?site="+_siteAddress+"&pkey="+_userPrivate+"&addr="+_userPayout+"&x="+e.offsetX+"&y="+e.offsetY).then(function(amount) {
_recheckDelay=BALANCE_CHECK_DELAY_SLOW; //prevents balance check causing errors by checking near when game play has happened
if (amount>0) {
//get balance
roundWinnings+=amount;
done=1;
} else {
done=-1;
}
},function(data) {
//there was an error(probably conflict with other game click)
++_guesses; //on error guess is refunded so show we have one more
balanceChanged()
clearInterval(timer); //stop the animation
document.body.removeChild(sCanvas); //remove the sprite
digError(data);
});
} else {
//no payout address set
digError("No Payout Address");
}
} else {
//user clicked and there wasn't any funds
digError("No Funds")
}
},true);
}
/*______ _
| ____| | |
| |__ __ ___ __ ___ _ __| |_
| __| \ \/ / '_ \ / _ \| '__| __|
| |____ > <| |_) | (_) | | | |_
|______/_/\_\ .__/ \___/|_| \__|
| |
|_|
*/
window['DigiDigger']={
//Balance
"checkBalance": checkBalance, //function().then(function(balance){}) asyncronous call gets update balance
"bindBalanceChange":bindBalanceChange,
//Odds
"drawChart": drawChart, //successBoolean=function(divIDtoDrawIn)
"bindOddsUpdate": bindOddsUpdate, //function(function(odds,pot,jackpot){});
"getOdds": getOdds, //float=function()
"getJackpot": getJackpot, //float=function()
"getPot": getPot, //float=function()
//Wallets
"isValidAddress": isValidAddress, //boolean=function(address) check if address is valid for this app
"setSiteAddress": setSiteAddress, //function(address) set sites payout address if site wants a cut of profit
"setUserPayout": setUserPayout, //function(address) set address to pay winnings to
"setUserPrivate": setUserPrivate, //function(wif) set private key of game wallet
"setUserPhrase": setUserPhrase, //function(phrase) create game wallet based on phrase
"getUserAddress": getUserAddress, //string=function() gets the gamewallets addres
//Game Play
"startGame": startGame, //function(canvasID)
"bindDigStart": bindDigStart, //function(function(x,y){})
"bindDigEnd": bindDigEnd, //function(function(x,y,won){});
"bindDigError": bindDigError, //function(function(errorString){}) executes when click but no funds
"getWins": getWins //float=function()
}
})();