Questions tagged [contract-deployment]

The act of pushing a compiled smart contract in byte code to the Ethereum blockchain.

1719 questions
23
votes
1 answer

At which point the smart contracts get executed?

Let's say I sent a transaction to invoke a smart contract (to its address). At which point will the smart contract get executed? Is it during the transaction validation process? Also, is there any limit on how long a smart contract can run on? For…
10
votes
5 answers

Find the creator of a contract

I want to prove that a contract was deployed by a specific address (a factory contract). I have noticed that block explorers such as https://etherscan.io/ list the contract creator. How do they get this information? I cant find any way of getting a…
Joe
  • 1,173
  • 1
  • 11
  • 31
7
votes
1 answer

How to find deployed transaction hash of any given contract in chain, with just "contract address" information?

Am trying to write small application which will be able to find Contract deployment transaction with only input parameter - contract address. The application should be able to search entire net.,i,e say Rinkeby and should exactly find deployed…
4
votes
2 answers

Transaction to deploy a contract still pending?

I made a sample smart contract and wanted to deploy it. I used mist wallet to do that and everything seems to be ok except the transaction is still in "pending" mode. Can you hightlight common practices for deploying a smart contract and common…
Dmitriy Lezhnev
  • 213
  • 2
  • 8
4
votes
1 answer

How was this contract created with empty code?

I don't understand what happened in this transaction: https://etherscan.io/tx/0x0bd55bbf4dfb4e7b15bfed296be3330d5c1116b1bc399a75d3f849edc0d5ac45 The transaction created a contract, sent 1 ETH, supplied input data, and did not run out of gas, but the…
pyggie
  • 558
  • 5
  • 10
4
votes
1 answer

Is there any way to re-deploy, to the same address, a contract that wasn't deployed due to an out-of-gas error?

Suppose that you deployed a contract, but your transaction got canceled due to an out-of-gas error. Is there any way to re-deploy the contract so that it takes the same address?
MaiaVictor
  • 3,177
  • 2
  • 17
  • 37
4
votes
1 answer

Exceeds gas block limit error when deploying near block gas limit contract

I'm trying to create a wallet contract using Geth 1.5 --light and Mist Wallet 0.8.7. Estimated gas cost for the contract creation is 1,962,239 while the gas limit is 1,998,227. So, everything should be fine, but Mist throws me an error Exceeds gas…
manidos
  • 4,298
  • 3
  • 31
  • 55
3
votes
1 answer

Accessing Contract from geth

I am working on a private test net. I have deployed a contract using Ethereum wallet. And in the contract I have a function to transfer coins from one account to other. function transfer(address _to, uint256 _value) { if (balanceOf[msg.sender] <…
Prashant Prabhakar Singh
  • 8,026
  • 5
  • 40
  • 79
3
votes
0 answers

how to deploy the contract?

I want to know after I develop a smart contract in the explorer based solidity compiler and get the binary code, how can I deploy it to the network and send transactions to it?
Wang
  • 2,416
  • 4
  • 19
  • 28
3
votes
0 answers

Deploy contract from external address

All the contract deployment tutorials I have seen instruct me to deploy the via my eth.accounts[0] or some other address belonging to my nodes account list. The code in the last step generally is (don't mind the improper syntax) var test =…
3
votes
1 answer

ETH cost to deploy a contract - how to minimise?

I always worked on a private blockchain and I was just deploying a contract onto ethereum and the cost is 15 dollars! I was a little taken back. Is there a more cost effective to deploy? Why is the cost so high. This is the txn -…
Trevor Lee Oakley
  • 2,327
  • 2
  • 19
  • 48
3
votes
1 answer

No data is deployed in the contract address

I have followed the previous solutions to this problem as mentioned in this question: Mist: "No data is deployed on the contract address!" I also checked if the Estimated consumption fee is > Provide Max fee. There were some cases when not using…
radiopassive
  • 409
  • 1
  • 3
  • 8
2
votes
1 answer

Is Contract Deployment analogous to Object Instantiation?

Is deploying a contract analogous to instantiating a plaint old class in OOP and the address returned similar to the memory pointer of the OOP object? Should I be thinking of the ledge as memory to a running program? If yes, then if I’m looking to…
Zeid S.
  • 21
  • 1
2
votes
0 answers

Deploying a smart contract from hosted wallet or light client

At the moment I use the official Ethereum wallet / mist for deploying a contract to the Ethereum network. Is there any other options for doing this either via different software clients or websites? The reason I ask is that the Ethereum blockchain…
Alex Darby
  • 921
  • 1
  • 6
  • 16
2
votes
1 answer

binary size of contract

If one imports another contract and instantiates it with 'new', then I assume the binary of that imported contract must be fully included in my contract (increasing its deployment size accordingly). If I instantiate the imported contract using an…
1
2 3 4 5 6