• Registers a CBOR encoder for the CborContractAddress type with the cbor2 library. This allows CborContractAddress instances to be automatically encoded when used with the cbor2 library's encode function.

    Returns

    Example

    // Register the encoder
    registerCBOREncoder();
    // Now CborContractAddress instances can be encoded directly
    const encoded = encode(myCborContractAddress);

    Returns void

Generated using TypeDoc