network prefix value to be used in address encoding.
Pattern recognizer of Pay2SHAddress.script propositions.
Pattern recognizer of Pay2SHAddress.script propositions.
If matched extracts the corresponding hash bytes as Coll[Byte]
value.
Converts the given ErgoTree to the corresponding ErgoAddress.
Converts the given ErgoTree to the corresponding ErgoAddress.
It is inverse of ErgoAddress.script such that fromProposition(addr.script) == addr
Failure(ex) if the proposition
cannot be converted to any type of address.
Converts the given Base58 string to ErgoAddress or an error packed in Try.
Returns true if the given addrHeadByte
is a header byte of a mainnet address, false otherwise.
Returns true if the given addrHeadByte
is a header byte of a testnet address, false otherwise.
network prefix value to be used in address encoding.
Converts the given ErgoAddress to Base58 string.
Network-aware encoder for ErgoAddress <-> Base58String conversions.
network prefix value to be used in address encoding.