Questions tagged [verify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
18 votes
3 answers
10k views

Etherscan: How can I verify a contract with multiple imports deployed with Truffle?

When I deploy a contract with Truffle that has an import statement, and try to verify it on etherscan, my understanding is that I need to paste in the contents of the imported file. I get an error on ...
Travis Jacobs's user avatar
17 votes
5 answers
8k views

How do you verify a contract on etherscan that is deployed by another contract?

How do you properly verify a contract on etherscan that is deployed by another contact? I deployed a contract that deploys other contracts onto the blockchain. The original contract is verified , ...
Dino Anastos's user avatar
12 votes
3 answers
17k views

Convert contract arguments from JSON to ABI-encoded format

I want to verify a contract code on Etherscan, but don't know how to get the arguments in ABI-encoded format. I have the source code and the interface in JSON. Is there some tool I can use, or some ...
user avatar
11 votes
3 answers
2k views

Can ZKSnarks be implemented on the Ethereum ecosystem?

Since Zcash seems to have it's ZKSnarks implementation finished (or almost at least). And versions of JPMorgan's Quorum had appeared with ZKsnarks implementations included see: https://www.coindesk....
CPereez19's user avatar
  • 2,835
9 votes
3 answers
4k views

Can't verify contract on etherscan.io

guys. I have created simple contract, migrated to testnet via truffle. It can be founded here. But I can't verify it. I double check: 1. name of contract 2. version of compiler (ver. 0.4.11 in ...
Averin Maxim'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
7 votes
3 answers
3k views

Having trouble verifying a contract on etherscan.io

I'm trying to verify a contract on etherscan.io. The contract itself has a number of imports and libraries and has been deployed using certain constructor arguments. I've copy/pasted the code from ...
o0ragman0o's user avatar
  • 4,320
7 votes
2 answers
2k views

Possible to change Etherscan verified source after initially verified? [closed]

Is it possible to change the comments in verified contract source on Etherscan once the contract source has already been verified? It isn't the Solidity source itself that I'd like to change. Just a ...
Max's user avatar
  • 636
7 votes
3 answers
7k views

Cannot verify contract with multiple arguments at etherscan.io

When I enter all the information about a contract, the system displays the error: Error! Invalid constructor arguments provided. Please verify that they are in ABI-encoded format I fill in the ...
demetros's user avatar
6 votes
1 answer
7k views

Unable to verify Solidity contract code on etherscan.io

I know this question has been asked many times before. I've read loads of answers, but nothing seems to work for me. I first tried to verify the source code of a much larger, more complex contract, ...
Jesbus's user avatar
  • 10.5k
5 votes
4 answers
2k views

I can't verify my contract on the Rinkeby etherscan site

I'm getting the following error when verifying on the RINKEBY etherscan site: Error! Unable to verify source code Exception #1 Occured: ERROR|The Contract solidity compilation has exceeded the ...
nickjm's user avatar
  • 865
4 votes
2 answers
382 views

Verifying a Token Contract with Interface

I managed to deploy a token contract with interface on Kovan Testnet. Now I wanted to verify the code. However this is a bigger problem than I thought. The contract got successfully deployed to: ...
cqx's user avatar
  • 3,462
4 votes
1 answer
3k views

How to verify a paper wallet is working without compromising the private key?

MyEtherWallet tells the user: You need to back up your private keys externally and verify you can access the wallets. I am wondering, how do you verify you can access the accounts without ...
q9f's user avatar
  • 32.9k
4 votes
1 answer
724 views

Is there a way to verify the identity of the sender of the transaction in ethereum?

Is there a way to verify the identity of the sender of the transaction in ethereum? Like we have certificates issued by certificate authority do we have similar thing for the accounts on blockchain
T_A's user avatar
  • 157
4 votes
2 answers
404 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
4 votes
1 answer
2k views

what does verifying smart contract execution means?

I know that when somebody wants to run a function in a contract, she sends a transaction; and then a miner needs to run that function based on the function input received from the user, adding the ...
MWH's user avatar
  • 363
3 votes
1 answer
70 views

Besides Etherscan, Are There Other Places to Verify/Publish Contract Code?

The title says it, but I also need at least 30 characters.
Daniel Connelly's user avatar
3 votes
1 answer
1k views

How to verify smart contracts on different solidity versions

I'd like to build my own smart contract verify system with all solidity versions both on single file and multiple files just like what etherscan or other block explorer does. I was able to verify for ...
kimiro's user avatar
  • 65
3 votes
2 answers
1k views

Why doesn't my verification of a signed message signature work in PHP?

I am attempting to verify a signed message in PHP. To be clear, I am not looking to interface with JSON-RPC or any external service, which I both a) know works and b) successfully verifies the ...
EvilJordan's user avatar
3 votes
1 answer
529 views

Cannot verify Contract - bytecode has small difference

I forgot to verify the ERC20 token contract after deploying it. Now after 5 months, Im doing it again and completely forget which compiler and if I accidently change anything on the code. After ...
Brian Nguyen's user avatar
3 votes
1 answer
84 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
3 votes
1 answer
765 views

The authenticity of msg.sender variable in smart contract

We know that in a smart contract, msg.sender can be used to obtain the address of the user calling the contract. Is it possible for users to forge their own account addresses, causing the msg.sender ...
wei wang's user avatar
  • 437
3 votes
2 answers
320 views

Why ethereum dons't store transaction signature? [duplicate]

Ethereum doesn't store transaction signature (r,s,v) in its tries. The first answer in that it is state-based, not UTXO based: Retrieve the signature of a transaction on the blockchain But there is ...
Mostafa's user avatar
  • 131
3 votes
2 answers
4k views

How do I create ABI encoded constructor argument to verify an Ehtereum contract on etherscan.io when i know the arguments: adress1 uint

I have a contract: https://github.com/slavik0329/BetterAuction that i want to verify here: https://etherscan.io/verifyContract?a=0x3e7a000DC9FE17424cBA7E5bB21390A87a8e32d6 the arguments are: ...
Hans-Ueli M.'s user avatar
3 votes
1 answer
3k views

Verifying ethereum message signatures with java

I am using web3j to verify message signatures but there are some false negative results. For example this signature should be right, but it seems like the address could not be recovered: final ...
harryjazz's user avatar
3 votes
1 answer
383 views

How geth verify the rewards for miner in ethereum?

In the Finalize() function of ethash consensus, the rewards to miner and uncles are given by directly state.AddBalance(). where I can validate the rewards? I guess there are two places 1)...
Peng Liu's user avatar
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
3 answers
1k views

How to verify Mist's standard multisig wallet using Etherscan tool?

I've found standard Mist wallet contract code, thanks to another answer. I am trying to verify this contract over and over using different compiler versions but verification fails. Can somebody point ...
21xhipster's user avatar
2 votes
1 answer
3k views

How to verify a signed message and that it hasn't been reused/tampered with?

I have seen this question and others but none answers my qustion. How can I sign a message and make sure that the public key I recover is actually belongs to the private key that signed the message? ...
YulePale's user avatar
  • 1,843
2 votes
1 answer
214 views

How does Ethereum know that I have enough ETH to spend?

Ethereum uses account-based model. It means that if account A has 50 ETH and sends 10 ETH to account B, transaction will look like "send 10 ETH from A to B" (no inputs and outputs as in UTXO). With ...
warchantua's user avatar
2 votes
1 answer
1k views

Is it possible to verify a given `block hash` is valid in a contract?

Inside my contract, I want to verify a given block hash is valid or not. block_hash_validation(string blockhash) returns (bool){ ...//check() return true; || return false; } Q1: If yes, from ...
alper's user avatar
  • 8,395
2 votes
1 answer
89 views

Does verification of a world state require downloading the whole ethereum blockchain?

Lets say I'm a new node on the Ethereum network, I download a world state of 500 blocks ago and I download the blockchain from that point to present (500 blocks). Can I verify that the world state I'...
Vinzentz's user avatar
2 votes
1 answer
239 views

Do miners have to verify blocks?

I want to know whether the bottom layer of Ethereum requires miners to verify blocks? The reason for this problem is that I have been thinking about a scenario of blockchain transaction verification ...
wei wang's user avatar
  • 437
2 votes
1 answer
68 views

How to verify crowdsale contract on etherscan

I'm deployed a crowdsale contract how to verify my contract on etherscan.io
Cook 's user avatar
  • 19
2 votes
1 answer
6k views

Where do I find the "constructor arguments" for a contract deployed with Remix?

When try to verify token, I dont know what to put in for this line: Constructor Arguments ABI-encoded (For contracts that accept constructor parameters) I made token after looking at a YouTube ...
Nikola Milosevic's user avatar
2 votes
1 answer
134 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
166 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
  • 884
2 votes
2 answers
4k views

Verify contract not working (not match bytecode)

Contract: https://etherscan.io/address/0xec16fed4f619aacd70c7db48327d362f675bfc29 Contract.sol // SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/...
GIA's user avatar
  • 136
2 votes
1 answer
448 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
576 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
  • 312
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
1 answer
109 views

Is difference between light_verify and verify just DAG size?

I am looking at this doc: https://github.com/ethereum/wiki/blob/master/Dagger-Hashimoto.md And from what I gather, light_verify uses quick_hashimoto which calculates the DAG using a recursive ...
user1099123's user avatar
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
265 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
8k views

How to verify a contract having constructor arguments?

This is a contract that requires an argument to be deployed. The Contract Name is "Asset". The compiler used is "Compiler 0.4.16+commit.d7661dd9.Emscripten.clang" and Optimization was Disabled. To ...
Juan Ignacio Pérez Sacristán's user avatar
1 vote
2 answers
1k views

ecrecover() always returns 0x0000000000000000000000000000000000000000

I'm aware of these posts How do you sign an verify a message in javascript proving you own an Ethereum address? How does one properly use ecrecover to verify Ethereum signatures? I'd like to sign a ...
Aydin's user avatar
  • 2,117
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
2 answers
3k views

How to find input creation byte code for constructor argument?

I want to verify and publish my solidity source code on Etherscan.io. My smart contract has an argument in it's constructor for which I need to fill a field in the form that takes Constructor ...
Gagan's user avatar
  • 433
1 vote
3 answers
280 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