Home > Blockchain >  The ETH wallet address validation
The ETH wallet address validation

Time:09-16

Check the data is limited, useful Java implementation through this part of the bosses, communication, have the code can worship so much the better

CodePudding user response:

1. 0 x beginning

CodePudding user response:

1. 0 x start
2. Followed by 40 hexadecimal characters
3. Reference EIP55 added checksum check
(1) remove the 0 x, converted to lower-case
(2) calculate the hash value keccak256, hash into hexadecimal characters
(3), respectively, compared the hash and address 0 to 39 in the table below the hexadecimal characters, after the hash character to a decimal number, less than 7, the address corresponding to the table below to lowercase characters, otherwise to uppercase

CodePudding user response:

Already done, thank you!

CodePudding user response:

How to do ah? Is upstairs said the idea?
The building Lord, fix the knot to stick! ^_^

CodePudding user response:

On the second floor of the method
  • Related