Add MyCrypto ETH Endpoint (#898)

This commit is contained in:
Danny Skubak 2018-01-24 21:26:16 -05:00 committed by Daniel Ternyak
parent 02ffa3593a
commit 2fd4730ebe
1 changed files with 7 additions and 0 deletions

View File

@ -217,6 +217,7 @@ export type NetworkKeys = keyof typeof NETWORKS;
enum NodeName {
ETH_MEW = 'eth_mew',
ETH_MYCRYPTO = 'eth_mycrypto',
ETH_ETHSCAN = 'eth_ethscan',
ETH_INFURA = 'eth_infura',
ROP_MEW = 'rop_mew',
@ -244,6 +245,12 @@ export const NODES: NodeConfigs = {
service: 'MyEtherWallet',
estimateGas: true
},
eth_mycrypto: {
network: 'ETH',
lib: new RPCNode('https://api.mycryptoapi.com/eth'),
service: 'MyCrypto',
estimateGas: true
},
eth_ethscan: {
network: 'ETH',
service: 'Etherscan.io',