Skip to main content

Questions tagged [verify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
100 views

Error in plugin hardhat-ignition

I'm trying to verify my contract on the bsc testnet explorer (bscscan), but I'm getting this error: Error in plugin hardhat-ignition: A network request failed. This is an error from the block ...
Ali's user avatar
  • 67
1 vote
1 answer
49 views

Try to verify a deployed Contract without the setting of optimizer

I deployed a contract one year ago, it works well and now I want to verify it to public code to the client, but the problem is: I can't remember what I set in the optimizer setting before. I tried ...
CT95's user avatar
  • 518
1 vote
0 answers
23 views

InvalidFEOpcode when running Hello ZoKrates

I'm trying to verify a proof by calling verifyTx() on the smart contract output given after running zokrates export-verifier, but it's reverting with the error InvalidFEOpcode on the code block: ...
dNyrM's user avatar
  • 938
0 votes
0 answers
15 views

Hello,I wish to know if this defi flashloan code is correct and I can compile with remix [duplicate]

pragma solidity ^0.6.6; // Uniswap Deployer import "https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/interfaces/IUniswapV2Callee.sol"; // Uniswap Manager import "https:...
Massimiliano's user avatar
0 votes
2 answers
33 views

Contract verify [duplicate]

I get such error of compilation in Optimism Sepolia testnet network.The contract succesfully compiles using hardhat with needed configuration.What should I do to get verified the contract ?
Nerses Asaturyan's user avatar
0 votes
0 answers
27 views

Contract Verification Problem

I'm encountering a perplexing issue while trying to verify my contract through BaseScan. I received a successful verification response from https://api.basescan.org/api as follows: { "status&...
Yazan Ali's user avatar
0 votes
1 answer
151 views

Invalid API key sepolia network blockscout

I deployed a contract on sepolia network and I would like to verify my coin using hardhat. npx hardhat verify --network sepolia 0x44ED9AB9F4Ab72e4b1aBfEBaDf5A942617B90D18 I created an API key on ...
SolidityNewbie's user avatar
0 votes
0 answers
30 views

General Exception, unable to get compiled [bytecode]

Hi I created a smart contract using Remix, I deployed the contract but now that I try to verify my contract on BscScan I keep getting the following error: Error! Unable to generate Contract Bytecode ...
Rockie Road's user avatar
4 votes
1 answer
208 views

How can I use BLS12-381 curve operations:EIP-2537, Whether it's on a public or private chain

Recently I have been doing an experiment to sign smart contracts with bls12-381, but I can't find any tutorial or code for this, Is there any way to do that? please tell me if you know about it.
hai zhang's user avatar
0 votes
0 answers
34 views

How to validate transactions on private network?

I'm currently launching a private network using genesis.json. We ran two nodes to process transactions from miners. I would like to check whether the other node (verifier) is validating the ...
sho's user avatar
  • 1
0 votes
1 answer
119 views

How is signing a hash different from signing a message?

I've got an Arduino microcontroller (ATmega328P) where I can use the following code (borrowed from here) snippet to sign an arbitrary message . First, I take the keccak256 hash of the message, and ...
Ryan's user avatar
  • 92
0 votes
1 answer
99 views

Different bytecodes when verifying contract on Etherscan Goerli for code from OpenZeppelin Wizard

I went to https://wizard.openzeppelin.com to generate an ERC20 contract and then pasted the contract on Remix and deployed on Goerli. Then, I flattened the same code and tried to verify it on Goerli ...
ratib90486's user avatar
1 vote
0 answers
311 views

Foundry: Veirfy contracts on deployment with config in foundry.toml

Ok so I'm using Foundry to deploy contracts to multiple networks (Ethereum and L2s). I use the --verify option to verify on deployment. On goerli network the contracts get verified automatically on ...
Inn0vative1's user avatar
0 votes
1 answer
32 views

How can I verify & publish source code on bscscan?

Can someone please help me verify & publish the source code for this token? I keep getting error message saying invalid constructor arguments (please make sure they are in ABI encoded format). ...
Toya Brown's user avatar
0 votes
1 answer
31 views

I cant verify my contract. It is very basic code

I cant verify my contract. It is very basic code. I cant understand why. https://i.sstatic.net/tBEUl.jpg
user125862's user avatar
1 vote
3 answers
433 views

I can't verify contract on etherscan because it needs abi-encoded constructor

I can't verify and check my contract on Etherscan. It asks me for the abi-encoded constructor, but I can't find it. Can someone help me, or tell me how to find the missing information? Please! // SPDX-...
Bryce De Nyce's user avatar
1 vote
1 answer
299 views

Having a signed tx object from mempool in js how can I rebuild raw tx data using ethersjs or web3js?

I have a pending signed tx object received through subscribe on pending transactions in js. I need to build raw tx data to be able to send it directly to the network, but the following code does not ...
Ehsan Khodarahmi's user avatar
0 votes
1 answer
710 views

"invalid signature length" when trying to verify signature

I'm using the entire source code to sign and verify messages from https://solidity-by-example.org/signature/ on Remix. But when I go through the process of running the functions getMessageHash, ...
ratib90486's user avatar
0 votes
1 answer
192 views

How to get the hash in isValidSignature for ERC1271?

AFAIK, to verify a message, I need three things - message, signer wallet address and signature which is the signed message. Like when I use MyEtherWallet signing tool. But in function isValidSignature,...
ratib90486's user avatar
0 votes
1 answer
244 views

Programmatically verification of a smart contract on a Nextjs component

I have come across a situation in my project ( Hardhat, Nextjs, TailwindCSS ) where I need to verify my smart contracts right after their deployment. Clearly, we have a mother smart contract that ...
Sina Rahimi's user avatar
0 votes
2 answers
276 views

Issue verifying proxy contract with linked library

I am experiencing a weird issue when verifying a Proxy Contract on Etherscan. I am using hardhat, @openzeppelin/hardhat-upgrades, and @nomiclabs/hardhat-etherscan. The issue Error in plugin @...
Anters Bear's user avatar
2 votes
1 answer
198 views

Contract Verify fails

This is my code for utils/verify.js const { run } = require("hardhat") const verify = async (contractAddress, arguments) => { console.log("Verifying Contract... ") try { ...
Yana Gupta's user avatar
0 votes
1 answer
239 views

Verify a cloned contract

I want to deploy a contract via the clone factory pattern described here Is there a way to verify the child cloned contract (preferably via CLI) on etherscan? I know for proxy contracts generally it ...
YBM's user avatar
  • 1
0 votes
1 answer
1k views

Contract verification Failed

I have two contracts Pool and PoolConfiguration, when deploying them to goerli test they both deploy successfully but when verifying on etherscan PoolConfiguration fail to verify and drops this error :...
noro meb's user avatar
  • 368
0 votes
1 answer
233 views

How to Verify smart Contracts Using Web3.js and Solc?

everyone, I am new to web 3,I deployed smart contract successfuly and get back contract address but now I am trying to verify that the smart contract with web3 and solc . https://www.shawntabrizi.com/...
Arpit_joshi's user avatar
2 votes
2 answers
195 views

Efficient way of verifying a sum of multiple numbers

If I have, let's say 1000 numbers or 10k numbers, and they all add up to 100 when combined, what would be the most efficient way to verify that in fact the sum of all of them is 100? I was thinking on ...
dNyrM's user avatar
  • 938
4 votes
2 answers
523 views

How verify transaction data in zkrollups?

The stateroot transition is verified by witness (pre- and post- state root) and proof, but validators also should verify the transaction data which is proposed by operators. How can verify the ...
amanec's user avatar
  • 41
0 votes
1 answer
868 views

Failing to Verify Contract with multiple arguments on etherscan

I am trying to verify a deployed smart contract on etherscan (goerli testnet) using the command: npx hardhat verify --contract contracts/Contract.sol:Contract --constructor-args scripts/arguments.js --...
shamapumbu muzandu's user avatar
0 votes
1 answer
192 views

yarn hardhat verify --help error

I'm trying to get help with the command yarn hardhat verify --help. I get the following error yarn run v1.22.19 $ F:\Aleksey\Study\Blockchain\projects\hardhat-simple-storage-fcc\node_modules\.bin\...
HideME's user avatar
  • 155
0 votes
1 answer
204 views

Verify complex smart contract with Hardhat help

I have a smart contract that imports from open zeppelin contracts. I have having some trouble verifying the contract through Hardhat. The contract compiles and is deployed on goerli testnet but i get ...
antharithm's user avatar
0 votes
0 answers
26 views

Verify on Rinkeby doesnt work for my contract eventho all parameters are right

Hello the following code has been succesfully compiled and deployed to rinkeby(0x2e38e76bc1bf67483e5c79dfa7adb8aa66667daf) but I cant verify it. I have quadruple checked the compiler version, if ...
CheeseMcBurger's user avatar
1 vote
1 answer
71 views

Is it proper to estimate the throughput of verification from gas limit?

EIP-2537 says pairing of k pairs cost 23000*k + 115000 gas. Gas limit per block is 30M gas, and (30M-115000)/23000 is about 1299. Does it mean that there can be at most 1299 transactions to be ...
luke's user avatar
  • 31
1 vote
1 answer
62 views

Verify on etherscan

Trying to verify contract 0x0568a87e64e65f4cc7898e08f0e57ffe2aa6241f, compiler 0.8.7 with source code // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/...
klauf's user avatar
  • 11
0 votes
1 answer
189 views

Signature from array of tokenId's isn't verifying

The domain message is: struct Offer{ address from; address to; uint256 nonce; uint256[] tokenIds; uint256 duration; } bytes32 constant ...
Владимир Владимирович's user avatar
1 vote
2 answers
1k views

How can I verify a smart contract generated by another smart contract with some arguments?

I've created a contract factory smart contract and deployed + verified on Ropsten. How can I verify the child-contracts on etherscan? Parent contract: https://ropsten.etherscan.io/address/...
Zedkay22's user avatar
1 vote
1 answer
973 views

Create zkProof onchain

Is it possible to create ZK-SNARKS proofs and verify them, all onchain, with solidity, without reveling the witness? The proving and verifying keys could be created offchain, but these two would have ...
dNyrM's user avatar
  • 938
0 votes
1 answer
483 views

Failing to verify signature

I'm trying to verify a signature using OpenZeppelin's SignatureChecker library, but always returns false. This is the verify function from the lib: function isValidSignatureNow( address ...
dNyrM's user avatar
  • 938
0 votes
1 answer
884 views

Contract Verification Problem on Matic using Hardhat ```npx hardhat verify --network matic```

I am trying to deploy a contract on Matic network, I have an API key set up and the proper private key for metamask in my env. ( I have deployed many contracts and verified them this way many times. ...
Dakra Mystic's user avatar
0 votes
1 answer
48 views

How to verify smart contract used with github link

Hello this is simple question how to verify a erc20 smart contract of github openzeppelin link? I have erc20 token build with github openzeppelin link I want to verify it on explorer how to do it? ...
vijay Trimal's user avatar
1 vote
0 answers
1k views

Call contract that's unverified [duplicate]

I am currently developing a smart contract ecosystem. I want to interact with my smart contracts on the testnets. However, I have to verify to do so. I cannot verify, as I don't want my code displayed ...
connova's user avatar
  • 21
1 vote
0 answers
238 views

Verify Smart Contract ABI Encoded Avalanche

I would like to verify a smart contract with snowtrace.io explorer on Avalanche. For this I need Constructor Argument ABI-Encoded To encode this, I use https://abi.hashex.org/ Anyway I get the error ...
equaliser's user avatar
0 votes
1 answer
1k views

Deployed contract with Remix, and trying to verify contract on Etherscan after few weeks but Bytecode doesn't match

I've been reading as much around this as possible, but cannot verify a contract which relies on openzeppelin imports, because the compiled bytecode differs from the deployed bytecode. I deployed an ...
Shawn N's user avatar
  • 11
1 vote
1 answer
1k views

Automatic verification of Smart Contracts deployed from another Smart Contract

I have seen an Smart Contract that deploys new contracts, which are automatically verified in etherscan without doing anything special: Contract contract = new Contract(a, b); The contract is ...
Alexander Herranz's user avatar
1 vote
1 answer
129 views

Why do running hardhat tasks in javascript require a colon?

I am running hardhat-etherscan to auto verify smart contracts after deploying them. According to the documentation, you add a little colon in between the word verify and add the word verify again. ...
Patrick Collins's user avatar
1 vote
1 answer
1k views

Error in plugin @nomiclabs/hardhat-etherscan: Error! Missing Or invalid Module name

Cannot verify contracts using hardhat. On running the command - npx hardhat verify <contract_address> --network rinkeby I get a bunch of warnings like this - Warning: Variable is shadowed in ...
eth_sign's user avatar
0 votes
1 answer
147 views

Verifying the signature of a transaction seems circular

I'm reading Mastering Ethereum. Around page 116 it says; "to verify the signature one must have the signature (r and s), the serialized transaction, and the public key that corresponds to the ...
Luke Puplett's user avatar
8 votes
4 answers
6k views

Error when trying to verify contract

I'm trying to verify pn Etherscan my contract, but getting this error. What could it be? PS C:\Projects\HardHat TS2> npx hardhat verify --network rinkeby 0x9517F72c4b61A07fd0cF684eE7A74C18Eb36dad8 ...
ra1n89's user avatar
  • 139
1 vote
1 answer
382 views

How do I tell which solidity version eth-brownie is using to compile my contracts?

I'm not specifying a solidity version so I'm not sure which solidity version brownie is using to compile my contract. I'm using pragma solidity ^0.8.0; so I'm not sure which version above 0.8.0 ...
tythereum's user avatar
0 votes
1 answer
189 views

Unable to validate one of two signatures that were signed the same way

I have a contract that requires two witnesses to sign. Signatures are both being generated using the same code, but I am only able to validate Witness A. Witness B is never found, always just get the ...
Severin's user avatar
  • 173
0 votes
0 answers
125 views

Trying to configure truffle-configure.js for truffle verify plugin

New to development. I'm trying to verify my smart contract on the testnet using the truffle verify plugin but unfortunately, I can't seem to configure the plugin in my truffle-configure.js file. Here'...
Slimtradeywestcoast's user avatar