Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [verify]

The tag has no usage guidance.

45 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
429 views

Can't Verify Contract on etherscan.io or etherchain.org

I've deployed a contract, which I generated using Mist but I can't seem to get it to verify. At etherscan.io I keep getting the error: Error! Invalid constructor arguements provided. Please ...
stíobhart's user avatar
2 votes
1 answer
155 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
2 votes
2 answers
172 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
  • 918
2 votes
1 answer
460 views

Decoding signature for verification not working

I'm trying to verify a signature, but when I decode it, the function reverts. This is the function I'm using function source(bytes memory signature) public returns (bytes32 r, bytes32 s, uint8 v) { ...
SergioGaitan's user avatar
2 votes
0 answers
5k views

Check if a struct is empty

I have a function where I pass a id. With that id the contract find in a mapping a struct. My idea is to check if exists that struct with the given id with a if clause. I try with 0, null, "". Is ...
UnexpectedCharacter's user avatar
2 votes
1 answer
587 views

verifying code deployed with web3.js

I am deploying my smart contracts using web3.js and compiling the code using solc. The contracts are deployed successfully with no issues however I am having a bit of a problem in verifying my ...
Zaid Amir's user avatar
  • 322
2 votes
0 answers
3k views

Why the value of v is always either 27 (11011) or 28 (11100)?

Why the value of v is always either 27 (11011) or 28 (11100), and, how is it known wether it will be 27 or 28?
schnorr's user avatar
  • 199
2 votes
0 answers
590 views

How to verify a deployed contract on etherscan

I would love to get some help with this as I'm wracking my brain with how to get this done. I have gone through this link to verify my contract: https://etherscan.io/verifyContract I am puzzled with ...
slutexpress's user avatar
2 votes
1 answer
266 views

Why do compiler version and version in the source code not fit together for some verified contracts on Etherscan?

I found this verified contract on Etherscan: https://etherscan.io/address/0xd7a27d8d58f0c9e378fb3cb2816bde94c5e34059#code Etherscan says, it was compiled with solc version v0.4.14+commit.c2215d46, ...
hefeleal's user avatar
  • 147
1 vote
1 answer
69 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
59 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
1 vote
0 answers
216 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
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
1 vote
0 answers
326 views

import openzeplin files into contract

For an ERC-20 Pauseable, mintable, capped contract I directly used files like below. import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/...
murtza gondal's user avatar
1 vote
1 answer
240 views

How to validate a BTC transaction in an Ethereum smart contract?

Can an Ethereum smart contract use SPV to validate a BTC or BCH transaction? If so, are there any functioning libraries? What are the drawbacks or challenges when doing so?
Jesbus's user avatar
  • 10.5k
1 vote
0 answers
188 views

Problem Uploading Contract Verification to Etherscan - Contract works perfectly and is already deployed

BOUNTY WILL BE GIVEN FOR SOLUTION I am having trouble authenticating my ERC-20 Token Contract on Etherscan. Token works perfectly and all functions are correct I am a novice dev and lead dev of ...
Jesse Jarvis's user avatar
1 vote
0 answers
211 views

Etherscan: Verify and Publish Source Code - Error! Library Name and Address was provided but not used in the contract

Tried to verify my Smart Contract on Etherscan for Ropsten. Smart Contract is a library which actually also imports another library (which is already verified). Getting following error Error! The ...
Senju's user avatar
  • 701
1 vote
0 answers
771 views

How to verify a contract with libraries deployed from Remix

I successfully deployed a contract with remix here on Ropsten Testnet: https://ropsten.etherscan.io/address/0x10273a926517b417015748da21e1287bab2da8f7 The Source Code is very simple but I'm using my ...
Anton Cheng's user avatar
0 votes
0 answers
11 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
0 answers
23 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
0 votes
0 answers
23 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
81 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
0 votes
0 answers
210 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
18 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
164 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
2 answers
225 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
0 votes
1 answer
189 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
228 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
0 votes
1 answer
721 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
178 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
  • 135
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
0 votes
1 answer
144 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
0 votes
0 answers
106 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
0 votes
1 answer
485 views

Problem with "Verify & Publish Contract Source Code" on BscScan

I wanted to "Verify & Publish Contract Source Code" on BscScan, but I get this message: ParserError: Multiple SPDX license identifiers found in source file. Use "AND" or "...
Piotrekkk's user avatar
0 votes
1 answer
28 views

Contract is working but no "Verify and Publish"

Contract is working but no "Read Contract" and "Write Contract" and no "Code" And no verify and publish. So i tried coding and the Minted Tokens are correct, 100% of the ...
Damn Son's user avatar
0 votes
0 answers
33 views

Can anyone help me to verify my coin?

Error! Unable to generate Contract ByteCode and ABI (Compiler Exception) I get the whole time this error. I don't understand what I did wrong. Can anyone help me? This is the contract address: ...
drak's user avatar
  • 1
0 votes
0 answers
209 views

Can't verify contract on etherscan Rinkeby

So I deployed a contract, CErc20Delegator, on Rinkeby using hardhat-deploy, but I'm struggling to verify the contract on etherscan. This is the deploy script: const deployment = await deploy("...
crypto fish's user avatar
0 votes
1 answer
149 views

How to verify a "ERC20PresetFixedSupply" OpenZepplin contract on Etherscan?

I have deployed a contract through Remix to the mainnet and I am now having issues with verifying the contract. When I compiled it I used the 0.8.0 compiler without optimization. The contract I used ...
jenkforum's user avatar
0 votes
1 answer
23 views

Specific account validating transaction

I am trying to create a system using blockchain for a "firm". What I am looking to do is for an employee to enter some data into the system but before it is uploaded have a manager sign off ...
SupplyBlockChain's user avatar
0 votes
1 answer
138 views

Different byteCode generated between block explorer and standard json input

I have deployed a contract and want to verify it, but when I used the same code with same configurations of compiler to verify it, it gave me negative result. Thus I tried to decompile these two ...
llp's user avatar
  • 33
0 votes
1 answer
139 views

Truffle-plugin-verify says passed but still unverified on BSCscan

Contracts deployed via Truffle are not properly verifying on the mainnet. On my end it says verification passed but on the website it's still unverified. I've been able to deploy and verify the same ...
Shiny's user avatar
  • 1
0 votes
0 answers
279 views

Verify & Publish Source Code

I tried to Verify & Publish Contract Source Code for my token and the error happened like this Compiler debug log: Error! Unable to generate Contract ByteCode and ABI (Compiler Exception) For ...
Hishamjo's user avatar
0 votes
0 answers
108 views

What exactly does the miner verify in the process of verifying the transaction?

I have seen different answers to this question. For example, one transaction calls a function on a smart contract. Some people say that the miner uses the same input to verify that the output is the ...
wei wang's user avatar
  • 437
0 votes
1 answer
223 views

Failed to verify contract source code due to timeout/memory limit

Failed to verify contract deployed through remix on Ropsten network both using optimization and without it. Error is: Exception #1 Occured: ERROR|The Contract solidity compilation has exceeded the ...
PATAPOsha's user avatar
  • 101
0 votes
1 answer
564 views

ABI for Etherscan verification

How I can get ABI in multiple contract code? if the code is here: Token address is: 0x4960a0Db832c3Bb503F3Da59a274D9385e0Ade5A Crowdsale contract: 0x7a76d1A86a8b801865eC9134552904366b327A45 I ...
Rando 's user avatar