Select Test Network
Sepolia
Ethereum Testnet · Chain 11155111
Free ETH faucet
Mumbai
Polygon Testnet · Chain 80001
Free MATIC faucet
BSC Testnet
BNB Chain Testnet · Chain 97
Free BNB faucet
Mainnet
Ethereum · Chain 1
Real ETH — Read-only
Not connected — connect wallet to switch networks.
L1
Layer 1 — Off-Chain Hash Calculation
Algorithm 2(a)+(b): ℍPolicy = SHA256(rules) → ℍPC = SHA256(all policy hashes) · No gas · Pure CPU
Test Configuration
Results
Avg Latency
—
milliseconds
Paper Fig.16 reference
Min Latency
—
milliseconds
Max Latency
—
milliseconds
Total Hashes
—
ℍPolicy + 1 ℍPC
L2
Layer 2 — On-Chain Blockchain Operations
Deploy · storePCHash · getPCHash · verifyPCIntegrity · Gas cost · ETH cost · Latency
Contract Setup
The benchmark will: estimate deploy gas → estimate write gas → execute write (1 tx) → read 5x → verify 3x → report all latencies and costs.
Progress
Fetch current gas price
Estimate deployment gas
Estimate storePCHash gas
Execute storePCHash (1 tx)
Benchmark getPCHash (5 reads)
Benchmark verifyPCIntegrity (3 calls)
Generate report
Gas Price
—
Gwei
Deploy Gas (est.)
—
gas units
—
Write Gas (est.)
—
gas units
— ETH
Write Gas (actual)
—
gas units used
—
Write Latency
—
seconds (incl. block)
Paper: ~13.66s
Read Latency (avg)
—
milliseconds
Paper: ~158ms
Verify Latency (avg)
—
milliseconds
Block Confirm Time
—
seconds
D
Deployment Cost Estimator
Estimate how much it costs to deploy PolicyHashRegistry.sol on any network — before spending real gas
Bytecode Size
Paste the compiled bytecode from Remix (Compilation Details → Bytecode → object field).
Gas Price Scenarios
Estimated Deploy Gas
—
gas units
Cost in ETH
—
ETH
Cost in USD
—
approximate
Network Comparison
Estimated cost to deploy the same contract on different networks at current gas prices.
Run the estimator first →