19

As far as I know, the default test network is "Ropsten" and you can connect to ropsten with following command.Since it is default, when you connect to testnet its "Ropsten".

geth --testnet

I would like to connect "Kovan" / "Rinkeby" test networks. What are the required parameters connecting to these test networks?

1
  • Because rinkeby does not enter ico, like eth in your normal network. Where is it possible to sell rinkeby, in which ico?
    – Javi
    Commented Oct 4, 2017 at 15:23

4 Answers 4

17

For rinkeby, just type geth --rinkeby from command prompt and you're in

9

For Kovan:

parity --chain kovan

it won't be possible to connect to Rinkeby with parity, only with geth.

Rinkeby with geth:

geth --rinkeby
3
  • 1
    How to connect to Kovan with geth?
    – Ini
    Commented May 3, 2018 at 22:06
  • that's just not possible to do.
    – rstormsf
    Commented May 8, 2018 at 20:28
  • 2
    @Ini it's not possible because Kovan and Rinkeby were started by separate groups. That is, Kovan is Parity's project while Rinkeby is go-ethereum team's. Commented Oct 17, 2018 at 15:32
4

You have to use either the --chain or --networkid options, depending on your client.


The Kovan network is only available when using the Parity client.

From the Parity --help output:

--chain CHAIN Specify the blockchain type. CHAIN may be either a JSON chain specification file or olympic, frontier, homestead, mainnet, morden, ropsten, classic, expanse, testnet, kovan or dev (default: homestead).


The Rinkeby network is only available when using the Geth client.

From the Geth --help output:

--networkid value Network identifier (integer, 1=Frontier, 2=Morden (disused), 3=Ropsten, 4=Rinkeby) (default: 1)

1

geth --rinkeby --syncmode "fast" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain "*"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.