Class: WalletValidator::Ada
Constant Summary collapse
- CURRENCY_ATTR =
{ "main" => { "bech32" => { "hrp" => "addr", "separator" => "1" }, }, "testnet" => { "bech32" => { "hrp" => "addr_test", # hrp "separator" => "1", # separator } } }.freeze
Constants inherited from Btc
Instance Attribute Summary
Attributes inherited from Btc
Instance Method Summary collapse
Methods inherited from Btc
Constructor Details
This class inherits a constructor from WalletValidator::Btc
Instance Method Details
#valid? ⇒ Boolean
18 19 20 |
# File 'lib/wallet_validator/ada.rb', line 18 def valid? valid_address_v1? || valid_address_shelley? end |