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 ...
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 ...
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 ...
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 ...
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 '...
17
votes
how to connect "Kovan" or "Rinkeby" from geth
For rinkeby, just type geth --rinkeby from command prompt and you're in
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 ...
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 ...
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 ...
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
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 ...
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,...
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.
...
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
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**...
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 ...
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, ...
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 ...
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.
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 ...
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 ...
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...", ...]
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 ...
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.
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
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 ...
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 ...
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&...
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.
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rinkeby × 371solidity × 69
go-ethereum × 57
metamask × 47
web3js × 45
testnets × 45
truffle × 36
remix × 33
ether × 32
infura × 31
ropsten × 25
contract-deployment × 22
etherscan × 21
contract-development × 19
blockchain × 18
tokens × 16
transactions × 14
erc-20 × 12
faucets × 12
gas × 11
truffle-migration × 10
nft × 10
kovan × 10
hardhat × 10
web3.py × 9