LayerZero-Labs/sdk

Feat: explicitly state validation checksum used

sambacha opened this issue · 0 comments

export function validateAndParseAddress(address: string): string {

There are two EIPs specifying checksumming addresses EIP55 and https://eips.ethereum.org/EIPS/eip-1191

1191 uses chainId as an additional encoding parameter meaning that addresses using this checksum are chain specific