mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-18 05:56:54 +00:00
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"
|
value: "m/44'/31102'/0'/0"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const AQUA_DEFAULT: DPath = {
|
||||||
|
label: 'Default (AQUA)',
|
||||||
|
value: "m/44'/60'/0'/0"
|
||||||
|
};
|
||||||
|
|
||||||
export const DPaths: DPath[] = [
|
export const DPaths: DPath[] = [
|
||||||
ETH_DEFAULT,
|
ETH_DEFAULT,
|
||||||
ETH_TREZOR,
|
ETH_TREZOR,
|
||||||
@ -135,7 +140,8 @@ export const DPaths: DPath[] = [
|
|||||||
RSK_TESTNET,
|
RSK_TESTNET,
|
||||||
GO_DEFAULT,
|
GO_DEFAULT,
|
||||||
EOSC_DEFAULT,
|
EOSC_DEFAULT,
|
||||||
ESN_DEFAULT
|
ESN_DEFAULT,
|
||||||
|
AQUA_DEFAULT
|
||||||
];
|
];
|
||||||
|
|
||||||
// PATHS TO BE INCLUDED REGARDLESS OF WALLET FORMAT
|
// PATHS TO BE INCLUDED REGARDLESS OF WALLET FORMAT
|
||||||
|
@ -5,7 +5,7 @@ Object {
|
|||||||
"@@redux-saga/IO": true,
|
"@@redux-saga/IO": true,
|
||||||
"SELECT": Object {
|
"SELECT": Object {
|
||||||
"args": Array [
|
"args": Array [
|
||||||
"ESN",
|
"AQUA",
|
||||||
],
|
],
|
||||||
"selector": [Function],
|
"selector": [Function],
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,8 @@ import {
|
|||||||
RSK_TESTNET,
|
RSK_TESTNET,
|
||||||
GO_DEFAULT,
|
GO_DEFAULT,
|
||||||
EOSC_DEFAULT,
|
EOSC_DEFAULT,
|
||||||
ESN_DEFAULT
|
ESN_DEFAULT,
|
||||||
|
AQUA_DEFAULT
|
||||||
} from 'config/dpaths';
|
} from 'config/dpaths';
|
||||||
import { makeExplorer } from 'utils/helpers';
|
import { makeExplorer } from 'utils/helpers';
|
||||||
import { StaticNetworksState } from './types';
|
import { StaticNetworksState } from './types';
|
||||||
@ -541,6 +542,30 @@ export const STATIC_NETWORKS_INITIAL_STATE: StaticNetworksState = {
|
|||||||
max: 60,
|
max: 60,
|
||||||
initial: 20
|
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',
|
service: 'ethersocial.org',
|
||||||
url: 'https://api.esn.gonspool.com'
|
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'
|
||||||
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
3
shared/types/network.d.ts
vendored
3
shared/types/network.d.ts
vendored
@ -20,7 +20,8 @@ type StaticNetworkIds =
|
|||||||
| 'GO'
|
| 'GO'
|
||||||
| 'GO_TESTNET'
|
| 'GO_TESTNET'
|
||||||
| 'EOSC'
|
| 'EOSC'
|
||||||
| 'ESN';
|
| 'ESN'
|
||||||
|
| 'AQUA';
|
||||||
|
|
||||||
export interface BlockExplorerConfig {
|
export interface BlockExplorerConfig {
|
||||||
name: string;
|
name: string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user