Class: Bech32::SegwitAddr

Inherits:
Object
  • Object
show all
Defined in:
lib/block_io/extended_bitcoinrb.rb

Overview

override so we can parse non-Bitcoin Bech32 addresses

Constant Summary collapse

VALID_HRPS =
['bc', 'ltc', 'tb', 'tltc', 'doge', 'tdge'].inject({}){|h,v| h[v] = true; h}