Function publishDraftNode

  • Publish a draft node, meaning to compile the state of the drive into an actual IPLD DAG, make the IPFS CIDs public, and register the node on the dPID registry and Codex.

    Parameters

    • uuid: string

      UUID of node to publish

    • signer: Signer

      Signer to use for publish, if not set with env

    • Optional did: DID

    Returns Promise<LegacyPublishResponse>

    Throws

    (@link WrongOwnerError) if signer address isn't research object token owner

    Throws

    (@link DpidPublishError) if dPID couldnt be registered or updated

    Depreated

    use publishNode instead, as this function uses the old on-chain registry

Generated using TypeDoc