We’re rewarding the question askers & reputations are being recalculated! Read more.

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

Deploying contract with parameters using web3.js and Node.js

I try to deploy a ERC721 contract. Which is from OpenZeppelin. My contract constructor wants two input string fields. constructor(string _name, string _symbol) public { name_ = _name; ...
2
votes
1answer
872 views

Ethereum Wallet: error of no key for given address or file

In etherum wallet I am getting an error of no key for given address or file during deployment of the contract. What will be the reason for the same? contract User{ string public userName; ...
1
vote
1answer
1k views

Web3J: TypeError: MyContract is not a constructor

I am simply trying to call my contracts on a private blockchain from a nodeJS app after a call from the browser but I keep getting this error in my node: 2017-03-01T21:07:34.782560+00:00 app[web.1]: ...
1
vote
2answers
170 views

Solidity, is it possible to deploy a smart contract that prevents other smart contracts from inheriting from it?

I am new to Ethereum and I was wondering if it is possible to deploy a smart contract such that other smart contracts are not able to inherit from it. In other words once a smart contract is deployed ...
1
vote
1answer
407 views

Truffle V3.1.9, error running migrations

Hey I'm updating my truffle project from V2 to V3, and I am getting this error after migrating: sudo truffle migrate --network development Using network 'development'. Running migration: ...
1
vote
1answer
377 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 ...
1
vote
1answer
689 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 ...
1
vote
1answer
360 views

Setting up a truffle project

I'm reading truffles's docs and am trying to build a custom project with a contract and a few test cases (written in a js file). I need to do this because testrpc is (considerably) faster than geth. ...
1
vote
1answer
356 views

Transaction not found after 50 blocks on mainnet

I updated geth & truffle today. Now I'm getting "Transaction not found after 50 blocks" when trying to deploy to mainnet. I tried setting my gas higher than anything on http://ethgasstation.info/...
0
votes
1answer
135 views

Unable to input address[] parameter in remix

I need help for deploy below smart contract on remix IDE. I have facing a problem as I need to input to 'setgrantaddress' as address[], How to input data in it? There is two file name owned.sol and ...
0
votes
1answer
71 views

How can I decode transaction input to know what method was called and what arguments were passed in (and arguments types)?

following to the approach explained here to use etherscan api from Python to get transactions info such as input How to retrieve transactions' info such as gaslimit and gasprice from Etherscan? ...
0
votes
1answer
162 views

How to avoid using tx.origin when we really need it?

It's been recommended that we should avoid using tx.origin. However, there're some cases it's really needed, like the following case. Assume we have two smart contracts: Sc1 and Sc2, both of which ...
0
votes
1answer
407 views

contract compiles and fails to deploy on Remix or local

GitHub File Link I can compile and deploy CredentialOrgFactory, and compile CredentialFactory but not deploy REMIX error: creation of CredentialFactory pending... [vm]from:0xca3......
0
votes
2answers
50 views

Where the Smart Contract deployment charges goes?

I'm newbie to Ethereum, and finding answers of some questions that I have. I have learned about SC deployment that deploying the contract cost 0.01072934 ether, or about $3.21 USD So, where that cost ...
0
votes
1answer
189 views

How to get all the contracts deployed by a specific ethereum address?

It is anyhow possible to get all the contracts deployed by a specific ethereum address in lifetime? If yes, is it possible to get ABI details of the contract by their address?
0
votes
1answer
273 views

Problem of deploying contract with “testRPC” and “remix” : “creation of contract pending …”

When I try to deploy a contract using testRPC and remix, I receive: creation of contract pending ... I tried even the default contract of http://remix.ethereum.org. Steps: First I open cmd. Then ...
0
votes
1answer
185 views

Monax :-Issue in executing job configuration file

I am using Monax version 0.18.0.I am following the tutorial for deploying contracts in Monax https://monax.io/docs/getting-started/. I have used the sample contract defined in their starting tutorial....
0
votes
1answer
85 views

Why is the totalSupply of this token statically initialized to 5500000000?

contract UnixERC20 is StandardToken { function() { throw; } string public name; uint8 public decimals; string public symbol; string public version = 'H1.0'; ...
0
votes
1answer
734 views

Is it possible to deploy smart contract source code using remix? [duplicate]

I use remix ide. I want the source code of my contact to be published and visible in Etherscan. I do next things: Write some sample Smart Contract Open "Compile" tab, check that there are no errors ...
0
votes
1answer
621 views

Deployment of Smart Contracts with Azure Ethereum Consortium does not work

I created an Azure Ethereum Consortium. The Ethereum Network deployed has 2 Transaction Nodes behind a load balancer. Via Putty I connect to one of the transaction nodes. Then I enter geth attach ...