Skip to content

ConsenSys public testnet

ethers edited this page Feb 13, 2016 · 12 revisions

Note: please do not mine on this network as that causes difficulty spikes and long block times after disconnecting.

Note: Initial Account Nonce (IAN) is 2^20 (instead of 0 in all previous networks). All accounts in the state trie have nonce >= IAN. Whenever an account is inserted into the state trie it is initialised with nonce = IAN. This will protect against replay attacks until 2^20.

The bootstrap node:

enode://b1217cbaa440e35ed471157123fe468e19e8b5ad5bedb4b1fdbcbdab6fb2f5ed3e95dd9c24a22a79fdb2352204cea207df27d92bfd21bfd41545e8b16f637499@104.44.138.37:30303

Connecting to the network (Morden)

The ConsenSys public testnet is Morden. (Title of this wiki page is not edited, to preserve the link.)

Run

geth --testnet --bootnodes=enode://b1217cbaa440e35ed471157123fe468e19e8b5ad5bedb4b1fdbcbdab6fb2f5ed3e95dd9c24a22a79fdb2352204cea207df27d92bfd21bfd41545e8b16f637499@104.44.138.37:30303

Single file bash script: bash <(curl http://pastebin.com/raw.php?i=eECUyNSv -L)

Syncing Issues

If you are having syncing issues, try manually adding a peer:

admin.addPeer('enode://b1217cbaa440e35ed471157123fe468e19e8b5ad5bedb4b1fdbcbdab6fb2f5ed3e95dd9c24a22a79fdb2352204cea207df27d92bfd21bfd41545e8b16f637499@104.44.138.37:30303')

ETH Faucet

The testnet has a faucet that's useful for acquiring ether without needing to mine. Simply run

curl -X POST -d 'address=<my address>' http://morden.cloudapp.net/faucet

and you will receive 20 ETH. Or http://morden.cloudapp.net/faucet?address=myaddr

This responds with the transaction hash or "Rate limit exceeded"`. The address of the faucet is

0x9fc6fefd7f33ca29ee17f2bfec944695e5f29caf

if you want to send some Ether back.