Hot answers tagged

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
  • 10.9k
44 votes
Accepted

What is Olympic, Frontier, Morden, Homestead and Ropsten Ethereum blockchain?

Each network version gets a name (id). Here is an overview. Olympic (0) is also regularly referred to as Ethereum 0.9; it launched early 2015 and was the first public Testnet. Deprecated in mid 2015 ...
q9f's user avatar
  • 32.8k
32 votes
Accepted

Steps to deploy a contract using MetaMask and Truffle

Solution 1: With you own node You can easily deploy on the ropsten network if you own a full node running on your machine. i. Run geth $ geth --fast --cache=1048 --testnet --unlock "0xmyaddress" --...
Greg Jeanmart's user avatar
27 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
23 votes
Accepted

Ropsten testnet is under kind of attack? What can we do?

Update - 25th March 2017 Ropsten has been revived! We are pleased to announce that the Ropsten testnet has been revived! Thanks to a generous donation of GPU hashpower, the Ropsten chain has ...
Richard Horrocks's user avatar
22 votes
Accepted

How to generate a vanity address for a smart contract to be deployed on?

Generating a vanity address is a simple process of trial-and-error, and the same process can be used to search for accounts having some other property. Contract addresses are determined by the ...
Nick Johnson's user avatar
  • 8,104
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 Mota's user avatar
  • 5,103
17 votes
Accepted

What prevents the market from assigning value to testnet ETH?

The testnet can be reset any time by the Ethereum developers by issuing a new default genesis block. New testnet nodes would run automatically the new testnet. Therefore people do not build any ...
Roland Kofler's user avatar
16 votes
Accepted

parity Ropsten testnet forked at block 296151?

So, the geth monitoring-node first seems to have imported the same one as reported above: Jan 06 23:29:21 geth-testnet: I0106 22:29:21.064938 core/blockchain.go:1073] imported 1 blocks, 14 txs ( ...
Martin Swende's user avatar
14 votes
Accepted

Connecting to hosted web3 provider from NodeJS backend

I've replaced const web3 = new Web3(new Web3.providers.HttpProvider("http://rpc.ethapi.org:8545")); with: const web3 = new Web3(new Web3.providers.HttpProvider("https://ropsten.infura.io/TOKEN")); ...
manidos's user avatar
  • 4,278
14 votes
Accepted

How to connect to the Ropsten test-net using web3.js

You can either run a local node and specify your chain using --chain ropsten when starting geth/parity and connect to localhost once sync is completed or you can connect to infura.io: var web3 = new ...
d9ngle's user avatar
  • 426
12 votes
Accepted

How to obtain all transaction of a contract?

Another way (perhaps much simpler) to get a list of transactions on an account is to use an API from a block scraper such as http://etherscan.io. The trouble with this is it's fully centralized. A ...
Thomas Jay Rush's user avatar
11 votes

What prevents the market from assigning value to testnet ETH?

Testnet ETH is practically infinite. The Morden genesis block allocates one address, 1.6e42 Ether. Some Ethereum developers know the private key to this and its primary use is for faucets. Here's ...
eth's user avatar
  • 85k
9 votes

What should be the gas and gasPrice for Ropsten Network in Truffle Config?

According to the truffle documentation, the two arguments gas and gasPrice stand for: gas: Gas limit used for deploys. Default is 4712388. gasPrice: Gas price used for deploys. Default is ...
Greg Jeanmart's user avatar
9 votes

How to fix "TypeError: Cannot read property 'sendTransaction' of null" when deploying a contract on Ropsten with hardHat?

In your hardhat.config.js you should have accounts instead of account. Due to this typo, ethers cannot invoke 'sendTransaction' once the signer is null
Diogo S's user avatar
  • 91
8 votes

What is actually Ropsten? What is a new "network"?

The Ropsten test net is essentially used as a testing environment before you bring your code onto the main net. In contrast to the main net, writing to the test net is free. I think there may be some ...
Dakota Quint's user avatar
8 votes

What is Olympic, Frontier, Morden, Homestead and Ropsten Ethereum blockchain?

Frontier is the name of the launch and first release of the live Ethereum network. Frontier is the current Ethereum network. It is described more, as well as the names for upcoming releases, here. ...
eth's user avatar
  • 85k
8 votes

What is Olympic, Frontier, Morden, Homestead and Ropsten Ethereum blockchain?

Frontier is the name of Etheneum's current release stage. It is for early adopters, experimenters. When it was released, there were no Graphical User Interface available, everything had to be done ...
Alexey Akhunov's user avatar
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
  • 85k
7 votes
Accepted

Deploying contracts in Ropsten with Truffle

When I was deploying my contract through truffle in rinkeby network I too got the same error after adding from address and gas it got deployed. Try this networks: { ropsten: { network_id: 3, ...
Jazz's user avatar
  • 216
7 votes
Accepted

How to deploy contract to the Ropsten test-net using web3.js

You can try this NodeJS solution: module.paths.push('/usr/lib/node_modules'); var fs = require('fs'); const contract_data = JSON.parse( fs.readFileSync('path to your JSON file') ); var openKey ...
Ruslan Bilyk's user avatar
7 votes

Geth v1.7.2 not connecting to peers on ropsten?

30 Mar 2018 - List of Ropsten peers below updated I used the following commands from How can I create a list of peers from my syncing geth node to manually paste into my non-syncing geth node using ...
BokkyPooBah's user avatar
  • 40.2k
7 votes
Accepted

myContract.getPastEvents("allEvents") returns empty array

Add a filter to the call with fromblock > 0: contract.getPastEvents("allEvents", { fromBlock: 1}).then(console.log);
KNK's user avatar
  • 679
7 votes

Error while buying test ether from https://faucet.metamask.io/ - Mastering Ethereum

Don't make it so hard for you. Just use a working faucet. None of us can fix a problem with the faucet you mentioned. Here is a working Ropsten Testnet Faucet: https://faucet.ropsten.be/
cqx's user avatar
  • 3,452
6 votes
Accepted

What's the difference between Olympic, Morden and Ropsten?

Olympic has the network ID 0. It was the pre-release testnet launched in early 2015. Somethimes this network is referred to as Ethereum Version 0.9. It was discontinued in July 2015 when Ethereum ...
q9f's user avatar
  • 32.8k
6 votes
Accepted

How to point a domain registered with ENS to swarm content?

You need to add '0x' to the beginning of the content hash in the setContent function. publicResolver.setContent(namehash('5.test'), '0xf1a669a425b378bd8034fe0df7fea098c8b932a6037b688764afda1e92a8db1e'...
cobordism's user avatar
  • 539
6 votes
Accepted

Want to run a local fork of Ropsten

Parity should be run in RPC mode as follows: parity --chain ropsten --light --no-serve-light --jsonrpc-port=8545 And then the following command works to issue a fork: ganache-cli --fork http://...
Peteris's user avatar
  • 1,005
6 votes
Accepted

How to fix "TypeError: Cannot read property 'sendTransaction' of null" when deploying a contract on Ropsten with hardHat?

You need to provide your private key your hardhat.config.js file instead of your public key/address. module.exports = { solidity: "0.8.4", paths: { artifacts: './client/src/artifacts'...
Abdul Sami J's user avatar
5 votes

Ropsten testnet is under kind of attack? What can we do?

Ropsten is to be considered dead, and parity launched a Proof of Authority testnet called Kovan. Read the proposal here: https://github.com/kovan-testnet/proposal To update your testnet from ropsten ...
q9f's user avatar
  • 32.8k
5 votes
Accepted

Are there any bootnodes for the revived Ropsten testnet?

According to ethereum/ropsten, the bootnodes are: enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e1[email protected]....
0xcaff's user avatar
  • 2,447

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