add network: aquachain
This commit is contained in:
parent
16ba70d61a
commit
16b9d2042f
|
@ -113,6 +113,11 @@ export const ESN_DEFAULT: DPath = {
|
|||
value: "m/44'/31102'/0'/0"
|
||||
};
|
||||
|
||||
export const AQUA_DEFAULT: DPath = {
|
||||
label: 'Default (AQUA)',
|
||||
value: "m/44'/60'/0'/0"
|
||||
};
|
||||
|
||||
export const DPaths: DPath[] = [
|
||||
ETH_DEFAULT,
|
||||
ETH_TREZOR,
|
||||
|
@ -135,7 +140,8 @@ export const DPaths: DPath[] = [
|
|||
RSK_TESTNET,
|
||||
GO_DEFAULT,
|
||||
EOSC_DEFAULT,
|
||||
ESN_DEFAULT
|
||||
ESN_DEFAULT,
|
||||
AQUA_DEFAULT
|
||||
];
|
||||
|
||||
// PATHS TO BE INCLUDED REGARDLESS OF WALLET FORMAT
|
||||
|
|
|
@ -5,7 +5,7 @@ Object {
|
|||
"@@redux-saga/IO": true,
|
||||
"SELECT": Object {
|
||||
"args": Array [
|
||||
"ESN",
|
||||
"AQUA",
|
||||
],
|
||||
"selector": [Function],
|
||||
},
|
||||
|
|
|
@ -27,7 +27,8 @@ import {
|
|||
RSK_TESTNET,
|
||||
GO_DEFAULT,
|
||||
EOSC_DEFAULT,
|
||||
ESN_DEFAULT
|
||||
ESN_DEFAULT,
|
||||
AQUA_DEFAULT
|
||||
} from 'config/dpaths';
|
||||
import { makeExplorer } from 'utils/helpers';
|
||||
import { StaticNetworksState } from './types';
|
||||
|
@ -541,6 +542,30 @@ export const STATIC_NETWORKS_INITIAL_STATE: StaticNetworksState = {
|
|||
max: 60,
|
||||
initial: 20
|
||||
}
|
||||
},
|
||||
AQUA: {
|
||||
id: 'AQUA',
|
||||
name: 'Aquachain',
|
||||
unit: 'AQUA',
|
||||
chainId: 61717561,
|
||||
isCustom: false,
|
||||
color: '#00ffff',
|
||||
blockExplorer: makeExplorer({
|
||||
name: 'AQUA Explorer',
|
||||
origin: 'https://aquachain.github.io/explorer/#'
|
||||
}),
|
||||
tokens: [],
|
||||
contracts: [],
|
||||
dPathFormats: {
|
||||
[SecureWalletName.TREZOR]: AQUA_DEFAULT,
|
||||
[SecureWalletName.LEDGER_NANO_S]: AQUA_DEFAULT,
|
||||
[InsecureWalletName.MNEMONIC_PHRASE]: AQUA_DEFAULT
|
||||
},
|
||||
gasPriceSettings: {
|
||||
min: 0.1,
|
||||
max: 10,
|
||||
initial: 0.1
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -226,6 +226,21 @@ export const NODE_CONFIGS: { [key in StaticNetworkIds]: RawNodeConfig[] } = {
|
|||
service: 'ethersocial.org',
|
||||
url: 'https://api.esn.gonspool.com'
|
||||
}
|
||||
],
|
||||
|
||||
AQUA: [
|
||||
{
|
||||
name: makeNodeName('AQUA', 'aquachain'),
|
||||
type: 'rpc',
|
||||
service: 'aquacha.in',
|
||||
url: 'https://tx.aquacha.in/api'
|
||||
},
|
||||
{
|
||||
name: makeNodeName('AQUA', 'uncan.onical'),
|
||||
type: 'rpc',
|
||||
service: 'uncan.onical.org',
|
||||
url: 'https://c.onical.org'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@ type StaticNetworkIds =
|
|||
| 'GO'
|
||||
| 'GO_TESTNET'
|
||||
| 'EOSC'
|
||||
| 'ESN';
|
||||
| 'ESN'
|
||||
| 'AQUA';
|
||||
|
||||
export interface BlockExplorerConfig {
|
||||
name: string;
|
||||
|
|
Loading…
Reference in New Issue