Threshold Signature Scheme Test Harness
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
This tool tests Threshold Signature Scheme (TSS) integration by analyzing on-chain multi-signature verification patterns and threshold properties. It performs a comprehensive suite of read-only checks against a target contract to verify that it correctly implements TSS-compatible signature verification with configurable participant counts and thresholds. The tool checks for contract deployment verification, wallet connectivity, threshold scheme support (GG18, GG20, FROST, or Custom), multi-signature verification implementation, distributed key generation (DKG) support, threshold validation logic, participant management, replay protection, and TSS event emission. Results are presented as a detailed test report with pass/fail/warn statuses for each test, along with TSS-scheme-specific recommendations. This is essential for teams implementing TSS-based signing for multi-party wallets, distributed governance, or collaborative signing systems requiring distributed key security.
HOW TO USE
Connect your wallet (read-only, no transaction required) and select the target network. Enter the contract name and address that implements TSS-compatible multi-signature verification, select your TSS scheme type (GG18, GG20, FROST, or Custom), set the participant count (n) and threshold (t, where t ≤ n), and set the lookback blocks for log analysis. Click "test TSS integration" and the tool will verify the contract, analyze its bytecode and ABI for TSS-compatible patterns, check wallet connectivity, and run a comprehensive test suite tailored to your TSS configuration. Results display a summary with pass/fail/warn counts and an overall status, detailed test cards showing each test's outcome with supporting data, and a table of all tests. Use the report to identify integration gaps, verify TSS compatibility, and ensure your contract's threshold security properties align with distributed key management requirements.
TECHNICAL MECHANISM
The analyzer uses ethers.js v5.7.2 to perform a multi-stage TSS integration test. First, it calls eth_getCode to verify the contract is deployed and uses block explorer APIs to fetch verification status and source code. The tool then reads the current wallet state via BGWallet, capturing the connected address and chain ID for context. It analyzes the contract bytecode and ABI to detect TSS-compatible patterns—specifically looking for multi-signature verification functions (e.g., verifyMultiSig), threshold validation logic (require(signers.length >= threshold)), distributed key generation support, participant management mappings (authorized signers or key shares), and TSS-specific event emissions. The tool also scans historical logs using eth_getLogs across the specified block range to identify multi-signature verification events, key generation events, and participant rotation events. Each test in the suite evaluates a specific aspect of TSS integration: contract deployment, wallet connectivity, threshold scheme support (based on selected scheme type), multi-signature verification implementation, DKG support (distributed key generation), threshold validation logic (ensuring t-of-n correctness), participant management (adding/removing signers), replay protection (nonce, chainId checks), and TSS event emission (audit trail). Results are compiled into a structured report with detailed diagnostic information and TSS-scheme-specific recommendations based on the selected scheme type (GG18/GG20 for ECDSA, FROST for Schnorr, or Custom).
WHAT IT CANNOT SEE
This tool cannot actually test threshold signature generation or key sharing functionality—it performs analysis and verification only. It cannot access actual TSS keys, shares, encrypted data, or distributed signing protocols. The tool is limited by the RPC provider's rate limits and block range availability for historical log queries. It cannot verify signatures that are not on-chain or have been generated outside the analyzed scope. The analysis relies on the accuracy and completeness of contract verification and signature data; unverified contracts or incomplete ABIs may produce incomplete results. It cannot analyze contracts that are not verified or have opaque implementation details where TSS verification is obfuscated. The tool cannot test TSS integration with off-chain systems or external signing parties beyond the contract's on-chain logic. It is limited to the specific contract instances and signatures that are accessible via RPC. It cannot detect threshold-specific edge cases such as participant collusion, malicious share generation, or distributed signing performance characteristics. It cannot guarantee that security properties match actual TSS implementation without manual review and distributed testing with the actual participant set.
PLEASE NOTE
This is a read‑only analytics tool—it never submits transactions or signs anything. It is designed for EVM‑compatible chains and works best with contracts that implement standard TSS-compatible multi-signature verification patterns. The test results are for informational and audit purposes only and should not be considered a comprehensive security audit. Always manually review multi-signature verification logic and perform actual TSS integration tests with distributed participants before deploying to production. The tool's pattern detection is heuristic and may miss custom TSS implementations or scheme-specific features. The selected TSS scheme type affects the pattern detection logic—ensure you select the correct scheme type for your implementation.