I’m testing the fhevm-voting-tutorial using @zama-fhe/relayer-sdk@0.2.0.
When I try to call the relayer endpoint /v1/create-input I always get the following error:
{
"message": "no Route matched with those values",
"request_id": "xxxxxx"
}
Here’s the exact request I’m sending (Sepolia, chainId 11155111):
Hi @aa2hr,
Sorry for the response delay.
This endpoint does not exists on relayer http server.
If you are referring to create encrypted inputs to interact with your contract, you can do it directly using the relayer-sdk, calling the function createEncryptedInput after having created an instance of the relayer.
With the relayer-sdk, you can basically cover all the other necessary usecases required for your confidential dApp.
I don’t know actually where you found the tutorial, and maybe it’s outdated. Could you share the link ?
Additionally to this, here is some additional useful ressources for you to continue to build your contract or adapt it to the new version of zama protocol, and build your application on top of it: Solidity guide - Quick start tutorial
And here you can find a documentation if you want to build a web app on top of it: web-application