Questions tagged [contract-deployment]

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

Filter by
Sorted by
Tagged with
4
votes
3answers
2k views

Compiling contract in web3: “Method eth_compileSolidity not supported”

I have web3 and truffle running. I am able to execute the following commands: > node > Web3 = require('web3') > web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); >...
1
vote
3answers
422 views

Deploy Ethereum SmartContract on Azure

I am using truffle to write smart contracts , my code and deployments work well on local ethereum rpc. Now i added another environment in "truffle.js" file with url to my azure "Ethereum Consortium ...
6
votes
3answers
3k views

Block gas limit exceeded when compiling contract Solidity browser

Using Solidity Browser ( https://ethereum.github.io/browser-solidity/ ) to mine a contract on testnet with injected web3 and metamask account, throws this error: callback contain no result Gas ...
1
vote
3answers
347 views

If a contract is deployed in one node will it be available to all the peers?

Let's say peer A makes a contract and deployed it to the private network.Peer B joins the network.Will it be available to peer B ?How the deployed contract will get reflected to peer B.It will be ...
1
vote
2answers
151 views

Is there a way to avoid using the geth console?

The geth JavaScript console is cumbersome and does not support tab completion. Do any tools exist such that I can avoid using it?
2
votes
0answers
270 views

How to find constructor values being passed to a contract

I'd like to find out which values were passed in when someone deployed a CrowdSale token. Is there a way to find out. Here is Lunyr Crowdsale contract How would I find out which values they passed ...
1
vote
1answer
402 views

Accessing/Modifying Options Parameters in Contract

I'm using truffle and metamask to deploy a very simple contract that enables the transfer of ether from one test account to another. How do I use my JavaScript file to access the options parameters ...
5
votes
4answers
1k views

How to deploy smart contract in predefined contract address in private ethereum network?

Is there any method to deploy our smart contract in a particular address (ie. predefined contract address) in private ethereum network? Yes, I have built my own private blockchain based on Ethereum ...
2
votes
1answer
333 views

Gas limit errors when deploying Greeter example contract on Remix

First time newbie eth contract question. I'm using remix to compile the ethereum.com greeter example. I'm having problems with the gas when I deploy the contract. if I specify : gas: eth....
1
vote
1answer
287 views

Does smart contract reside on every node after deploying?

After deploying the smart contract, it will be compiled as bytecode and run on EVM, does the bytecode only belong to the deployer or the bytecode resides on the ledger shared by each node in the ...
10
votes
1answer
3k views

How to choose an account to deploy a contract in truffle

How do you select an account to deploy a contract using: 1)Metamask 2)Parity 3)some config file
2
votes
1answer
457 views

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, ...
5
votes
1answer
2k views

How to deploy truffle contracts to Rinkebey?

What are the parameters that I have to specify to be able to deploy solidity contracts using Truffle in the config file? I am using Metamask to store test ether and have a unique mnemonic to define ...
4
votes
2answers
912 views

Contract creation gas cost depends on code in library function?

I have a contract fooContract which is using a fooLib library, calling fooLib.foo(LibStruct storage param) The transaction cost to create fooContract seems to depend on the code in the fooLib.foo() ...
0
votes
1answer
288 views

Can't deploy ConsenSys MultiSig wallet using Mist

I'm trying to deploy the MultiSig wallet provided by ConsenSys here using Mist 0.8.10. No matter how much I'm willing to pay in fees, it doesn't work. The contract compiles fine but when I press ...
2
votes
3answers
785 views

Get addresses of the owners of my tokens

Is it possible to issue a token and then send certain amount of ethereum to coin owners. For example is Alice owns 4 my token and Bob owns 6 of my tokens I want to send in total 10 Ethereums to my ...
0
votes
1answer
524 views

Pass address[] array to Truffle deployer (MultisigWallet)

I am trying to deploy the MultisigWallet contract on testrpc. However, I can't figure out how to provide the address[] _owners constructor parameter in the deployment command. I've tried several ...
4
votes
1answer
435 views

Trying to deploy a contract on Kovan testnet with Parity and it's waiting forever for a confirmation

It says it's waiting for a contract deployment transaction receipt and it just sits there and waits. It never moves to the completed stage. It was working fine for me a week ago. What's going on?
1
vote
1answer
210 views

I created a offline paper ethereum wallet

I have been trying for days to try check this paper wallet to see if it has a balance so I can know if it is safe to move more ethereum to it please My public address ...
1
vote
1answer
165 views

Contract deploy issue

Can someone take a look the issue below and help me understand the reason of this issue? Ethereum Go returns the following error when I trying deploy my contract into dev network using loadScript ...
3
votes
1answer
341 views

Contract is sent and gets an address, but eth.getCode returns 0x

I'm trying to deploy a contract on a private blockchain network. My solidity code has a lot of variables used in it. The deployment does give me a contract address, however, when trying to retrieve ...
3
votes
2answers
2k views

Compiling Smart Contract in Java

I want to compile a smart contract (solidity code) in Java. Currently I am using the web3j library. When I run the method web3j.ethCompileSolidity(contract) I'm getting the following error: The method ...
3
votes
1answer
738 views

Deploying the smart contract using Web3.js gives error?

I'm deploying a smart contract using the following guide but getting a strange error - Guide: https://tokenmarket.net/blog/creating-ethereum-smart-contract-transactions-in-client-side-javascript/ ...
9
votes
2answers
3k views

Truffle: Hanging on “Deploying Migrations…”

I am deploying a contract on a private testnet. I am using Parity. When I type: $ truffle migrate --network my-network-name I get a popup in the Parity interface for a password to my account. I ...
2
votes
2answers
617 views

How does Ethereum work as a decentralized computing platform?

As far as I understand, gas is paid out to the miners, but every node in the network runs each and every contract that is submitted to the blockchain. Doesn't this mean that other ethereum nodes are ...
3
votes
2answers
544 views

How to access testRPC which is on a server

all! I build a dAPP for a competition and only used to test it on testRPC. Now when I had submitted the app, the organisers wanted a running version for them to test. I tried deploying it on a server ...
1
vote
1answer
845 views

Unable to deploy my smart contracts on testnet (Ropsten) with ethereumwallet or with web3

I developed my smart contract using tesrpc. Now I want to deploy them on the testnet. But I am not able to deploy them either with EtherWallet (I have the error "No data is deployed in the contract ...
0
votes
1answer
138 views

Callback error when contract is mined successfully

I am getting an error today, when tried to mine a contract to ethereum testnet. Even after the transaction is mined successfully (I can check that in the Testnet), the call back is executing the code ...
3
votes
1answer
929 views

Error contract code couldn't be stored, please check your gas amount

I get an error: Error contract code couldn't be stored, please check your gas amount. I know this error has been reported several times already. Strange thing is, until this morning, my dApp just ...
8
votes
3answers
3k views

Truffle migration stuck

I am trying to migrate contract on a block chain network created using azure ethereum consortium blockchain, But when I am running the command Truffle migrate it stuck at PS D:\sl\BCSLAC\bcdemo\sol&...
2
votes
1answer
285 views

Is it possible to query smart contracts inside a smart contract?

I want to know if it is possible to query (discover) smart contracts inside my smart contract. For example, I want to find a smart contract with some name and/or parameters and then call it. Is that ...
2
votes
1answer
265 views

Can I redeploy a previous self-destructed smart contract?

If I deploy a smart contract, and then self destruct it. Then later send it ether by mistake, can I re-deploy it and be able to access that "lost" ether through the smart contract?
5
votes
3answers
4k views

Truffle deployer.deploy() not working

I'm having problems deploying the contract via Trufflem, using Parity as my client, on the Kovan network. The contract is a slight variation of this one. When I ran $ truffle migrate using the ...
0
votes
1answer
118 views

Why can't I create contracts using example code?

I am a noob when it comes to creating contracts. Every contract I try to deploy using the example code for new coin creation seems to have failed even though I paid for it, what am I doing wrong? Did ...
4
votes
1answer
2k views

How can I know how much a contract deployment will cost?

I'm trying to deploy a contract into ethereum, but I keep getting "out of gas" error. How can I know in advance how much ethers I need to deploy a contract?
3
votes
1answer
1k views

what does verifying smart contract execution means?

I know that when somebody wants to run a function in a contract, she sends a transaction; and then a miner needs to run that function based on the function input received from the user, adding the ...
1
vote
1answer
756 views

Event watcher gives [object Object] in Geth console

I compiled a contract source below: pragma solidity ^0.4.0; //////////////////////////////////////////////////////////// // This is an example contract hacked together at a meetup. // It is by far ...
2
votes
0answers
314 views

debug.traceTransaction(<transactionID>) returns a empty structLogs: []. What might be the reason?

On the comments here: https://ethereum.stackexchange.com/a/6011/4575 For a transaction to a contract, the contract vm instructions will execute and the steps are shown in the status.structLogs, ...
3
votes
2answers
544 views

How to use a contract deployed by my friend on my private blockchain?

My friend and I are using geth and have the same private blockchain. He has deployed a contract and is able to invoke its functions after mining it. Is it possible for me to call his contract ...
4
votes
1answer
2k views

How to interact with contracts in C++ application?

Vast majority of resource about contracts deal with using them in web applications with JavaScript web3. But how you interact with contracts (create, call them, make transactions) in a C++ ...
1
vote
2answers
254 views

Geth does not really attach

A question about geth attach. I am opening a geth console and then in another terminal I make geth attach. Everything looks OK when I execute web3 commands etc. (like eth.accounts) in both terminals. ...
3
votes
1answer
464 views

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 ...
0
votes
1answer
133 views

Can contracts be executed on PRIVATE-NET?

Using geth commands, I've created a private blockchain network and two accounts. Using Ethereum Wallet, I've also successfully mined ether using one of the accounts. However, doing any of the ...
3
votes
1answer
1k views

Truffle SWARM and IPFS Integration

I am now able to use truffle to deploy my contracts in my private blockchain. Now I want to understand how to integrate truffle with SWARM and IPFS for web app deployment. It will be helpful if you ...
1
vote
2answers
100 views

Greeter Contract - deploy command results in “undefined” [duplicate]

I am trying to deploy the Greeter contract on a private test chain following this guide (Deploying the Greeter contract via the geth CLI is not registering in my private blockchain) When I get to the ...
1
vote
0answers
241 views

Error: Invalid params when trying to deploy a contract which calls a library function

ecverify.sol // Written by Alex Beregszaszi (@axic), use it under the terms of the MIT license. pragma solidity ^0.4.2; library ECVerify { function safer_ecrecover(bytes32 hash, uint8 v, ...
1
vote
0answers
154 views

Smart Contract Missing tokens

Hello Ethereum Guru's, I am trying to replicate the first example outlined in 'Ethereum in practice part 1' (https://www.ethereum.org/token) using Ethereum Wallet on my Macbook. I had 1.0 of Ether ...
4
votes
1answer
514 views

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?
2
votes
2answers
1k views

intrinsic gas too low: how to increase gas in Mist?

I cannot deploy a contract using Mist because of the error intrinsic gas too low How can I increase the value of it?
1
vote
1answer
657 views

How to go about user login in an Ethereum web DApp?

The approach I'm currently using in my DApp is mapping Ethereum addresses to a solidity struct which contains all of that specific user's data. But since the address is publicly available can't ...

1
15 16
17
18 19
21