16
votes
Accepted
Convert contract arguments from JSON to ABI-encoded format
The page "Verify Contract" ask for "Constructor Arguments ABI-encoded".
In your case the constructor has no parameters, so you can leave such field empty.
In the general case when your constrctor ...
12
votes
Accepted
Etherscan: How can I verify a contract with multiple imports deployed with Truffle?
Currently etherscan does not support verification of multifile contracts. But there is discussion on etherscan's reddit about this issue.
Concatenating files into one worked some time ago, but since ...
10
votes
How do you verify a contract on etherscan that is deployed by another contract?
It is not possible as on 24th March 2018. Etherscan is unable to locate contract code on the address of subcontract.
Here is the transaction which deploys two contracts. But for the second contract, ...
7
votes
Accepted
Error when trying to verify contract
I got this error too and this worked:
Delete artifacts and cache folders
run npx hardhat compile
then verify
6
votes
How do you verify a contract on etherscan that is deployed by another contract?
I have deployed a contract from another contract:
https://etherscan.io/tx/0x8fd885ce7ad7b6a591d9614d41cbb1d97aa7d2e290f6aa52531ce3d4c799a5ff
which deployed:
https://etherscan.io/address/...
6
votes
Accepted
Possible to change Etherscan verified source after initially verified?
I don't think so. If you could, then anyone could come along, copy the source code, and reverify it with completely different comments, which opens up for all types of attacks, including phishing. You ...
6
votes
Accepted
Verifying a Token Contract with Interface
Guys I really hate my life. It took me over 10 hours to find the solution to this problem.
I compiled the contract with various different methods. Deployment worked with each of the but the contract ...
5
votes
Accepted
How to verify a contract having constructor arguments?
You need to correctly ABI-encode constructor arguments. You can easily do this with online tool https://abi.hashex.org. Just paste in abi to automatically parse constructor parameter types or add them ...
5
votes
Accepted
How to verify a paper wallet is working without compromising the private key?
There are a few different reasons for verifying your key.
To make sure you actually saved the private key and address correctly. e.g. You saved a private key but recorded the address 0x122... ...
5
votes
Can ZKSnarks be implemented on the Ethereum ecosystem?
Disclaimer : I am not a cryptographer nor a mathematician nor a low level software engineer. Please correct me if any information provided below is incorrect.
Very short answer: Yes
Short answer: ...
5
votes
Accepted
Besides Etherscan, Are There Other Places to Verify/Publish Contract Code?
Etherscan is the most cut-and-dry, but there are at least a couple of other resources available:
SmartContract.Codes - a p2p search engine for smart contract source code.
ethPM - a decentralized ...
5
votes
Accepted
How to verify smart contracts on different solidity versions
The article is fairly old. I'd suggest taking a look at the current docs on Contract Medatata. They contain these notes:
The CBOR mapping can also contain other keys, so it is better to fully decode ...
4
votes
Cannot verify contract with multiple arguments at etherscan.io
You need to correctly ABI-encode your constructor parameters. You can easily do this with online tool https://abi.hashex.org. Just paste in your abi to auto-parse constructor parameters or manually ...
4
votes
Etherscan: How can I verify a contract with multiple imports deployed with Truffle?
I built a CLI that may help you, called multisol. You can install it via Homebrew if you're on Mac, or download one of the executables I provide if you're on Windows or Linux:
$ brew tap paulrberg/...
4
votes
Accepted
Unable to verify Solidity contract code on etherscan.io
I was able to verify my contract with optimization turned on, when compiling from remix:
https://ethereum.github.io/browser-solidity/
For some reason, it produces a different bytecode from Parity, ...
4
votes
Accepted
Is there a way to verify the identity of the sender of the transaction in ethereum?
It depends on how strongly you want to verify the identity:
If you want a person, who you already knew, to prove that they sent the transaction, it's easy: They can just attach a piece of data to the ...
4
votes
Convert contract arguments from JSON to ABI-encoded format
In case you want to use a simple online tool to encode parameters you may use https://abi.hashex.org
You can enter abi to automatically parse parameter types or just enter them manually. In Function ...
3
votes
How do you verify a contract on etherscan that is deployed by another contract?
If you're a Hardhat user, you can use the hardhat-etherscan plugin:
$ yarn hardhat --network NETWORK_NAME verify CONTRACT_ADDRESS --param1 --param2
It works even with contracts deployed by other ...
3
votes
Can't verify contract on etherscan.io
I was able to successfully verify the contract code you linked in a new deployment.
Are you sure the parameters and source code you used were identical to those you used in the verification tool?
...
3
votes
Having trouble verifying a contract on etherscan.io
In case you want to use a simple online tool to encode parameters you could use https://abi.hashex.org
You insert the abi code to automatically parse parameters types or just enter them manually. In ...
3
votes
I can't verify my contract on the Rinkeby etherscan site
The compiler was timing out, and documentation online suggested that truffle optimizes the compilation -- nevertheless, I selected "no" for the optimized option, and didn't enter in the library ...
3
votes
Accepted
Cannot verify Contract - bytecode has small difference
Let's see what happens here.
In solidity v0.5.11, the end of the bytecode includes the following :
0xa2
0x65
627a7a7231 => "bzzr1" in hex
0x58
0x20
<32 bytes swarm hash>
0x64
...
2
votes
Having trouble verifying a contract on etherscan.io
I was able to verify the contract on Etherscan by checking the "Input Data" of the transaction that created the contract. It includes the contract bytecode and the constructor argument bytecode right ...
2
votes
Having trouble verifying a contract on etherscan.io
Sorted.
Had pasted contracts in wrong order
Removed import references
Pasted constructor argument bytecode from end of deployed TX
2
votes
How to verify Mist's standard multisig wallet using Etherscan tool?
The contract you're looking at is a stub. If you look at the contract's code and select Switch to Opcodes View, you can see it references another contract at 0x273930d21e01ee25e4c219b63259d214872220a2 ...
2
votes
Accepted
Is it possible to verify a given `block hash` is valid in a contract?
Q1: I don't see an obvious way to do that without getting into a gas-expensive loopy process that won't scale. A web3 client would be better suited to searching for it in my opinion.
Q2: I would ...
2
votes
Can't verify contract on etherscan.io
I've met same problem with contract verification at etherscan.io.
https://etherscan.io/verifyContract2 - helped in my case.
Thank you
2
votes
How to verify Mist's standard multisig wallet using Etherscan tool?
Summary
Your comparison will never work.
The compiled code at 0x01861C6Dfab20bAe0FA4EE698912630697D78cE4 is way too small to represent the compiled wallet.sol source code.
Why do you think the ...
2
votes
Verifying the authenticity of a customer
You're generally describing a trust-verification system ("Can I trust that Alice is who she says she is?"). Public/private keys allow you to concretely prove a message came from a particular private ...
2
votes
Etherscan: How can I verify a contract with multiple imports deployed with Truffle?
I created truffle-plugin-verify to automate Truffle contract verification on Etherscan.
Install the plugin with npm
npm install truffle-plugin-verify
Add the plugin to your truffle.js or truffle-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
verify × 116etherscan × 40
solidity × 29
contract-verification × 22
remix × 14
contract-deployment × 13
signature × 13
contract-development × 12
abi × 11
hardhat × 9
truffle × 8
transactions × 7
mining × 7
tokens × 6
bytecode × 6
go-ethereum × 4
blockchain × 4
contract-debugging × 4
ecrecover × 4
ropsten × 3
oracles × 3
ecdsa × 3
identity × 3
deployed-bytecode × 3
web3js × 2