-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Conversation
There was a problem hiding this 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.
all #!/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.
will check |
996aa12
to
b858887
Compare
thanks for the info! but e.g.:
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. |
Ah - now I see - thanks! |
[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