Interface SetSignerParams

Hierarchy

Properties

orderbookPhrase?: string

A string representing a wallet's secret phrase for use with the orderbookProvider, to instantiate the orderbookSigner. Ignored if orderbookPrivateKey or orderbookSigner is provided.

orderbookPrivateKey?: string

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

orderbookSigner?: Signer

An ethers.js signer instance for transacting with the orderbook contract. If no orderbookSigner, orderbookPrivateKey, or orderbookPhrase is provided, the orderbookProvider's default signer will be used.

Default Value

Premia.orderbookProvider.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