Hi Zama Team,
I have a question regarding the deployment of Voting and Gateway contracts:
Are there any supported public networks or testnets for running the Voting and Gateway contracts?
If yes, are there any special settings or funded accounts required?
What I have done so far:
Installed and configured Hardhat with Ethers v6 and @nomicfoundation/hardhat-ethers v3.0.1
Updated FHEPrivateVoting.sol according to the latest FHEVM SDK (using FHE.fromExternal and removing deprecated functions)
Successfully compiled and deployed the contract on the Hardhat local network
Following up on my previous question regarding public network support for the Voting and Gateway contracts, I’ve gathered more detailed technical results from my setup and testing.
⚙️ Environment Summary
Node.js: v22.20.0
Hardhat: v2.26.3
@fhevm/hardhat-plugin: 0.1.0
@zama-fhe/oracle-solidity: 0.2.0
@zama-fhe/relayer-sdk: 0.2.0
Solidity: ^0.8.27
Networks: Hardhat local (OK ✅), Sepolia (issues ⚠️)
🌐 Relayer Connectivity Tests
All endpoints tested under https://relayer.testnet.zama.cloud returned:
404 — "no Route matched with those values"
Endpoint tried
Response
/api/health, /api/public-key
404
/v1/health, /v1/public-key
404
/v2/health, /v2/public-key
404
/health
404
This suggests the testnet relayer routes are internal-only (likely behind Kong Gateway).
After checking with the latest SDK (@zama-fhe/relayer-sdk@0.2.0), we confirmed that:
The correct relayer base URL should now be https://relayer.testnet.zama.ai (for testnet).
The public key and health endpoints are no longer exposed directly; instead, the proper way is to call createEncryptedInput() after initializing the SDK instance.
Our local deployment and Hardhat integration are working well, but we want to confirm that this is indeed the correct relayer for public FHEVM testnet deployments — and whether there are any rate limits, whitelisted addresses, or authentication requirements for the .zama.ai relayer.
We appreciate your confirmation or any additional recommendations.
Hi @aa2hr! I confirm the Zama relayer url is: https://relayer.testnet.zama.cloud
However, I recommend you to interact with the Zama Protocol exclusively using the @zama-fhe/relayer-sdk package and the public API it provides.