• Given a string, determines which autoshard index to use for its pubsub topic. Based on the algorithm described in the RFC: https://rfc.vac.dev/spec/51//#algorithm

    Parameters

    • contentTopic: string
    • Optional networkShards: number

    Returns number

Generated using TypeDoc