You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import re
def is_valid_pivx_address(address):
# Regular expression pattern for a PIVX address
pattern = r'^D[a-zA-Z0-9]{33}$'
# Check if the address matches the pattern
return re.match(pattern, address) is not None
# Test the validator
address1 = "D6fZq5sGQ5bJ5Rsz9K9u3L6p9n5YtZiPiK"
address2 = "invalid_address"
print(is_valid_pivx_address(address1)) # Should print True
print(is_valid_pivx_address(address2)) # Should print False
Dash Format Validator is invalid
And I hope make PIVX Format Validator
Thank you
The text was updated successfully, but these errors were encountered: