Class: WalletValidator::Bnb
Constant Summary collapse
- CURRENCY_ATTR =
{ "main" => { "bech32" => { "hrp" => "bnb", # hrp "separator" => "1", # separator }, }, "testnet" => { "bech32" => { "hrp" => "tbnb", # hrp "separator" => "1", # separator } } }.freeze
Constants inherited from Btc
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#is_testnet ⇒ Object
readonly
Returns the value of attribute is_testnet.
Instance Method Summary collapse
Methods inherited from Btc
Constructor Details
This class inherits a constructor from WalletValidator::Btc
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
4 5 6 |
# File 'lib/wallet_validator/bnb.rb', line 4 def address @address end |
#is_testnet ⇒ Object (readonly)
Returns the value of attribute is_testnet.
4 5 6 |
# File 'lib/wallet_validator/bnb.rb', line 4 def is_testnet @is_testnet end |