PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/viem/chains/definitions

Просмотр файла: corn.ts

import { defineChain } from '../../utils/chain/defineChain.js'

const sourceId = 1 // mainnet

export const corn = /*#__PURE__*/ defineChain({
  id: 21_000_000,
  name: 'Corn',
  nativeCurrency: {
    decimals: 18,
    name: 'Bitcorn',
    symbol: 'BTCN',
  },
  rpcUrls: {
    default: { http: ['https://21000000.rpc.thirdweb.com'] },
  },
  blockExplorers: {
    default: {
      name: 'Corn Explorer',
      url: 'https://cornscan.io',
      apiUrl:
        'https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api',
    },
  },
  contracts: {
    multicall3: {
      address: '0xcA11bde05977b3631167028862bE2a173976CA11',
      blockCreated: 3228,
    },
  },
  sourceId,
})

Выполнить команду


Для локальной разработки. Не используйте в интернете!