@swapper-finance/sdk
Version:
JavaScript SDK form Swapper
107 lines (106 loc) • 2.64 kB
text/typescript
export const chains = [
{
_id: "65e6fb6a332ca66c92561432",
ecosystem: "evm",
chainId: "1",
name: "ethereum",
displayName: "Ethereum",
web3Environment: "mainnet",
transactionExplorer: "https://etherscan.io/tx",
rpcUrls: ["https://mock-rpc-url.com"],
ccipChainId: "5009297550715157269",
tokens: [
{
address: "0x0000000000000000000000000000000000000000",
symbol: "ETH",
name: "Ether",
decimals: 18,
},
{
address: "0x2c537e5624e4af88a7ae4060c022609376c8d0eb",
symbol: "TRYB",
name: "BiLira",
decimals: 6,
},
],
},
{
_id: "65e6fb6a332ca66c92561433",
ecosystem: "evm",
chainId: "10",
name: "optimism",
displayName: "Optimism",
web3Environment: "mainnet",
transactionExplorer: "https://optimistic.etherscan.io/tx",
rpcUrls: [],
ccipChainId: "3734403246176062136",
tokens: [
{
address: "0x0000000000000000000000000000000000000000",
symbol: "ETH",
name: "Ether",
decimals: 18,
},
{
address: "0x4200000000000000000000000000000000000006",
symbol: "WETH",
name: "Wrapped Ether",
decimals: 18,
},
{
address: "0x8700daec35af8ff88c16bdf0418774cb3d7599b4",
symbol: "SNX",
name: "Synthetix",
decimals: 18,
},
],
},
{
_id: "65e6fb6a332ca66c9256143b",
ecosystem: "evm",
chainId: "80001",
name: "mumbai",
displayName: "Polygon Mumbai",
web3Environment: "testnet",
transactionExplorer: "https://mumbai.polygonscan.com/tx",
ccipChainId: "12532609583862916517",
tokens: [
{
address: "0x0000000000000000000000000000000000000000",
symbol: "MATIC",
name: "MATIC",
decimals: 18,
},
{
address: "0xf1e3a5842eeef51f2967b3f05d45dd4f4205ff40",
symbol: "USDC",
name: "USD Coin",
decimals: 18,
},
],
},
{
_id: "65e6fb6a332ca66c9256143b",
ecosystem: "test-ecosystem",
chainId: "test-chainId",
name: "test-chain-name",
displayName: "Test Chain",
web3Environment: "testnet",
transactionExplorer: "https://test-tx-explorer.com",
ccipChainId: "1234567890",
tokens: [
{
address: "0x0000000000000000000000000000000000000000",
symbol: "NATIVE",
name: "Native Token",
decimals: 18,
},
{
address: "0x0000000000000000000000000000000000000001",
symbol: "TEST",
name: "Test Token",
decimals: 18,
},
],
},
];