Interface SetSignerParams

Hierarchy

Properties

novaPhrase?: string

A string representing a wallet's secret phrase for use with the novaProvider, to instantiate the novaSigner. Ignored if novaPrivateKey or novaSigner is provided.

novaPrivateKey?: string

A string representing a wallet's private key for use with the novaProvider, to instantiate the novaSigner. Ignored if novaSigner is provided.

novaSigner?: Signer

An ethers.js signer instance for transacting with the orderbook contract. If no novaSigner, novaPrivateKey, or novaPhrase is provided, the novaProvider's default signer will be used.

Default Value

Premia.novaProvider.getSigner

phrase?: string

A string representing a wallet's secret phrase for use with the provider, to instantiate the signer. Ignored if privateKey or signer is provided.

privateKey?: string

A string representing a wallet's private key for use with the provider, to instantiate the signer. Ignored if signer is provided.

signer?: Signer

An ethers.js signer instance for transacting with the main exchange contracts. If no signer, privateKey, or phrase is provided, the provider's default signer will be used.

Default Value

Premia.provider.getSigner

Generated using TypeDoc