Questions tagged [verify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
65 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 ...
user avatar
  • 11
0 votes
1 answer
34 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 ...
user avatar
  • 584
0 votes
0 answers
19 views

Unable to verify a contract [duplicate]

I have deployed a contract on ropsten and I'm trying to verify it with the following command but getting the error: % npx hardhat verify --network ropsten 0x97184140A7Ed3D42cCb8bDcBF5cc1704871B7Bd3 ...
user avatar
1 vote
1 answer
31 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. ...
user avatar
0 votes
0 answers
12 views

Smart contract verifying error with costructor that has 3 argument

I verified some smart contract with constructor that has 1 or 2 argument on polygon test network(mumbai) but I couldn't do with 3 argument. contract Test { address a; address b; address c; ...
user avatar
0 votes
1 answer
206 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 ...
user avatar
  • 21
0 votes
0 answers
10 views

Can someone HELP a NOOB with Hex crypto

Please someone help me! I am very new and so freaking confused about Erc20 crypto tokens. I have an app I use called Hex Network and I have "mined" a good bit of Hex and have made 3 ...
user avatar
0 votes
0 answers
5 views

How do i generate the correct cache for my verfication algorithm implementation

I am trying to implement a block verfication algorithm i.e that i should be able to generat e the correct hash of each block and compare it so it can be verified. Although i still do not understand ...
user avatar
0 votes
0 answers
23 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 ...
user avatar
1 vote
3 answers
605 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 ...
user avatar
  • 49
0 votes
1 answer
93 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 ...
user avatar
0 votes
0 answers
37 views

Problem in verifying & publishing contract on ropsten.etherscan

I'm trying to verify the following smart contract on ropsten.etherscan: pragma solidity ^0.4.17; //@title Ownable //@dev The Ownable contract has an owner address, and provides basic ...
user avatar
  • 1
0 votes
0 answers
88 views

Trying to make our own token: Can not verify contract (can not match byte code) on etherscan.io (mainnet)

We are trying to verify our smart contract code on mainnet to make a token but are unable to do so. We followed this tutorial, although we are using an older version of the code: https://medium.com/...
user avatar
0 votes
0 answers
347 views

Needing Help Verifying ERC721 Contract! (for Polygonscan)

Hey guys thanks for looking into my question! So im not very familiar with ERC721 contracts. Im trying to compile so I can verify my Contract. Having issues with hardhat, compiling on remix does not ...
user avatar
0 votes
1 answer
74 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 ...
user avatar
  • 133
0 votes
0 answers
28 views

How can I verify and publish contract source code?

Below is the info I got upon trying it, I used a flattened version of the contract from remix.
user avatar
0 votes
0 answers
29 views

Cannot Verify Contract - Forgot Compiler

I made contracts for a project. Unfortunately, in the middle of the project I got task which makes me need to rush things. So, after deploy contract using Remix on browser I decided to leave the ...
user avatar
  • 141
0 votes
0 answers
21 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'...
user avatar
0 votes
1 answer
196 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 "...
user avatar
0 votes
1 answer
535 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/...
user avatar
0 votes
0 answers
122 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/...
user avatar
2 votes
1 answer
413 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 ...
user avatar
  • 55
0 votes
1 answer
17 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 ...
user avatar
0 votes
0 answers
40 views

Error Bytecode and ABI. 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: ...
user avatar
  • 1
0 votes
0 answers
30 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: ...
user avatar
  • 1
0 votes
0 answers
160 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("...
user avatar
0 votes
1 answer
565 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? ...
user avatar
  • 1,243
0 votes
1 answer
288 views

Unable to verify signature

I'm trying to get the hang of Web3 and Solidity for an upcoming project. So for now I am just fiddling around with some different things, and I have gotten myself stuck on verifying signatures. I am ...
user avatar
  • 133
0 votes
0 answers
80 views

Build with Library IterableMapping

I'm trying to compile my contract, which uses the IterableMapping library. IterableMapping is being created in the file itself, but even so, apparently an error is being raised, saying that I should ...
user avatar
0 votes
1 answer
166 views

Verify and Publish in BSC Scan not working

I have a contract, where I compiled it optimized in 200. When I go to publish in BSC Scan, it gives me some messages as attached. I'm informing in bsc scan the optimization in 200. It points out ...
user avatar
0 votes
1 answer
647 views

Error! Invalid constructor arguments provided. Please verify that they are in ABI-encoded format

Update: so these 2 lines in my code seem to be causing the problem and removing them got everything to work but I still need to include them so if someone can figure out why they are breaking that ...
user avatar
0 votes
1 answer
97 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 ...
user avatar
0 votes
1 answer
54 views

Having trouble converting json to abi encoding

I'm trying to convert the following json to abi code using https://abi.hashex.org/ [ { "inputs": [ { "internalType": "string", "...
user avatar
0 votes
1 answer
214 views

Verify smart contract from Python fails because of Cloudflare

I am trying to verify a smart contract in Ropsten automatically with Python but Cloudflare is blocking me (I get a 403 asking me to complete a Captcha). Is there a way to bypass this? url = 'https://...
user avatar
  • 329
2 votes
1 answer
44 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'...
user avatar
1 vote
1 answer
134 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) { ...
user avatar
0 votes
1 answer
20 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 ...
user avatar
0 votes
1 answer
279 views

How To Verify A Coin Without Original Contract Source Code?

We are new to crypto. A while ago we created a coin (3DOM coin) with 14,000,000,000 units and stored them in our wallet on myetherwallet.com. We would like to deploy the token now but we do not have ...
user avatar
0 votes
1 answer
53 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 ...
user avatar
  • 33
0 votes
0 answers
48 views

Getting a weird error trying to verify a smart contract through hardhat [duplicate]

I am trying to verify on hardhat this nft-tutorial by chainlink https://blog.chain.link/build-deploy-and-sell-your-own-dynamic-nft/ but am unable to. What might be the problem? is it my syntax? Or ...
user avatar
0 votes
1 answer
88 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 ...
user avatar
  • 1
3 votes
1 answer
221 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 ...
user avatar
0 votes
0 answers
188 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 ...
user avatar
1 vote
1 answer
825 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 ...
user avatar
1 vote
1 answer
73 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?
user avatar
  • 8,917
2 votes
1 answer
153 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 ...
user avatar
  • 387
0 votes
0 answers
48 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 ...
user avatar
  • 387
1 vote
1 answer
52 views

Why miners choose to verify the transactions of the incoming block?

I want to know whether miners can get rewards for verifying transactions in blocks broadcast by other nodes? If there is no reward, why would miners choose to verify transactions? I am very confused ...
user avatar
  • 387
0 votes
1 answer
234 views

Can miners choose not to verify transactions in blocks broadcast by other nodes?

When we execute a function on a smart contract, the transaction will be verified by all miners in the entire network before being written to the blockchain. I want to know no matter how complicated ...
user avatar
  • 387
0 votes
1 answer
48 views

When we get the execution result of the smart contract, has this result been verified by the entire network?

When we get the execution result of a function in the smart contract, has this result been verified by the entire network? In other words, when the user obtains the execution result of the smart ...
user avatar
  • 387