PHP WebShell
Текущая директория: /opt/BitGoJS/modules/sdk-coin-celo/src/lib
Просмотр файла: resources.ts
import { coins, EthereumNetwork } from '@bitgo/statics';
import EthereumCommon from '@ethereumjs/common';
/**
* A Common object defining the chain and the hardfork for CELO Testnet
*/
export const testnetCommon = EthereumCommon.custom(
{
name: 'alfajores',
networkId: (coins.get('tcelo').network as EthereumNetwork).chainId,
chainId: (coins.get('tcelo').network as EthereumNetwork).chainId,
},
{ hardfork: 'london' }
);
/**
* A Common object defining the chain and the hardfork for CELO Mainnet
*/
export const mainnetCommon = EthereumCommon.custom(
{
name: 'rc1',
networkId: (coins.get('celo').network as EthereumNetwork).chainId,
chainId: (coins.get('celo').network as EthereumNetwork).chainId,
},
{ hardfork: 'london' }
);
Выполнить команду
Для локальной разработки. Не используйте в интернете!