bech32/src/segwit library

Classes

Segwit
A representation of a Segwit Bech32 address. This class can be used to obtain the scriptPubKey.
SegwitCodec
A codec which converts a Segwit class to its String representation and vice versa.
SegwitDecoder
This class converts a String to a Segwit class instance.
SegwitEncoder
This class converts a Segwit class instance to a String.
SegwitValidations
Generic validations for a Segwit class.

Constants

segwit → const SegwitCodec
An instance of the default implementation of the SegwitCodec