vlayer
vlayer Discord server icon

vlayer

vlayer Community Forum

Community Discussions

vgas_limit error in vlayer SDK

I'm receiving error

Proof failed Error: Allocating gas failed with error: Your vgas balance is insufficient to allocate given vgas_limit of 10000000.

It seems there is a vgas_limit in vlayer sdk? Can I set this variable manually to make it less than 10000000?

3 messages

vlayer init: Soldeer install error for openzeppelin

◆  Done reading config
│  
◆  Installing @openzeppelin-contracts~5.0.1                                      
└  An error occurred during install
2025-04-03T18:24:53.740294Z ERROR vlayer: Error: Soldeer failed: error during install operation: error during registry operation: error with registry request: error sending request for url (https://api.soldeer.xyz/api/v1/revision?project_name=%40openzeppelin-contracts&offset=0&limit=10000)
5 messages

What is the Prover, and where does its code run?

The vlayer Prover is a special program written as a Solidity smart contract. It handles large, private calculations off-chain (outside of the main blockchain).

The Prover’s code runs on the vlayer zkEVM system, which currently works on cloud servers or on a user’s computer.

The result of this calculation is called a "proof". Only this result gets sent to the blockchain, while the inputs and actual steps in the calculation stay private.

2 messages

Who is responsible for deploying the Prover and Verifier?

Developers are responsible for deploying both the Prover and Verifier contracts. They can use familiar tools like Viem or Foundry to do so. Both contracts must be deployed on the same blockchain.

You can find examples of how to deploy them by using our command-line tool. Just type and select template that interests you the most:
vlayer init --template

What do I need to generate a Web Proof?

You’ll need the Prover, the Verifier, and a browser extension that notarizes HTTPS requests between your browser and the destination servers. Right now, the browser extension is required, but we’re exploring other options.