Hyperlane provides a bridge UI. To set up the UI, first clone the .
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',
},
],
},
};
import { WarpTokenConfig } from '../features/tokens/types';
export const tokenList: WarpTokenConfig = [
{
type: 'collateral',
chainId: 11155111,
address: '0xe67abda0d43f7ac8f37876bbf00d1dfadbb93aaa',
hypCollateralAddress: '0xffA5f94329f41b9353F4ccA74Ba59D3Faed75AAe',
name: 'Weth10',
symbol: 'WETH10',
decimals: 18,
logoURI: '/logos/weth.png', // See public/logos/
},
];
To deploy your UI, you can use hosting services like Vercel or Netlify. For Vercel, you can follow the following steps.