Function getDidPrefix

  • Returns the did:btc method prefix for the given network

    Parameters

    • network: Network = 'mainnet'

      Either 'mainnet' or 'testnet' - testnet has an additional 'test:' prefix in the identifier. If no network is provided, defaults to 'mainnet'.

    Returns string