const overrides = { METAMASK : 'MetaMask' , WALLETCONNECT : 'WalletConnect' , WALLETLINK : 'Coinbase Wallet' , GNOSIS_SAFE : 'Gnosis Safe' , } ; export function getUserFriendlyWalletName ( name ) { if ( name in overrides ) { return overrides [ name ] ; } return name ; } export function truncateAddress ( address ) { return `${ address . slice ( 0 , 8 ) }......${ address . slice ( - 4 ) }` ; }