New answers tagged

0 votes

Is there a way to detect which compiler version produced a contract binary?

To your question: "Is possible to reproduce the Bytecode from the Runtime bytecode?", the answer is somehow yes. Whenever I have come across that need, I have searched the contract creation ...
1 vote

How to Compile and Deploy a Smart Contract without running a full node?

[2023 update] Two things: (a) you don't need to run your own node (b) you don't need to use Remix's default node provider either (this is the top "Environment" section when you go to deploy)....
1 vote

How to Change Wallet Address Used to Deploy Contract in Remix IDE

The issue could also be that another wallet without the right network or networks tokens is already connected as the "Injected Provider" environment in Remix. If this is the case, make sure ...
0 votes
Accepted

Does transferring tokens to a non-existent address on an EVM network result in the creation of an Externally Owned Account?

Does transferring tokens to a non-existent address on an EVM network result in the creation of an Externally Owned Account? No, the token contract which contains the balances doesn't care what type ...
  • 886
0 votes
Accepted

How to compile with --bin option in solcjs?

The way you run this command using solcjs is the following: solcjs --bin --include-path ../node_modules/ --base-path . MyERC20.sol You need to specify include-path to tell the compiler where you store ...
0 votes

Can't find deployment bytecode for contract created from factory - How to retrieve it?

If you can get the full trace of the transaction from which the child contract was created, it should be the data in the frame where the to address is either the Zero Address or null. There's also a ...
0 votes

How to get the contract binary using web3.py?

You need an API-key I am using Infura. Click the link and create an account. Their free tier covers 100000 API-calls per day so if you do not exceed this you are fine. https://app.infura.io from web3 ...
0 votes

Deploy to Sepolia Infura Foundry: Solidity Scripting

Have you tried without the --verify argument, I think when deploy with scripting you need to run forge verifyin a separate command. Hope it helps!
0 votes

How to get the contract ABI in new Remix IDE?

If you have source code of smart contract, you can easily get abi. https://i.stack.imgur.com/3r4Qb.png
  • 1
0 votes

unable to verify etherscan contract may be due to high optimize runs

You should be able to verify using truffle. Take a look at this article. Remember to change settings as required in truffle-config.js file. Note: command to run for already deployd contract truffle ...
  • 778

Top 50 recent answers are included