forc-wallet
forc-wallet copied to clipboard
Related to issue #216
- Added validation for Ethereum addresses using the EIP-55 checksum standard.
- Implemented the
validate_eth_addressfunction to ensure all Ethereum addresses are correctly validated before use. - Updated the
Account::newconstructor to include checksum validation logic. - Included test cases to verify the correctness of valid and invalid Ethereum addresses.
- Improved error handling for invalid addresses.
Please update the title to something meaningful and link the issue in the PR description.
Closing: Feel free to reopen here https://github.com/FuelLabs/forc if you wanted to continue with the PR.