diff --git a/src/data/appConfig.json b/src/data/appConfig.json index 3285f8a9..fafbb619 100644 --- a/src/data/appConfig.json +++ b/src/data/appConfig.json @@ -22,7 +22,27 @@ } ], + "eth": { + "name": "Ethereum", + "symbol": "ETH", + "network": "ethereum", + "bip44": "m/44'/60'/0'/0", + "defaultGasPrice": 64, + "defaultGasLimit": 21000, + "defaultGasLimitTokens": 200000, + "backends": [ + { + "name": "TREZOR Wallet - Ethereum", + "urls": [ + "http://88.208.115.69" + ] + } + ], + "explorer": "https://etherscan.io" + }, + "coins": [ + { "name": "Ethereum Ropsten", "symbol": "tETH", diff --git a/src/js/services/TrezorConnectService.1.js b/src/js/services/TrezorConnectService.1.js index e9267f1b..f22dd7c0 100644 --- a/src/js/services/TrezorConnectService.1.js +++ b/src/js/services/TrezorConnectService.1.js @@ -43,7 +43,7 @@ const initSelectedDevice = async (store: any, device: any): void => { // }); // if (response && response.success) { - // const xpub = response.data.xpub; + // const xpub = response.payload.xpub; // store.dispatch({ // type: CONNECT.AUTH_DEVICE, // device: selectedDevice, @@ -150,7 +150,7 @@ const TrezorConnectService = (store: any) => (next: any) => (action: any) => { // post event to TrezorConnectReducer store.dispatch({ type: event.type, - device: event.data + device: event.payload }); });