Skip to content

Instantly share code, notes, and snippets.

@jafri
Created October 13, 2019 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jafri/9ff87249ddc2c480658019efaba64654 to your computer and use it in GitHub Desktop.
Save jafri/9ff87249ddc2c480658019efaba64654 to your computer and use it in GitHub Desktop.
const DEFAULT_ENDPOINTS = [
'https://eos.greymass.com',
'https://api.eosrio.io',
'https://eos.eoscafeblock.com'
]
const ACTIONS_ENDPOINTS = [
'https://eos.greymass.com',
'https://api.eossweden.org',
'https://api.eosrio.io'
]
const TRANSACTIONS_ENDPOINTS = [
'https://eos.greymass.com',
'https://api.eossweden.org',
'https://api.eosrio.io'
]
const PROVIDER_ENDPOINTS = [{
chainId: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906',
port: 443,
protocol: 'https',
host: 'eos.greymass.com',
httpEndpoint: 'https://eos.greymass.com',
blockchain: 'eos'
}]
const IMAGE_PROXY = 'https://www.api.bloks.io/image-proxy'
const API_URL = 'https://www.api.bloks.io'
const CORE_SYMBOL = 'EOS'
const CHAIN = 'eos' // Should be like jungle, kylin
const DFUSE_CHAIN = 'mainnet' // Should be like jungle, kylin
const DISPLAY_CHAIN = 'EOS'
const HYPERION_URL = 'https://api.eossweden.org'
const HISTORY_TYPES = ['native', 'dfuse', 'hyperion']
const LIGHT_API = 'https://api.light.xeos.me'
const CHAIN_ID = 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906'
const DOMAIN_TITLE = 'Bloks.io'
const CHAIN_START_DATE = new Date('2018-06-08')
const BLOKS_PROXY = 'bloksioproxy'
const REX_ENABLED = true
const KEY_PREFIX = 'EOS'
const VOTING_ENABLED = true
const CORE_PRECISION = 4
const ALOHA_PROXY_URL = 'https://www.alohaeos.com/vote/proxy'
export default {
DEFAULT_ENDPOINTS,
ACTIONS_ENDPOINTS,
TRANSACTIONS_ENDPOINTS,
API_URL,
BLOKS_PROXY,
IMAGE_PROXY,
PROVIDER_ENDPOINTS,
CORE_SYMBOL,
CHAIN,
DFUSE_CHAIN,
DISPLAY_CHAIN,
HISTORY_TYPES,
LIGHT_API,
CHAIN_ID,
DOMAIN_TITLE,
CHAIN_START_DATE,
HYPERION_URL,
REX_ENABLED,
KEY_PREFIX,
VOTING_ENABLED,
CORE_PRECISION,
ALOHA_PROXY_URL
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment