Fix the optional flags in eip chain

This commit is contained in:
pranavjadhav007 2025-07-14 18:23:13 +05:30
parent a899950212
commit 47689e8834

View File

@ -11,13 +11,8 @@
export type TEIP155Chain = keyof typeof EIP155_CHAINS;
export type EIP155Chain = {
chainId?: number;
name: string;
logo?: string;
rgb?: string;
rpc: string;
namespace?: string;
smartAccountEnabled?: boolean;
};
/**
@ -25,12 +20,8 @@ export type EIP155Chain = {
*/
export const EIP155_CHAINS: Record<string, EIP155Chain> = {
'eip155:1': {
chainId: 1,
name: 'Ethereum',
logo: '/chain-logos/eip155-1.png',
rgb: '99, 125, 234',
rpc: 'https://cloudflare-eth.com/',
namespace: 'eip155',
},
// Ref: https://docs.base.org/base-chain/quickstart/connecting-to-base#base-mainnet