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

Implement Ethereum (cryptocurrency) support #62

Open
monicanagent opened this issue Jul 3, 2019 · 0 comments
Open

Implement Ethereum (cryptocurrency) support #62

monicanagent opened this issue Jul 3, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@monicanagent
Copy link
Owner

monicanagent commented Jul 3, 2019

Overview

Prior to supporting (updated) smart contracts support for Ethereum as a standard cryptocurrency must be implemented.

As with previous cryptocurrency integrations the aim is to support both full desktop client and light client (remote API) functionality.

Details

Implementation details should follow existing adapters. Specifically, functions makeNewWallet, getDerivedWallet, getBlockchainBalance, sendTransaction, updateTxFees, and cashoutToAddress must be implemented in a currency-agnostic way.

Note that both native and light client implementations will be extended to facilitate smart contract publishing and interactions.

The BitcoinCoreNative adapter can be used as a reference for the desktop client implementation and an extending implementation such as the BlockstreamAPI adapter can be used as a reference for the light client (remote API) implementation.

The desktop implementation should use the cross-platform Geth client: https://geth.ethereum.org/downloads/

The Web3.js library can be used to process smart contracts/interactions and interface with clients in Node.js and possibly the browser: https://github.com/ethereum/web3.js/

The light client may use any (combination) of the following candidate API services but priority should be given to any that don't require access tokens / registration:

https://cinder.cloud/ethereum-contract-api/documentation (full token-less API appears to be supported)
https://www.myetherapi.com/ (full token-less API appears to be supported)
https://www.npmjs.com/package/etherest (full token-less API appears to be supported)
https://api.aleth.io/v1/docs?utm_source=devportal (may require access token)
https://etherscan.io/apis (requires access token)
https://www.blockcypher.com/dev/ethereum/ (requires access token)
https://infura.io/docs (requires access token)
https://github.com/EverexIO/Ethplorer/wiki/Ethplorer-API?from=etop (limited API)

@monicanagent monicanagent added the enhancement New feature or request label Jul 3, 2019
@monicanagent monicanagent added this to the v0.6.0 milestone Jul 3, 2019
@monicanagent monicanagent self-assigned this Jul 3, 2019
@monicanagent monicanagent added this to To do in CypherPoker.JS via automation Jul 3, 2019
@monicanagent monicanagent changed the title Add Ethereum (cryptocurrency) support Implement Ethereum (cryptocurrency) support Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
CypherPoker.JS
  
To do
Development

No branches or pull requests

1 participant