Skip to main content
Version: 0.4.9

wallet.hotsinglewallet._constructor_

Home > @blaze-cardano/wallet > HotSingleWallet > (constructor)

HotSingleWallet.(constructor)

Constructs a new instance of the HotSingleWallet class.

Signature:

constructor(paymentSigningKey: Ed25519PrivateNormalKeyHex, networkId: NetworkId, provider: Provider, stakeSigningKey?: Ed25519PrivateNormalKeyHex);

Parameters

Parameter

Type

Description

paymentSigningKey

Ed25519PrivateNormalKeyHex

networkId

NetworkId

The network ID for the wallet.

provider

Provider

The provider for the wallet.

stakeSigningKey

Ed25519PrivateNormalKeyHex

(Optional) An optional private signing key for the delegation part of the wallet. If not provided, the wallet will have an enterprise address.