Function to create an Address from a validator script.

  • Parameters

    • network: NetworkId

      The network ID of the Address.

    • validator: Script

      The validator script to create the Address from.

    Returns Address

    The created Address.