Questions tagged [verify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 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 ...
0 votes
1 answer
19 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 ...
  • 11
1 vote
1 answer
27 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/...
  • 11
0 votes
1 answer
43 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 ...
0 votes
2 answers
213 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/...
0 votes
0 answers
17 views

How do my contracts in one .sol file deploy correctly? And how to verify on etherscan?

Ok so I have multiple contracts in one .sol file. Specifically I have 4 contracts: 2 of them are the "main" contracts and the other 2 are kind of like "helper" contracts inherited ...
0 votes
1 answer
85 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 ...
  • 379
0 votes
1 answer
72 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 ...
  • 379
0 votes
1 answer
219 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. ...
0 votes
1 answer
28 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? ...
1 vote
0 answers
340 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 ...
  • 11
0 votes
0 answers
59 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 ...
0 votes
1 answer
321 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 ...
  • 11
1 vote
1 answer
266 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 ...
  • 745
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 ...
1 vote
1 answer
73 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. ...
0 votes
0 answers
85 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; ...
0 votes
1 answer
640 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 ...
  • 31
0 votes
0 answers
13 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 ...
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 ...
0 votes
1 answer
71 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 ...
3 votes
4 answers
2k 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 ...
  • 89
0 votes
1 answer
175 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 ...
0 votes
0 answers
47 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 ...
  • 1
0 votes
0 answers
95 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/...
0 votes
0 answers
400 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 ...
0 votes
1 answer
98 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 ...
  • 153
0 votes
0 answers
34 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.
0 votes
0 answers
35 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 ...
  • 141
0 votes
0 answers
28 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'...
0 votes
1 answer
237 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 "...
1 vote
1 answer
1k 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/...
0 votes
0 answers
178 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/...
3 votes
1 answer
516 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 ...
  • 65
0 votes
1 answer
22 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 ...
0 votes
0 answers
31 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: ...
  • 1
0 votes
0 answers
203 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("...
1 vote
1 answer
1k 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? ...
  • 1,483
0 votes
1 answer
407 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 ...
  • 153
0 votes
1 answer
205 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 ...
0 votes
1 answer
850 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 ...
0 votes
1 answer
116 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 ...
0 votes
1 answer
85 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", "...
0 votes
1 answer
256 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://...
  • 339
2 votes
1 answer
63 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'...
1 vote
1 answer
223 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) { ...
0 votes
1 answer
21 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 ...
0 votes
1 answer
351 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 ...
0 votes
1 answer
76 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 ...
  • 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 ...