@avalanche-sdk/interchain
Version:
Interchain package for handling ICM/ICTT messages
31 lines (30 loc) • 870 B
text/typescript
import { defineChain } from "viem";
import { ChainConfig } from "./types/chainConfig";
export const dispatch = defineChain({
id: 779672,
name: 'Dispatch L1',
blockchainId: '0x9f3be606497285d0ffbb5ac9ba24aa60346a9b1812479ed66cb329f394a4b1c7',
nativeCurrency: {
decimals: 18,
name: 'DIS',
symbol: 'DIS',
},
rpcUrls: {
default: {
http: ['https://subnets.avax.network/dispatch/testnet/rpc'],
},
},
blockExplorers: {
default: { name: 'Dispatch Explorer', url: 'https://subnets-test.avax.network/dispatch' },
},
contracts: {
teleporterRegistry: {
address: '0x083e276d96ce818f2225d901b44e358dcfc5d606'
}
},
interchainContracts: {
teleporterRegistry: '0xF86Cb19Ad8405AEFa7d09C778215D2Cb6eBfB228',
teleporterManager: '0x253b2784c75e510dD0fF1da844684a1aC0aa5fcf',
},
testnet: true
}) as ChainConfig;