Data Availability Sampling Test 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
This tool tests data availability sampling (DAS) readiness by analyzing contract verification patterns, sampling functions, and availability tracking. It performs a comprehensive suite of read-only checks against a target DAS contract to verify that it correctly implements data availability sampling functionality. The tool checks for contract deployment verification, wallet connectivity, sampling function support, sampling size compatibility, blob availability tracking, Merkle proof verification, sampling randomness, and DAS event emission. Results are presented as a detailed test report with pass/fail/warn statuses for each test, along with a readiness score. This is essential for developers building DAS-enabled applications, auditors verifying data availability implementations, and teams ensuring sampling readiness for blob transactions.
HOW TO USE
Connect your wallet (read-only, no transaction required) and select the target network. Enter the DAS contract name and address, set the sampling size (number of samples), and set the lookback blocks for DAS analysis. Click "test data availability sampling" and the tool will verify the contract, analyze its bytecode and ABI for DAS patterns, check wallet connectivity, and run a comprehensive test suite. Results display a summary with pass/fail/warn counts and a readiness percentage, detailed test cards showing each test's outcome with supporting data, and a table of all tests. Use the report to identify DAS implementation gaps, verify sampling readiness, and ensure your contract correctly handles data availability operations.
TECHNICAL MECHANISM
The analyzer uses ethers.js v5.7.2 to perform a multi-stage data availability sampling test. First, it calls eth_getCode to verify the DAS 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 for context. It analyzes the contract bytecode and ABI to detect DAS patterns—specifically looking for sampling function signatures (sampleBlob, verifySample, getAvailability), blob availability tracking mechanisms (mapping of blob hashes to availability status), Merkle proof verification functions, secure randomness sources for sample selection, and DAS event emissions (SamplingRequested, SampleVerified, AvailabilityUpdated). The tool also validates the requested sampling size against the contract's sampling limits. Each test in the suite evaluates a specific aspect of DAS implementation: contract deployment, wallet connectivity, sampling function support, sampling size compatibility, blob availability tracking, Merkle proof verification, sampling randomness, and event emission. Results are compiled into a structured report with detailed diagnostic information and a readiness score based on the proportion of passing tests.
WHAT IT CANNOT SEE
This tool cannot actually test data availability sampling with real nodes or networks—it performs analysis and verification only. It cannot access actual blob data, simulate sampling of blob data, or verify data availability guarantees. The tool is limited by the RPC provider's rate limits and block range availability for historical log queries. It cannot verify the actual availability of blob data—only the contract's implementation of availability tracking. The analysis relies on the accuracy and completeness of contract verification and event data; unverified contracts or incomplete ABIs may produce incomplete results. It cannot analyze contracts that are not verified or have opaque data availability mechanisms where DAS patterns are not clearly distinguishable. The tool is limited to the specific contract instances and sampling events that are accessible via RPC. It cannot guarantee that sampling patterns reflect actual network conditions without manual review and actual sampling tests with real nodes. The tool does not validate the security of the randomness source—it only detects that a pattern exists.
PLEASE NOTE
This is a read‑only analytics tool—it never submits transactions or initiates sampling operations. It is designed for EVM‑compatible chains and works best with contracts that implement standard DAS verification patterns. The test results are for informational and audit purposes only and should not be considered a comprehensive security audit. Always manually test DAS functionality with actual nodes and sampling operations before relying on it in production. The tool's pattern detection is heuristic and may miss custom DAS implementations or blob-specific features. Data availability sampling is a critical security feature—ensure thorough validation of your DAS implementation.