Skip to content

Braavos address fails the validateChecksumAddress #1031

@schwepps

Description

@schwepps

Describe the bug
When I want to validate a Braavos address with the validateChecksumAddress function, it returns false.

To Reproduce
Copy and paste a Braavos address and use validateChecksumAddress(address)

Expected behavior
It returns true

Screenshots
n/a

Desktop (please complete the following information):

  • Browser & version: Chrome
  • Node version: 18.0.0
  • Starknet.js version: 5.24.3
  • Network: mainnet

Additional context
It's working with Argent address when you copy paste from wallet.
It's not working with Braavos because the address is full lowercase and to not pass the getChecksumAddress validation.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions