Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Ethereum based off chains #10

Merged
merged 1 commit into from Jan 15, 2019

Conversation

hackmod
Copy link
Contributor

@hackmod hackmod commented Jan 15, 2019

NetworkID CHAIN_ID Chain(s) CMC registered
1 1 Ethereum mainnet
2 2 Morden (disused) -
3 3 Ropsten -
4 4 Rinkeby -
? 30 Rootstock mainnet -
? 31 Rootstock testnet -
? 42 Kovan -
1 61 Ethereum Classic mainnet
3 62 Ethereum Classic testnet -
1 2 Expanse mainnet ([1], [2], [3])
1 8 Ubiq mainnet ([2] , [3])
60 60 GoChain
76 76 Mix -
88 88 TomoChain
99 99 POA Network
37129 101 webchain
1 101 EtherInc
64 64 Ellaism
1 820 Callisto mainnet ([2] , [3])
11235813 1620 Atheios
1987 1987 EtherGem
1 31102 EtherSocial Network
200625 200625 Akaroma
1313114 1313114 Ether-1
7762959 7762959 Music
18289463 18289463 IoLite -
3125659152 3125659152 Pirl

[1] https://github.com/expanse-org/go-expanse/blob/master/eth/config.go#L42
[2] https://www.ethernodes.org/network/1/nodes
[3] https://github.com/kvhnuke/etherwallet/blob/mercury/app/scripts/nodes.js

RPC endpoints

Inactive Chains

  • Ethereum Social (ETSC)
  • EOS Classic (EOSC) => rebranded REOSC

Copy link
Member

@ligi ligi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! But I am a bit sceptical about this change. Especially all the network_id changes. E.g. checked and the changed network id for ETC seems to be really wrong. So please provide links/reasons for this change - otherwise this cannot be merged.

@hackmod
Copy link
Contributor Author

hackmod commented Jan 15, 2019

Thanks for the PR! But I am a bit sceptical about this change. Especially all the network_id changes. E.g. checked and the changed network id for ETC seems to be really wrong. So please provide links/reasons for this change - otherwise this cannot be merged.

all network_ids are retrieved by the following script.

#!/bin/sh

networks="ESN=https://api.esn.gonspool.com
ETC=https://etc-geth.0xinfra.com
WEB=https://node1.webchain.network
EINC=https://api.einc.io/jsonrpc/mainnet
AKA=https://remote.akroma.io
PIRL=https://wallrpc.pirl.io
ATH=https://wallet.atheios.com:8797
ETHO=https://rpc.ether1.org
GO=https://rpc.gochain.io
EGEM=https://jsonrpc.egem.io/custom
POA=https://poa.infura.io
TOMO=https://testnet.tomochain.com
IOLITE=https://net.iolite.io
ELLA=https://jsonrpc.ellaism.org
MIX=https://rpc2.mix-blockchain.org:8647"

for x in $networks; do
  N=$(echo $x | cut -d= -f1); R=$(echo $x | cut -d= -f2)
  echo "** $N "
  J=$(curl -X POST --header "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":1}' $R 2>/dev/null)
  echo "$J"
done

and the result.

$ sh net_versions
** ESN
{"jsonrpc":"2.0", "id": 1 ,"result":"1"}
** ETC
{"jsonrpc":"2.0","id":1,"result":"1"}
** WEB
{"jsonrpc":"2.0","id":1,"result":"37129"}
** EINC
{"jsonrpc":"2.0","id":1,"result":"1"}
** AKA
{"jsonrpc":"2.0","id":1,"result":"200625"}
** PIRL
{"jsonrpc":"2.0","id":1,"result":"3125659152"}
** ATH
{"jsonrpc":"2.0","id":1,"result":"11235813"}
** ETHO
{"jsonrpc":"2.0","id":1,"result":"1313114"}
** GO
{"jsonrpc":"2.0","id":1,"result":"60"}
** EGEM
{"jsonrpc":"2.0","id":1,"result":"1987"}
** POA
{"jsonrpc":"2.0","id":1,"result":"99"}
** TOMO
{"jsonrpc":"2.0","id":1,"result":"89"}
** IOLITE
{"jsonrpc":"2.0","result":"18289463","id":1}
** ELLA
{"jsonrpc":"2.0","result":"64","id":1}
** MIX
{"jsonrpc":"2.0","result":"76","id":1}

will check chain_id again asap! (see also https://github.com/kvhnuke/etherwallet/blob/mercury/app/scripts/nodes.js)

@hackmod hackmod force-pushed the add-chains branch 2 times, most recently from 996aa12 to b858887 Compare January 15, 2019 14:39
@ligi
Copy link
Member

ligi commented Jan 15, 2019

thanks for the info!

but e.g.:

** ETC
{"jsonrpc":"2.0","id":1,"result":"1"}

so the output of your script for the network id is 1 - but the PR wants to update it to 64

@ligi ligi mentioned this pull request Jan 15, 2019
@hackmod
Copy link
Contributor Author

hackmod commented Jan 15, 2019

thanks for the info!

but e.g.:

** ETC
{"jsonrpc":"2.0","id":1,"result":"1"}

so the output of your script for the network id is 1 - but the PR wants to update it to 64

nop. thats ellaism. not etc.

@ligi
Copy link
Member

ligi commented Jan 15, 2019

Ah - now I see - thanks!

@ligi ligi merged commit 51ccddf into ethereum-lists:master Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants