Questions tagged [verify]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Can hardhat-etherscan be used with artifacts or solt files for verification?

Maybe all of you know the plugin to hardhat @hardhat-etherscan. It's very useful to verify contracts that we have their solidity files. Sometimes, we want to deploy contracts with only their interface(...
1
vote
1answer
50 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 ...
0
votes
1answer
7 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
0answers
30 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: ...
0
votes
0answers
24 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: ...
0
votes
0answers
29 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("...
0
votes
1answer
44 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? ...
0
votes
1answer
43 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 ...
0
votes
0answers
47 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 ...
0
votes
1answer
36 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
1answer
142 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
1answer
55 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
1answer
16 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
1answer
78 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://...
2
votes
1answer
23 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
1answer
39 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
1answer
17 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
1answer
81 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
1answer
24 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 ...
0
votes
0answers
8 views

When the ETH node receive a new block ,which will be verified?

I know that when a node receives a transaction, it can verify the RLP format, transaction signature, gas and account nonce value, but I don't know when the node receives a new block, whether will it ...
0
votes
0answers
43 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 ...
0
votes
1answer
61 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 ...
0
votes
0answers
11 views

Distribution of mined Blocks, its verification and the Longest Chain Rule

Hi all I am in need of a clear understanding of the distribution of mined blocks, the verification mechanism and the longest chain rule. How is a freshly new mined Block being distributed to the ...
2
votes
1answer
99 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 ...
0
votes
0answers
96 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 ...
1
vote
0answers
232 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 ...
1
vote
1answer
31 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?
2
votes
1answer
74 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 ...
0
votes
0answers
23 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 ...
1
vote
1answer
42 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 ...
0
votes
1answer
156 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 ...
0
votes
1answer
26 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 ...
1
vote
1answer
72 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 ...
1
vote
0answers
59 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 ...
1
vote
2answers
88 views

How to publish in ethereum with "imports" ? or how to do?

Hello i have this question in my mind now : How to publish in ethereum with "imports" ? or how to do ? why i say this ? answer : when i wanna "verify and publish Contract Source Code" with a ...
2
votes
1answer
49 views

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

The title says it, but I also need at least 30 characters.
4
votes
2answers
209 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: ...
0
votes
2answers
218 views

ParserError: Expected pragma, import directive or contract /interface/library definition

In an attempt to compile my ABI and verify my contract, I am getting the following warning: "ParserError: Expected pragma, import directive or contract /interface/library definition" on the first line ...
1
vote
2answers
522 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 ...
1
vote
1answer
448 views

How can I verify that two specific wallet addresses were involved in a transaction?

Given I have and know WalletAddress A (sender), WalletAddress B (receiver), the Transaction Hash and the amount ETH sent. How can I verify that those values were indeed involved in the given ...
1
vote
0answers
11 views

Does a verified deployer contract implies that it's child token contract is also verified upon creation? [duplicate]

Token address: https://etherscan.io/token/0x12b19d3e2ccc14da04fae33e63652ce469b3f2fd Contract address: https://etherscan.io/address/0x12b19d3e2ccc14da04fae33e63652ce469b3f2fd Deployer contract: ...
0
votes
1answer
121 views

Is a contract verified and safe if it's created by a verified contract?

The contract source code is not verified as you can see in the picture, but the contract was created by another contract code which is verified. Does that mean that the contract code from the picture ...
1
vote
2answers
214 views

verify and publish when using oraclize?

I'm using oraclize in my contract. import "github.com/oraclize/ethereum-api/oraclizeAPI.sol"; When I go to verify and publish on etherscan I get this error myc:4:1: ParserError: Source "github.com/...
1
vote
0answers
2k 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 ...
2
votes
1answer
145 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, ...
1
vote
2answers
77 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 ...
1
vote
1answer
64 views

Does a non-miner node validate both single transactions and an entire block?

My understanding is that an originating node broadcasts a transaction to its neighbours, who all validate the transaction to ensure (a) the signature is valid and (b) the state change is valid, before ...
0
votes
1answer
53 views

Is there a more "decentralized" way to verify an Ethereum account owns a particular Twitter handle?

Is this something fulfilled by a project like uPort? Basically, I need a way in my contracts to verify that a particular Ethereum address (0xasdf...) and a particular Twitter handle (@user) are ...
2
votes
1answer
63 views

How to verify crowdsale contract on etherscan

I'm deployed a crowdsale contract how to verify my contract on etherscan.io
3
votes
1answer
252 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)...