Most Popular

1500 questions
15
votes
2 answers

Running a custom private go-ethereum node cluster using docker

Here is a set up I have been working on and am having issues with ability to create a private network with peers. Basic set up: Used the dockerfile from https://github.com/ethereum/ethereum-dockers/tree/master/go-ethereum-base, and added a line for…
skarred14
  • 945
  • 1
  • 9
  • 18
15
votes
3 answers

What are artifacts in truffle?

Your build artifacts are saved within the ./build directory, along side the compiled deployed contract artifacts in ./build/contracts. What exactly are these artifacts?
Kashish Khullar
  • 1,563
  • 3
  • 14
  • 26
15
votes
3 answers

How come I need to specify a higher gasLimit than estimateGas?

If a contract call predictably requires 41043 of gas to be processed as estimated by estimateGas, how come I need to specify gasLimit of ~70000 to be processed?
Ales
  • 915
  • 1
  • 7
  • 10
15
votes
3 answers

Why does Ethereum have gas?

Why does Ethereum have gas? What other approaches could Ethereum have used to work around the Halting Problem?
eth
  • 85,679
  • 53
  • 285
  • 406
15
votes
2 answers

How to get the transaction confirmations using the JSON RPC

How do I get the block confirmations for a specific transaction using the JSON RPC? This is information that would come inside the transaction JSON in bitcoin but it doesn't seem to come in ethereum. What am I missing?
Nico
  • 797
  • 1
  • 8
  • 10
15
votes
2 answers

Error: VM Exception while processing transaction: out of gas

I am running into out of gas exception while calling this function : contractInstance.createProposal("ADHD", "Foo", 2, {from: web3.eth.accounts[1]}) . I'm super new to ethereum and I would really appreciate some help! Here's my super simple…
itachi
  • 153
  • 1
  • 1
  • 5
15
votes
2 answers

How to map EVM trace to contract source?

In other words, how to get "classic stacktrace" of failed transaction? E.g. we have a trace (don't look at "Missing opcode 0xfd" - its the revert instruction) and the contract solidity source. How to find out at which line of the source the…
Zline
  • 151
  • 1
  • 5
15
votes
2 answers

How do I set the nonce for raw transactions?

A few questions about rawTransactions: Are they documented anywhere? How exactly should I set the nonce of a rawTransaction? If I start geth, and submit nothing but rawTransactions to it, then the nonces are simply numbered 1, 2, 3, ..., correct?…
tinybike
  • 535
  • 5
  • 10
15
votes
2 answers

Are ERC20 token names unique?

I am curious if ERC20 token names are unique on the Ethereum block chain? For example, what is to stop someone from creating a new token called Golem (GNT) and publishing it to a smart contract? I have a hunch they are not. Is there a reason for…
Vinnie James
  • 730
  • 1
  • 7
  • 18
15
votes
3 answers

How to find contract creation block time with web3?

Is it possible to find out in which block a contract was created using web3?
0xcaff
  • 2,477
  • 1
  • 14
  • 29
15
votes
1 answer

How was Solidity conceived and what design tradeoffs were made when building it?

Solidity is a new language designed specially for writing Ethereum smart-contracts. As compared with Serpent, which is an extension to Python semantics, Solidity is completely new and borrows semantics from other languages to be…
Taylor Gerring
  • 9,580
  • 4
  • 34
  • 39
15
votes
1 answer

How do I create my own mining-pool?

I have about 900+ Mh worth of power and I'm thinking of creating my own pool and putting all my miners in the pool instead of pooling with others. However I've found no instruction on how to do this. Can someone help me with this? Or is there…
Donavan Theodor
  • 1,943
  • 3
  • 20
  • 28
15
votes
4 answers

How To Transfer Tokens Out Of Metamask Wallet

I have some tokens in my Metamask wallet and want to transfer them to an exchange to trade but I don't know how to do. Metamask now allows you to see the tokens as per the recent upgrade but I don't see any way to send tokens. Would appreciate your…
marcusxman
  • 161
  • 1
  • 2
  • 5
15
votes
1 answer

How should we set a import path in solidity?

I failed to compile a solidity file with import statement. Error: Source not found: File not found. import './contract.sol'; How should we set a import path? I used web3.js for compiling. web3.eth.compile.solidity(data); Layout of a Solidity…
Satoshi Nakanishi
  • 5,749
  • 7
  • 38
  • 57
15
votes
1 answer

What are the risks associated with using Ethereum?

Knowing the risks associated with a system, their probability and their severity is the first step towards good risk management. There is little details and analysis that has been published about the risks associated with Ethereum so far. From the…
Rémy Roy
  • 703
  • 4
  • 9