Optional orderbookOptional orderbookA string representing a wallet's private key for use with the orderbookProvider,
to instantiate the orderbookSigner. Ignored if orderbookSigner is provided.
Optional orderbookAn 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.
Premia.orderbookProvider.getSigner
Optional phraseA string representing a wallet's secret phrase for use with the provider,
to instantiate the signer. Ignored if privateKey or signer is provided.
Optional privateA string representing a wallet's private key for use with the provider,
to instantiate the signer. Ignored if signer is provided.
Optional signerAn 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.
Premia.provider.getSigner
Generated using TypeDoc
A string representing a wallet's secret phrase for use with the
orderbookProvider, to instantiate theorderbookSigner. Ignored iforderbookPrivateKeyororderbookSigneris provided.