Setting up the bridging UI
import { ChainMap, ChainMetadata } from '@hyperlane-xyz/sdk';
export const chains: ChainMap<ChainMetadata> = {
// ----------- Add your chains here -----------------
sepolia: {
name: 'sepolia',
chainId: 11155111,
nativeToken: {
name: 'ether',
symbol: 'ETH',
decimals: 18,
},
publicRpcUrls: [
{
http: 'https://eth-sepolia.g.alchemy.com/v2/apikey',
},
],
},
testnet: {
name: 'testnet',
chainId: 9997,
nativeToken: {
name: 'ALT',
symbol: 'ALT',
decimals: 18,
},
publicRpcUrls: [
{
http: 'https://testnet-rollup-api.altlayer.io',
},
],
},
};
Last updated