Mines is now LIVE
Daily Case Fairness
Provably Fair is a system allowing players to verify that the site operates legitimately and doesn't tamper game results. It leverages cryptography and third party input to generate random values. At the end of the game, players can verify that the outcome was indeed determined by the original seed and inputs, thus proving that the game was fair.
import { createHmac } from "node:crypto";import * as seedrandom from "seedrandom";import BigNumber from "bignumber.js";
const serverSeed = "REVEALED_SERVER_SEED";
const clientSeed = "REVEALED_CLIENT_SEED";
const nonce = NONCE;
const algorithmVersion = "hmac_sha256_v2"; // seedrandom_v1 for legacy rounds
const encodePart = (value) => {
const content = Buffer.from(value, "utf8");
const length = Buffer.alloc(4);
length.writeUInt32BE(content.length);
return Buffer.concat([length, content]);
};
const transcript = Buffer.concat([
encodePart("solpump:provably-fair:hmac-sha256:v2"),
encodePart("daily-case"),
encodePart(clientSeed),
encodePart(String(nonce)),
]);
const acceptanceLimit = 0x1_0000_0000 - (0x1_0000_0000 % 100_000_000);
let counter = 0;
let value;
do {
const counterBuffer = Buffer.alloc(4);
counterBuffer.writeUInt32BE(counter++);
const block = createHmac("sha256", serverSeed).update(transcript).update(counterBuffer).digest();
value = block.readUInt32BE(0);
} while (value >= acceptanceLimit);
const resultBps = algorithmVersion === "hmac_sha256_v2"
? value % 100_000_000
: BigNumber(seedrandom(`${serverSeed}:${clientSeed}${nonce ? `:${nonce}` : ""}`)())
.times(100_000_000).integerValue().toNumber();
const result = `${resultBps / 1e6}%`;
console.log("Result: ", result);Server Seeds
Hashed Server Seed
Server Seed
Nonce
Active
Log in to view your daily case history.
Solpump is owned and operated by 3-102-932956 Ltd located at Calle 37 bis, Los Yoses, Montes, de Oca, San Jose, Costa Rica. Solpump is licensed and regulated by the Tuvalu Gaming Authority under license number GLN - 9301.




