BLOCKCHAINS = [
  {
    tag: 'btc',
    network: 'bitcoin',
    name: 'Bitcoin Mainnet',
    family: 'bitcoin',
    platform: 'Bitcoin',
    currency: 'BTC',
    icon: 'btc.svg'
  },

  {
    tag: 'ltc',
    network: 'litecoin',
    name: 'Litecoin',
    family: 'bitcoin',
    platform: 'Bitcoin',
    currency: 'LTC',
    icon: 'ltc.svg'
  },

  {
    tag: 'doge',
    network: 'dogecoin',
    name: 'Dogecoin',
    family: 'bitcoin',
    platform: 'Bitcoin',
    currency: 'DOGE',
    icon: 'doge.svg'
  },

  {
    tag: 'dash',
    network: 'dash',
    name: 'Dash',
    family: 'bitcoin',
    platform: 'Bitcoin',
    currency: 'DASH',
    icon: 'dash.svg'
  },

  {
    tag: 'eth',
    network: 'ethereum',
    name: 'Ethereum Mainnet',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'ETH',
    icon: 'eth.svg'
  },

  {
    tag: 'etc',
    network: 'ethclassic',
    name: 'Ethereum Classic',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'ETC',
    icon: 'etc.svg'

  },

  {
    tag: 'etc',
    network: 'ethclassic_reorg',
    name: 'Ethereum Classic no reorg',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'ETC',
    icon: 'etc.svg'

  },

  {
    tag: 'zcash',
    network: 'zcash',
    name: 'ZCash',
    family: 'bitcoin',
    platform: 'Bitcoin',
    currency: 'ZEC',
    icon: 'zec.svg'
  },

  {
    tag: 'bch',
    network: 'bitcash',
    name: 'Bitcoin Cash',
    family: 'bitcoin',
    platform: 'Bitcoin',
    currency: 'BCH',
    icon: 'bch.svg'
  },

  {
    tag: 'bsv',
    network: 'bitcoinsv',
    name: 'Bitcoin SV',
    family: 'bitcoin',
    platform: 'Bitcoin',
    currency: 'BSV',
    icon: 'bsv.svg'
  },

  {
    tag: 'cardano2',
    network: 'cardano',
    name: 'Cardano',
    family: 'cardano',
    platform: 'Cardano',
    currency: 'ADA',
    icon: 'ada.svg'
  },

  {
    tag: 'algorand',
    network: 'algorand',
    name: 'Algorand Mainnet',
    family: 'algorand',
    platform: 'Smart Contract',
    currency: 'ALGO',
    icon: 'currency/algo.png'

  },

  {
    tag: 'algorand_testnet',
    network: 'algorand_testnet',
    name: 'Algorand Testnet',
    family: 'algorand',
    platform: 'Testnet',
    currency: 'ALGO',
    icon: 'currency/algo.png'

  },

  {
    tag: 'algorand_betanet',
    network: 'algorand_betanet',
    name: 'Algorand Betanet',
    family: 'algorand',
    platform: 'Testnet',
    currency: 'ALGO',
    icon: 'currency/algo.png'

  },

  {
    tag: 'binance',
    network: 'binance',
    name: 'Binance DEX',
    family: 'binance',
    platform: 'Cosmos',
    currency: 'BNB',
    icon: 'bnb.svg'

  },

  {
    tag: 'alfajores',
    network: 'celo_alfajores',
    name: 'Celo Alfajores Testnet',
    family: 'ethereum',
    platform: 'Testnet',
    currency: 'cGLD',
    icon: 'currency/celo.png',
    start: Date.parse('2020-04-10')
  },

  {
    tag: 'bsc_testnet',
    network: 'bsc_testnet',
    name: 'Binance Smart Chain Testnet',
    family: 'ethereum',
    platform: 'Testnet',
    currency: 'BNB',
    icon: 'bnb.svg',
    start: Date.parse('2020-04-20')
  },

  {
    tag: 'bsc',
    network: 'bsc',
    name: 'Binance Smart Chain Mainnet',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'BNB',
    icon: 'bnb.svg',
    start: Date.parse('2020-08-29')
  },

  {
    tag: 'goerli',
    network: 'goerli',
    name: 'Goerli Ethereum Testnet',
    family: 'ethereum',
    platform: 'Testnet',
    currency: 'GTH',
    icon: 'eth.svg',
    start: Date.parse('2019-01-30')
  },

  {
    tag: 'baklava',
    network: 'celo_baklava',
    name: 'Celo Baklava Testnet',
    family: 'ethereum',
    platform: 'Testnet',
    currency: 'cGLD',
    icon: 'currency/celo.png',
    start: Date.parse('2020-04-07')
  },

  {
    tag: 'celo',
    network: 'celo_rc1',
    name: 'Celo Mainnet',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'cGLD',
    icon: 'currency/celo.png',
    start: Date.parse('2020-04-22')
  },

  {
    tag: 'conflux_tethys',
    network: 'conflux_tethys',
    name: 'Conflux Tethys',
    family: 'conflux',
    platform: 'Smart Contract',
    currency: 'CFX',
    icon: 'currency/conflux.png'
  },

  {
    tag: 'conflux_oceanus',
    network: 'conflux_oceanus',
    name: 'Conflux Oceanus',
    family: 'conflux',
    platform: 'Testnet',
    currency: 'CFX',
    icon: 'currency/conflux.png'
  },
  {
    tag: 'diem',
    network: 'diem_testnet',
    name: 'Diem Testnet',
    family: 'diem',
    platform: 'Diem',
    currency: 'Diem',
    icon: 'currency/libra.png'
  },
  {
    tag: 'libra',
    network: 'libra_testnet',
    name: 'Libra Testnet',
    family: 'diem',
    platform: 'Diem',
    currency: 'LBR',
    icon: 'currency/libra.png'
  },
  {
    tag: 'hedera',
    network: 'hedera',
    name: 'Hedera Hashgraph Mainnet',
    family: 'hedera',
    platform: 'Graph',
    currency: 'HBAR',
    icon: 'currency/hedera-hashgraph.svg'
  },
  {
    tag: 'eos',
    network: 'eos',
    name: 'EOS Mainnet',
    family: 'eos',
    platform: 'Smart Contract',
    currency: 'eosio.token',
    icon: 'eos.svg'
  },
  {
    tag: 'tron',
    network: 'tron',
    name: 'TRON Mainnet',
    family: 'tron',
    platform: 'Smart Contract',
    currency: 'TRX',
    icon: 'trx.svg'
  },
  {
    tag: 'solana',
    network: 'solana',
    name: 'Solana Mainnet',
    family: 'solana',
    platform: 'Smart Contract',
    currency: 'SOL',
    icon: 'sol.svg',
    start: Date.parse('2021-01-01')
  },
  {
    tag: 'medalla',
    network: 'medalla',
    name: 'Medalla Eth 2.0 Testnet',
    family: 'ethereum2',
    platform: 'Testnet',
    currency: 'ETH',
    icon: 'eth.svg',
    start: Date.parse('2020-08-03')
  },
  {
    tag: 'eth2',
    network: 'eth2',
    name: 'Beacon Chain Ethereum 2.0',
    family: 'ethereum2',
    platform: 'Beacon',
    currency: 'ETH',
    icon: 'eth.svg',
    start: Date.parse('2020-12-01')
  },
  {
    tag: 'filecoin',
    network: 'filecoin',
    name: 'Filecoin Mainnet',
    family: 'filecoin',
    platform: 'Utility',
    currency: 'FIL',
    icon: 'currency/fil.svg'

  },
  {
    tag: 'matic',
    network: 'matic',
    name: 'Matic (Polygon) Mainnet',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'MATIC',
    icon: 'matic.svg',
    start: Date.parse('2020-05-30')
  },
  {
    tag: 'velas',
    network: 'velas',
    name: 'Velas Mainnet',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'VLX',
    icon: 'currency/velas.png',
    start: Date.parse('2021-04-19')
  },
  {
    tag: 'velas_testnet',
    network: 'velas_testnet',
    name: 'Velas Testnet',
    family: 'ethereum',
    platform: 'Testnet',
    currency: 'VLX',
    icon: 'currency/velas.png',
    start: Date.parse('2021-04-12')
  },
  {
    tag: 'klaytn',
    network: 'klaytn',
    name: 'Klaytn Mainnet',
    family: 'ethereum',
    platform: 'Smart Contract',
    currency: 'KLAY',
    icon: 'currency/klaytn.png',
    start: Date.parse('2019-06-25')
  },
  {
    tag: 'elrond',
    network: 'elrond',
    name: 'Elrond Mainnet',
    family: 'elrond',
    platform: 'Smart Contract',
    currency: 'EGLD',
    icon: 'currency/elrond-egld.svg'
  }
]

BLOCKCHAIN_BY_NAME = BLOCKCHAINS.index_by { |b| b[:network] }
