0
0
A Provably Fair Gaming Experience
0
0
0.1 ZKST per 0.0001 ETH
Cash Out ZKST for ETH
This game uses a Zero-Knowledge Proof (ZKP) for every spin. The server generates a cryptographic proof that the result was determined by a fair, pre-defined algorithm using a secret seed. This proof is verified by a third-party service (zkVerify), ensuring the server cannot manipulate the outcome in its favor.
The game uses an ERC-20 token called ZK Slot Token (ZKST) on the Base Sepolia testnet. You can "Buy In" by exchanging testnet ETH for ZKST. When you spin, the cost is burned directly from your wallet. Winnings are added to a local game balance, and you can use the "Cash Out" function to exchange your tokens back for ETH.
This dApp is a full-stack project. The front-end is built with HTML, CSS, and vanilla JavaScript, using Ethers.js for wallet interaction. The back-end is a Node.js server with Express. The Zero-Knowledge Proofs are written in Circom and handled by snarkjs. The smart contract is written in Solidity and deployed using Hardhat.
No, this game operates on the Base Sepolia testnet. Both the ETH and the ZKST tokens are for testing purposes only and have no real-world value. This allows developers and users to experiment with the application's functionality without any financial risk.