ADAByronAddress constructor
ADAByronAddress(
- String address, {
- ADANetwork? network,
Factory constructor to create an ADAByronAddress instance from a given address string.
Implementation
factory ADAByronAddress(String address, {ADANetwork? network}) {
final decode = AdaAddressUtils.decodeAddres(address,
addrType: ADAAddressType.byron, network: network);
return ADAByronAddress._(decode.byronAddrPayload!.encode(),
decode.byronAddrPayload!, decode.network);
}