Static
decodeThe BTC1 DID to be parsed
The parsed identifier components. See DidComponents for details.
Static
encodeImplements 3.2 did:btc1 Identifier Encoding.
A did:btc1 DID consists of a did:btc1 prefix, followed by an id-bech32 value, which is a Bech32m encoding of:
See CreateIdentifierParams for details.
Public key or an intermediate document bytes.
Identifier type (key or external).
Bitcoin network name.
Identifier version.
The new did:btc1 identifier.
Implements 3.3 did:btc1 Identifier Decoding.