Skip to main content
39 votes

What caused this error: Attempting to run transaction which calls a contract function, but recipient address is not a contract address

i´ve just used migrate --reset (without deleting /build) , and worked
IveltonQueiroz's user avatar
31 votes
Accepted

What caused this error: Attempting to run transaction which calls a contract function, but recipient address is not a contract address

As provided in comments by Mavlarn and ivicaa above, the answer is to delete the .json files under build/contracts/. Then the next run of truffle migrate no longer fails.
Alex Altair's user avatar
16 votes
Accepted

How to get pending transactions with using geth or other client?

To get the pending transactions you need a node that you're running on your own because this type of action requires a lot of resources. You can run your own Geth node and wait until it is ...
Daniel Luca CleanUnicorn's user avatar
12 votes

Event on Mining of a new block

Using e.g. the web3 JS API, you could setup a filter and watch block changes: var filter = web3.eth.filter('latest'); filter.watch(function(error, result){ var block = web3.eth.getBlock(result, ...
tomconte's user avatar
  • 221
12 votes
Accepted

Can chaindata be split across two (or more) locations?

Geth has a freezer as of v1.9 https://blog.ethereum.org/2019/07/10/geth-v1-9-0/ Freezer Wouldn’t it be amazing if we didn’t have to waste so much precious space on our expensive and sensitive SSDs to ...
eth's user avatar
  • 86k
11 votes

How do Ethereum clients generate unique addresses?

I think the most important phrase in your question is 'what is the likelihood'. The other answers are correct in determining that there is a 1 in 2^160 likelihood of finding a collision with 100% ...
bekah's user avatar
  • 1,099
9 votes

How to experiment with Ethereum without downloading the entire blockchain?

Creating a local in-memory blockchain (Ganache) with Brownie is recommended way for development. Besides Browser Solidity (as @Rob Hitchens recommended), you could also develop smart contracts using ...
alper's user avatar
  • 8,394
8 votes
Accepted

Consensus Client vs Execution Client

The Execution Client listens and executes transactions and maintains the latest state and database of all Ethereum data, while the Consensus Client provides consensus (using PoS algorithm) from ...
Yongjian P.'s user avatar
  • 4,218
7 votes
Accepted

How to build C++ Ethereum without GUI/Qt?

in your build folder you cmake .. -DGUI=0
euri10's user avatar
  • 4,640
7 votes
Accepted

How to switch from Morden to Ropsten?

Using Geth 1.5.3 and later, it's 2 steps: Run geth --testnet removedb to delete your blockchain database for the Morden network. Run geth --testnet ORIGINAL: When you use geth init, the datadir ...
eth's user avatar
  • 86k
6 votes
Accepted

Is there any working zk-snark implementation (even if experimental) among the existing Ethereum clients?

Please find the zksnarks solidity code: https://gist.github.com/chriseth/f9be9d9391efc5beb9704255a8e2989d The transaction can be seen on Etherscan and was made on the testnet.
sunwarr10r's user avatar
5 votes

Does parity include a console?

In March 2016, Gav Wood wrote: we don't yet have a javascript interface, however it should be possible to use eth console or geth console to connect to a running parity client i haven't tried ...
eth's user avatar
  • 86k
5 votes
Accepted

Does parity include a console?

running parity --geth allows to use eth attach or geth attach to spawn a console.
q9f's user avatar
  • 33k
5 votes
Accepted

How do I host Ethereum on a server?

There are several ways you can run Ethereum: PyEthApp Python version GoEthereum Go Version (Probably the most popular) EthereumJ Java version Web3 umbrella C++ version All of the above are developed ...
dbryson's user avatar
  • 6,393
5 votes

Which database(s) do the ethereum clients use and why?

Parity is using RocksDB as it's database. From reading here it seems the reason for choosing it was performance. Faster than LevelDB in their tests. Lately though they have hit some performance ...
NoMan'sLand's user avatar
5 votes
Accepted

Generate contract address using nonce

Others can add other answers, but pyethereum is still active and this type code doesn't change: def mk_contract_address(sender, nonce): return sha3(rlp.encode([normalize_address(sender), nonce]))[...
eth's user avatar
  • 86k
5 votes

How to experiment with Ethereum without downloading the entire blockchain?

You can connect to a remote ethereum node such as INFURA, using the JSON RPC API, so you won't need to worry about maintaining and synchronizing a local node. You can see this guide about using ...
Herman Junge's user avatar
  • 2,381
5 votes

Will a smart contract get deleted once Geth's console is closed?

No. A deployed contract on a blockchain does not get deleted when Geth's console is closed. Restarting the Geth Javascript console requires variables, like greeter, to be re-initialized because the ...
eth's user avatar
  • 86k
5 votes
Accepted

Writing contracts without fully syncing blockchain

If you want to start coding smart contract this is a quite smooth environment to set up: Use Remix online IDE for coding and link it with your local node Download testRPC on your PC and run a local ...
Paolo Guerra's user avatar
4 votes

How do you stop a running geth node?

Simply use pkill -INT geth which will reuslt in the same as pressing CTRL-C in geth console: ... INFO [01-13|12:17:53] Imported new chain segment... INFO [01-13|12:17:57] Got interrupt, shutting ...
Evil.2000's user avatar
4 votes

Is there a C# implementation available for Ethereum?

Microsoft came up with plugin for smart contract development using Solidity in Visual Studio. https://visualstudiogallery.msdn.microsoft.com/96221853-33c4-4531-bdd5-d2ea5acc4799/ You can develop ...
RaisKazi's user avatar
  • 159
4 votes
Accepted

Where does the mist browser store the node log files?

Yes, it does! Mist writes logs to a file by default. The log files are rotated and stored in a platform-specific directory. On OS X, the latest log is ~/Library/Application Support/Mist/node.log On ...
q9f's user avatar
  • 33k
4 votes

Does parity include a console?

Not yet possible as this issue here suggests. ethconsole depends on IPC, which will be available as of Civility (1.1).
luclu's user avatar
  • 141
4 votes
Accepted

Parity installation problem in OSX

I have worked on parity few weeks ago on OS X. This guide is for Parity 1.2. The build is very long. I suppose you have installed homebrew. Homebrew (juin 2016) have a preinstalled version of Parity :...
Ellis's user avatar
  • 2,354
4 votes

How to experiment with Ethereum without downloading the entire blockchain?

You can work with Browser Solidity. It let's you experiment with Smart Contracts, compile them, run them and debug them using an in-memory execution environment (default), or the real thing. https://...
Rob Hitchens's user avatar
  • 55.4k
4 votes

Is there any working zk-snark implementation (even if experimental) among the existing Ethereum clients?

My answer is a fairly dumb one, as I've only had a look around in the code, and I haven't looked into zk-SNARKs properly yet, so apologies in advance if it's no help. The cpp-ethereum implementation ...
Richard Horrocks's user avatar
4 votes
Accepted

Trace transaction with Go client

Transaction tracing is not exposed via ethclient. You must connect over the regular rpc and invoke it as a regular call. The reasoning for that is given here.
Raghav Sood's user avatar
  • 4,060
4 votes

Will Eth 2.0 be implemented in geth (go-ethereum) or will it run on a new client?

Ethereum 2.0 is already being implemented according to the current specification by the teams mentioned in the Coindesk article. Some of the implementations are: prysm by PrysmaticLabs, as far as I ...
hugo_dc's user avatar
  • 41
4 votes

Will Eth 2.0 be implemented in geth (go-ethereum) or will it run on a new client?

Ethereum 2.0 will be much different from the legacy Ethereum. ETH1 In 2015, Ethereum launched with 3 official clients funded by the Ethereum Foundation. Go-Ethereum (Geth) C++-Ethereum (Eth) ...
q9f's user avatar
  • 33k
4 votes
Accepted

Differences between Quorum and Pantheon

There are 2 main differences: Besu is a more generic client that support Ethereum mainnet and is written in Java Quorum is a fork of geth (go-ethereum, the most used client for ethereum). It does ...
fixanoid's user avatar
  • 1,627

Only top scored, non community-wiki answers of a minimum length are eligible