A tool for comparing ZK proof verification between devnet and local Photon indexer.
-
Copy the example environment file:
cp .env.example .env
-
Fill in your values in
.env:HELIUS_API_KEY- Your Helius API keyDEVNET_RPC_URL- Solana devnet RPC URLTEST_ADDRESS- Address to test proof verificationADDRESS_TREE- Address tree pubkeyLOCAL_PHOTON_URL- (Optional) Local Photon indexer URL for comparison
-
Build and run:
cargo run
Runs 100 iterations of ZK proof verification against devnet Photon indexer.
If LOCAL_PHOTON_URL is set, also compares results against a local Photon indexer.