Commit-Reveal Scheme Reveal Tool
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Commit-Reveal Scheme Reveal Tool is a non-custodial tool that reveals committed values in commit-reveal schemes, completing the commit-reveal lifecycle and enabling outcome determination. It reads commit-reveal scheme contract state, user address, token balances, commitment parameters, commitment ID, committed value, salt value, commitment hash, commit deadline, reveal deadline, commitment status, user's commit history, scheme parameters, reveal window, reveal eligibility, and collateral approval status to structure the optimal reveal operation. With a single transaction, it calls revealValue(), executeReveal(), or submitReveal() on the target contract, disclosing the actual committed value along with the salt used during commitment. The contract verifies that the revealed value and salt match the previously submitted hash, completing the commit-reveal cycle.
HOW TO USE
1. Connect your wallet (EVM-compatible).
2. Paste the commit-reveal contract address.
3. Enter the commitment ID, the value you committed, and the salt you used.
4. Optionally specify a collateral token address (leave empty for native currency).
5. Review the reveal window, reveal deadline, commitment status, and reveal eligibility.
6. Click "reveal value" and confirm the transaction in your wallet.
The tool checks reveal window, commitment status, and reveal eligibility before execution to prevent failed transactions. After the transaction confirms, your value is revealed on-chain—no centralized custody, no intermediaries. The commitment is now verified, and the scheme can proceed to outcome determination.
TECHNICAL MECHANISM: MULTI-FUNCTION FALLBACK WITH COMMITMENT VERIFICATION
Unlike simple transaction builders that assume a single function signature, this tool implements a multi-function fallback strategy. It first attempts revealValue(), then falls back to executeReveal() or submitReveal() if the primary method fails—automatically adapting to different contract implementations without requiring the user to know the exact function name. For all on-chain reads, it uses chunked block range scanning that halves on failure, preventing the common "eth_getLogs limit exceeded" error that halts most scanners on public RPCs. It double-verifies reveal eligibility by checking both the current reveal window and commitment status from storage, rather than relying on historical events—because an event log proves a commitment was made, not that the reveal can currently be executed. Gas estimation uses receipt.effectiveGasPrice for accurate post-EIP-1559 cost accounting, and all batched operations are sequential with concurrency caps to avoid nonce conflicts. The tool also validates that the salt matches the commitment hash and that the reveal window is open before execution.
WHAT IT CANNOT SEE
This tool cannot verify that the commit-reveal contract is legitimate or has not been compromised. It cannot detect if the scheme has been manipulated. It cannot ensure that reveal will execute at the optimal gas price due to network conditions. It cannot guarantee that reveal will succeed if the contract is paused or frozen. It cannot verify that the contract has not been upgraded or modified. It cannot detect if the trade path is optimal or not front-run. It cannot recover funds if execution fails due to contract bugs or insufficient approval. It cannot verify that the revealed value matches the commitment. It cannot predict market movements, price gaps, or flash crashes. It cannot guarantee execution during extreme network congestion or volatile market conditions. It cannot detect if the underlying system has been compromised. It cannot prevent the user from canceling or modifying reveal parameters. It cannot ensure that the reveal window is still open. It cannot protect against loss if reveal is rejected. It cannot verify that the salt value is correct. It cannot guarantee that the reveal will be accepted. It cannot ensure that the commitment will be verified correctly. It cannot verify that the reveal deadline has not passed.
PLEASE NOTE
This tool operates only on EVM-compatible chains (Ethereum Mainnet, Polygon, Arbitrum, Optimism, etc.). It is non-custodial—you retain full control of your funds at all times. Always verify contract addresses, commitment IDs, and reveal parameters before executing. Reveals must be submitted within the reveal window—if you miss it, your commitment may be discarded or you may be penalized. The salt must exactly match the one used during commitment. The tool is provided as-is; use at your own risk.