2023-10-10 15:58:46 +00:00
|
|
|
// App
|
|
|
|
export const apiKey = '1730eff0-9d50-4382-a3fe-89f0d34a2070'
|
|
|
|
const INFURA_KEY = 'f25e905e25a545dcaad2c939530b91db'
|
|
|
|
const rpcUrl = `https://mainnet.infura.io/v3/${INFURA_KEY}`
|
|
|
|
export const wcV2InitOptions = {
|
2023-10-10 20:09:06 +00:00
|
|
|
projectId: '4f6c353926c22973029147b9d85c4485',
|
2023-10-10 15:58:46 +00:00
|
|
|
requiredChains: [1, 56],
|
2023-10-10 20:09:06 +00:00
|
|
|
dappUrl: 'http://localhost:5173/',
|
2023-10-10 15:58:46 +00:00
|
|
|
}
|
|
|
|
export const ethereumRopsten = {
|
|
|
|
id: '0x3',
|
|
|
|
token: 'rETH',
|
|
|
|
label: 'Ethereum Ropsten',
|
|
|
|
rpcUrl,
|
|
|
|
}
|
|
|
|
|
|
|
|
// Device Health Check
|
2023-08-09 07:26:00 +00:00
|
|
|
export const GOOD_STORAGE_TEXT =
|
|
|
|
'You have plenty of storage available for additional node services.'
|
2023-08-09 08:26:50 +00:00
|
|
|
export const GOOD_CPU_CLOCK_RATE_TEXT = '2.4GHz is recommended for CPU.'
|
2023-08-09 07:26:00 +00:00
|
|
|
export const GOOD_RAM_MEMORY_TEXT = 'There is sufficient RAM required for selected services.'
|
|
|
|
export const GOOD_NETWORK_TEXT = 'Network Latency is low.'
|
2023-08-09 07:20:39 +00:00
|
|
|
export const BAD_STORAGE_TEXT =
|
|
|
|
'Your storage is running low as required for additional node services.'
|
2023-08-09 07:26:00 +00:00
|
|
|
export const BAD_CPU_CLOCK_RATE_TEXT = 'Your CPU clock rate is below the recommended 2.4GHz.'
|
|
|
|
export const BAD_RAM_MEMORY_TEXT = 'There is insufficient RAM required for selected services.'
|
|
|
|
export const BAD_NETWORK_TEXT = 'Network Latency is high.'
|
2023-08-29 06:26:24 +00:00
|
|
|
|
2023-10-10 15:58:46 +00:00
|
|
|
// Validator Onboarding
|
2023-08-30 07:10:53 +00:00
|
|
|
export const KEYSTORE_FILES = 'KeystoreFiles'
|
2023-08-29 06:26:24 +00:00
|
|
|
export const RECOVERY_PHRASE = 'Recovery Phrase'
|
2023-08-30 07:10:53 +00:00
|
|
|
export const BOTH_KEY_AND_RECOVERY = 'Both KeystoreFiles & Recovery Phrase'
|
2023-09-26 18:41:14 +00:00
|
|
|
export const ETH_PER_VALIDATOR = 32
|
2023-10-23 17:35:01 +00:00
|
|
|
|
2023-10-23 17:37:59 +00:00
|
|
|
export const MAC = 'MacOS'
|
2023-10-23 16:04:22 +00:00
|
|
|
export const WINDOWS = 'Windows'
|
|
|
|
export const LINUX = 'Linux'
|
2023-09-26 18:41:14 +00:00
|
|
|
|
|
|
|
// for now, this will be constant values
|
2023-09-27 16:55:24 +00:00
|
|
|
export const CURRENCIES = {
|
|
|
|
USD: 1583.42,
|
|
|
|
EUR: 1323.61,
|
|
|
|
}
|
2023-09-27 13:30:56 +00:00
|
|
|
export const DEPOSIT_SUBTITLE = 'Connect you Wallet to stake required ETH for new validators'
|
2023-09-27 14:49:20 +00:00
|
|
|
export const CLIENT_SETUP_SUBTITLE = 'How many Validators would you like to run?'
|
2023-10-24 03:59:22 +00:00
|
|
|
|
|
|
|
// Dashboard
|
2023-09-15 17:48:36 +00:00
|
|
|
export const years = [
|
|
|
|
'JAN',
|
|
|
|
'FEB',
|
|
|
|
'MAR',
|
|
|
|
'APR',
|
|
|
|
'MAY',
|
|
|
|
'JUN',
|
|
|
|
'JUL',
|
|
|
|
'AUG',
|
|
|
|
'SEPT',
|
|
|
|
'OCT',
|
|
|
|
'NOV',
|
|
|
|
'DEC',
|
|
|
|
]
|
2023-11-20 15:58:47 +00:00
|
|
|
export const VALIDATOR_TABS_RIGHT_SIDEBAR = ['Active', 'Pending', 'Inactive']
|
2023-11-13 22:56:41 +00:00
|
|
|
|
|
|
|
// Validator Management
|
2023-11-20 15:58:47 +00:00
|
|
|
export const VALIDATOR_TABS_MANAGEMENT = [
|
|
|
|
'Active',
|
|
|
|
'Pending',
|
|
|
|
'Inactive',
|
|
|
|
'Exited',
|
|
|
|
'Withdraw',
|
|
|
|
'All',
|
|
|
|
]
|
2023-11-15 20:42:30 +00:00
|
|
|
|
|
|
|
export const VALIDATORS_DATA = [
|
|
|
|
{
|
|
|
|
number: 1,
|
|
|
|
address: 'zQ3asdf9d4Gs0',
|
2023-11-15 20:50:08 +00:00
|
|
|
balance: 32.0786,
|
|
|
|
income: 0.0786,
|
|
|
|
proposals: '1/102',
|
|
|
|
attestations: '1/102',
|
|
|
|
effectiveness: 98,
|
2023-11-15 20:42:30 +00:00
|
|
|
status: 'Active',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
number: 1,
|
|
|
|
address: 'zQ3asdf9d4Gs0',
|
2023-11-15 20:50:08 +00:00
|
|
|
balance: 32.0786,
|
|
|
|
income: 0.0786,
|
|
|
|
proposals: '1/102',
|
|
|
|
attestations: '1/102',
|
|
|
|
effectiveness: 98,
|
2023-11-15 20:42:30 +00:00
|
|
|
status: 'Active',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
number: 1,
|
|
|
|
address: 'zQ3asdf9d4Gs0',
|
2023-11-15 20:50:08 +00:00
|
|
|
balance: 32.0786,
|
|
|
|
income: 0.0786,
|
|
|
|
proposals: '1/102',
|
|
|
|
attestations: '1/102',
|
|
|
|
effectiveness: 98,
|
2023-11-15 20:42:30 +00:00
|
|
|
status: 'Active',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
number: 1,
|
|
|
|
address: 'zQ3asdf9d4Gs0',
|
2023-11-15 20:50:08 +00:00
|
|
|
balance: 32.0786,
|
|
|
|
income: 0.0786,
|
|
|
|
proposals: '1/102',
|
|
|
|
attestations: '1/102',
|
|
|
|
effectiveness: 98,
|
2023-11-15 20:42:30 +00:00
|
|
|
status: 'Active',
|
|
|
|
},
|
|
|
|
]
|