Skip to main content
185 votes
Accepted

Comparison of the different TestNets

Sepolia Proof of Work (Ethash) Best reproduces the current Ethereum production environment (PoW) Website: https://sepolia.dev/ Resources: https://github.com/goerli/sepolia Goerli Proof of Authority ...
medvedev1088's user avatar
28 votes

Comparison of the different TestNets

There are other (test-)networks as well, as described in this SO answer, copied here with their network id numbers: 0: Olympic, Ethereum public pre-release testnet 2: Morden, the public Ethereum ...
Stan James's user avatar
28 votes

Smart Contract Error: Returned values aren't valid, did it run Out of Gas?

I fixed the similar error by deleting .json files from build/contracts folder and then running truffle migrate in the terminal. However, the error occurred in Visual Studio Code, not Remix IDE. It ...
monkrus's user avatar
  • 642
19 votes
Accepted

Why are the Rinkeby and Ropsten testnets named after Swedish locations?

Morden: a subway station in London Ropsten: a metro station in Stockholm Rinkeby: a metro station in Stockholm Kovan: a subway station in Singapore Testnets are named after train stations as a ...
Miguel's user avatar
  • 5,223
18 votes
Accepted

Smart Contract Error: Returned values aren't valid, did it run Out of Gas?

I got help from Veniamin. I had error "Error: Couldn't decode from ABI: 0x." when call get request with wrong contract address I made a mistake... I was using 'account address', instead of '...
RafiAlhamd's user avatar
17 votes

how to connect "Kovan" or "Rinkeby" from geth

For rinkeby, just type geth --rinkeby from command prompt and you're in
adaKing's user avatar
  • 171
15 votes
Accepted

How can I set the gas price while deploying a contract with web3.js?

From the documentation: var contractInstance = MyContract.new([constructorParam1] [, constructorParam2], {data: '0x12345...', from: myAccount, gas: 1000000}); Yes, you can just add a gasPrice to ...
user19510's user avatar
  • 28.1k
12 votes
Accepted

Error: "The contract code couldn't be stored, please check your gas limit"

How did you get the bytecode? Does it have the '0x' at the beginning? Can you try adding the '0x' when submitting the transaction? .deploy({ data: '0x' + bytecode, arguments: ['Hi there!'] }) If ...
Ismael's user avatar
  • 30.3k
10 votes

Why does sendSignedTransaction return a tx hash BUT does not post to the Rinkeby network (React, Metamask, web3, infura)

This line ... nonce: window.web3.utils.toHex(window.web3.eth.getTransactionCount(fromAccount)), ... relies on a reliable transaction count from Infura. The problem is it's not as reliable (or even ...
Rob Hitchens's user avatar
  • 55.6k
9 votes

how to connect "Kovan" or "Rinkeby" from geth

For Kovan: parity --chain kovan it won't be possible to connect to Rinkeby with parity, only with geth. Rinkeby with geth: geth --rinkeby
rstormsf's user avatar
  • 4,357
9 votes
Accepted

How can I mine on the rinkeby testnet?

Rinkeby doesn't run Proof of Work, it runs Proof of Authority. This means there are no miners. The people that create blocks are pre-authorized nodes. It's a network where pre-selected and trusted ...
natewelch_'s user avatar
  • 12.2k
8 votes
Accepted

How is Rinkeby different from mainnet?

What makes Rinkeby a "testnet"? I understand it's a parallel network so my ether there has no effect on the mainnet ether. But how is it different technically? Rinkeby is a Proof-of-Authority network,...
Richard Horrocks's user avatar
8 votes
Accepted

geth rewinds chain on every startup

If you kill the geth instance or it crashes, it won't write the latest status of the cache, and will be forced to drop the "fast" sync state and fall back to the last "full" state on next startup. ...
rustyx's user avatar
  • 910
8 votes

Does Rinkeby have a faucet where I can fill a wallet with DAI?

Go to "https://app.compound.finance/" connect metamask using rinkeby test network In supply section select DAI -> Faucet
Surbhi Audichya's user avatar
7 votes
Accepted

How do I "Buy" tokens on the Rinkeby (test) environment?

RinkedBy official faucet uses 3rd party social network to prevent malicious actors. You only need to go to this page and for example tweet the following: Requesting faucet funds into 0x***YOU_ADDRESS**...
Greg Jeanmart's user avatar
7 votes
Accepted

Unhandled promise rejection(gas limit) when deploying Contract to rinkeby using truffle-hdwallet-provider

I added '0x' + in front of the bytecode in the .deploy to make it Work. .deploy({ data: '0x' + bytecode, arguments: ['Hi there!'] }) If there's no '0x' the bytecode will convert the whole string to ...
Finn Rothacker's user avatar
7 votes
Accepted

Getting "replacement transaction underpriced" though not trying to replace a transaction

You can indeed change the nonce by hand; it is a transaction parameter and it goes alongside gas, gasPrice, value. So your script can simply increment it then fire and forget the transaction. Now, ...
Xavier Leprêtre B9lab's user avatar
7 votes

MetaMask shows "UNKNOWN FUNCTION" when calling method send function

To have MetaMask recognise the signature of your function, you need to register is at: https://etherscan.io/address/0x44691B39d1a75dC4E0A0346CBB15E310e6ED1E86#writeContract This is where MetaMask ...
Adam Dossa's user avatar
  • 1,287
7 votes

Smart Contract Error: Returned values aren't valid, did it run Out of Gas?

Had the same issue and it turned out i was on Metamask Mainnet instead of Rinkeby where my contract was deployed.
squiff's user avatar
  • 71
7 votes

Does Rinkeby have a faucet where I can fill a wallet with DAI?

I deployed a mock ERC20 on all Ethereum testnets (Goerli, Kovan, Rinkeby and Ropsten) so you don't have to: Goerli at 0x97cb342Cf2F6EcF48c1285Fb8668f5a4237BF862 Kovan at ...
Paul Razvan Berg's user avatar
6 votes
Accepted

Does Rinkeby Faucet Test Net send real ether?

The test-nets (such as Rinkeby) can be thought of as an alternate dimension for all intents and purposes. They are a place to run experiments without modifying the real Ethereum network. The ether ...
fspmarshall's user avatar
6 votes
Accepted

Unable to input address[] parameter in remix

If you want to input the address array in the contract mask generated by remix, you have to do it like this: ["0x1234....", "0x2345...", ...]
ivicaa's user avatar
  • 7,539
6 votes

eth.getBalance(eth.accounts[0]) Shows me 0 balance though my syncing is still Running

When you sync your node, It fetches data previously written on the Blockchain. Hypothetically, let's say that: Node is currently syncing and had fetched the 100 first blocks the first time your ...
João Quintanilha's user avatar
6 votes

How can I get wrapped Ether on Rinkeby?

Normal way would be as described by @Morten. Alternatively just purchase WETH with ETH at https://app.uniswap.org/#/swap.
Markus - soliditydeveloper.com's user avatar
6 votes

How can I get wrapped Ether on Rinkeby?

As said previously, you can swap eth for weth on uniswap. But if you want, the smart contract address for weth in Rinkeby is 0xc778417E063141139Fce010982780140Aa0cD5Ab
John's user avatar
  • 193
5 votes
Accepted

Parity configuration for rinkeby testnet

Parity does very well support proof of authority, but it does not implement the Clique engine required to join the Rinkeby test network. It just wont work out. If you want to join a PoA testnet, you ...
q9f's user avatar
  • 33k
5 votes

Sent Real Ether via Rinkeby to Ledger Nano

Things you do on Rinkeby or some other test network should have no effect on the live network. The same address can be used on different networks, but the coins an address may have on one network are ...
Edmund Edgar's user avatar
  • 16.9k
5 votes
Accepted

Rinkeby failure with web3.py -- Could not format value '0x...' as field 'extraData'

Solution Insert a special middleware in web3.py v5+ to handle geth-style proof-of-authority, like this: py> from web3 import Web3, IPCProvider # connect to the default geth --dev IPC location py&...
carver's user avatar
  • 6,411
5 votes

Rinkeby not producing blocks

I checked https://www.rinkeby.io/#stats a few minutes ago. There was a problem with validators. To few were online. Now it runs again.
cqx's user avatar
  • 3,462
5 votes
Accepted

Truffle Migrate Rinkeby - Error: PollingBlockTracker - encountered an error while attempting to update latest block: Error: ETIMEDOUT

I found the fix by changing the infura Rinkeby RPC_URL in 'the truffle-config.js' file. Originally I was using the https://rinkeby_url. On using wss://rinkeby_url - it got fixed. Please see a snapshot ...
Sahil Kharya's user avatar

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