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

Add Ethereum Classic Support #27

Closed
ProphetDaniel opened this issue Jun 19, 2017 · 13 comments
Closed

Add Ethereum Classic Support #27

ProphetDaniel opened this issue Jun 19, 2017 · 13 comments

Comments

@ProphetDaniel
Copy link

Transaction price in forked Ethereum kills some applications of the technology because of the current coin quotation. Ethereum Classic can be rather used to make sure smaller transactions are still viable. So adding it will greatly increse LETH user base.

@hacktar
Copy link
Contributor

hacktar commented Jun 20, 2017

Do you have some public full node with API available like this:
--shh --rpcapi "web3,shh,eth"

let us know that we could make some test

@ProphetDaniel
Copy link
Author

ProphetDaniel commented Jun 20, 2017

Try this https://mewapi.epool.io

@ProphetDaniel
Copy link
Author

ProphetDaniel commented Jul 23, 2017

I prepare this node today: https://ethereum-classic.herokuapp.com/api.

@hacktar
Copy link
Contributor

hacktar commented Jul 23, 2017

What is the best way to identify the blockchain classic mainnet?

@ProphetDaniel
Copy link
Author

You can issue the following command:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1d4c00", true],"id":1}' https://ethereum-classic.herokuapp.com/api

So that you will be able to compare with the same block for forked Ethereum network. There should have a better way to identify though.

Because the node is still synchronizing with the network, that will return a null block. It will start working after the node synchronization has accounted for the DAO hard fork block number.
You can check synchronization by:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' https://ethereum-classic.herokuapp.com/api

@ChuckSRQ
Copy link

@hacktar The epool api is the same used by MyEtherWallet. You can always contact @EtherNinja for that.

@ProphetDaniel
Copy link
Author

@ChuckSRQ for LETH the API endpoint needs to have whisper protocol enabled by default. As far as I know neither myEtherWallet nor epool have whisper enabled right now. It would be cool to see both activating it though.

@ghost
Copy link

ghost commented Jul 24, 2017

Hosting geth nodes require substantially more resources than parity. There is currently no plans to deploy geth for mewapi as a free service.

@hacktar
Copy link
Contributor

hacktar commented Jul 25, 2017

we will wait for sync on https://ethereum-classic.herokuapp.com/api node.
You could just add this host on Settings of LETH and use chat over whisper but to manage asset we have to make some changes to network identification and wait for last block sync.

is syncing and works

@ProphetDaniel
Copy link
Author

@hacktar, if you compare Ethereum Classic block #1,920,000 with Forked Ethereum block #1,920,000 you will notice that both have the same parent hash but different hashes because that is the block in which Ethereum foundation executed the fork. This means you can identify Ethereum Classic network with the hash of the block #1,920,000:

  • 0x4985f5ca3d2afbec36529aa96f74de3cc10a2a4a6c44f2157a57d2c6059a11bb for forked Ethereum
  • 0x94365e3a8c0b35089c1d1195081fe7489b528a84b22199c916180db8b28ade7f for Ethereum Classic

@tcz001
Copy link

tcz001 commented Sep 9, 2017

just in case, we should also consider using the chainId API which is more explicit for ETC and other forked chains, here is the EIP we are proposing

@hacktar
Copy link
Contributor

hacktar commented Sep 18, 2017

Done. Please use a synced host node with API for whisper messages

@hacktar hacktar closed this as completed Sep 18, 2017
@kolya182
Copy link

kolya182 commented May 2, 2018

A few more if needed:
https://web3.gastracker.io/
https://etcrpc.viperid.online/

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

No branches or pull requests

5 participants