How can I validate that an XRP address is valid?

0

An address like rhe8v7GW1jj4qTXsLF9fwFrum9oQD5VXG7 - how do I know if it's valid in the XRP network?

Shamoon

Posted 2018-05-14T18:01:10.687

Reputation: 2 689

1https://bithomp.com/explorer/Daniel Nugent 2018-05-14T18:04:41.487

Answers

1

Ripple addresses, like Bitcoin and most other currencies, are Base58Check encoded. As long as an address validates against the base58check algo, it is a valid address on the ripple network.

Do note that it is possible to generate valid addresses without knowing their corresponding private key. You should take steps to ensure you have the private key for an address before sending funds to it.

Raghav Sood

Posted 2018-05-14T18:01:10.687

Reputation: 10 897

it's not true. For istance, valid XRP address r9hEDb4xBGRfBCcX3E4FirDWQBAYtpxC8K is not base58 encodedmagmel 2019-05-23T16:06:42.610

XRP uses a different base58 dictionary from Bitcoin: rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz - The algorithm is still Base58Check.Raghav Sood 2019-05-23T22:14:29.013