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
1k views

Stack too deep, try removing local variables with 13 variables [duplicate]

i am getting this error because i added so many arguments, i know it has a limit of 16 argument but i don't have 16 or more, yet i stil get the sam error. even when i used an array ( like some answers ...
2
votes
1answer
60 views

Purchase real Ether and add to base/default account

I created an Ethereum Consortium Leader instance on Microsoft Azure and they provided us with an Admin site and RPC endpoint: http://someName.eastus.cloudapp.azure.com/ http://someName.eastus....
2
votes
2answers
224 views

Why do people hash the address?

I recently saw a smart contract where the user used keccak256(address), is there any reason to do this, instead of just storing the address in the mapping?
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
1answer
419 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
358 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/...
1
vote
1answer
362 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
2answers
179 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
23 views

ethers.js Recover public key from contract deployment via v,r,s values

I'm currently trying to get the public key of the user that deploys a contract. Unfortunately I can't make it work. I am trying to achieve this solely by using ethers.js as I don't want to bloat my ...
1
vote
1answer
705 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
383 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 ...
0
votes
1answer
59 views

Unable to call methods on my deployed contract

Problem: All method calls to my deployed contract return null Versions: Geth: 1.9.9-unstable Git Commit: c2d65d34d5c6f27b8d1a52280964023a3eefd66e solc: Version: 0.5.13+commit.5b0b510c....
0
votes
1answer
158 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
42 views

How to download contracts by address from Etherscan using web3.js

I want to download all contracts (open source code) from etherscan.io using Web3js. Etherscan gives only the list of such verified open source contract with txHash, name, and their addresses. Is there ...
0
votes
1answer
79 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
738 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
166 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
187 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
91 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
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 ...
0
votes
1answer
433 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
1answer
283 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
207 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
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 ...