Class: WalletValidator::Ltc

Inherits:
Btc
  • Object
show all
Defined in:
lib/wallet_validator/ltc.rb

Constant Summary collapse

CURRENCY_ATTR =
{
  "main" => {
    "filter" => "LM3",
    "addrv" => %w[30 32 05],
    "bech32" => {
      "hrp" => "ltc",
      "separator" => "1"
    },
  },
  "testnet" => {
    "filter" => "Qmn", # mtmyVwSgiWByBaVYigmHyWFBugvsHT2ccM , n2dqkKbeVfY15GDM84Kb19KUSmNScSyKd3 , tltc1q7aqycqhe5vcsuau5u4w79zz79eladj893dlstn , QdCdgLrtMB5ssEt17xg5AfdCffpimhFPoN
    "addrv" => %w[6f 3a],
    "bech32" => {
      "hrp" => "tltc",
      "separator" => "1"
    }
  }
}.freeze

Constants inherited from Btc

Btc::ALPHA

Instance Attribute Summary collapse

Attributes inherited from Btc

#is_testnet

Method Summary

Methods inherited from Btc

#initialize, #valid?

Constructor Details

This class inherits a constructor from WalletValidator::Btc

Instance Attribute Details

#addressObject (readonly)

Returns the value of attribute address.



4
5
6
# File 'lib/wallet_validator/ltc.rb', line 4

def address
  @address
end