Web3auth Signer
Web3AuthSigner
is a signer implementation which extends SmartAccountAuthenticator
to leverage the web3auth web modal SDK. It supports features such as authentication, message and typed data signing, and authentication details retrieval.
Web3AuthSigner
provides implementations for all methods on SmartAccountAuthenticator
:
authenticate
-- supports user authentication.getAddress
-- gets the address of the smart contract account's connected EOA signer account.signMessage
-- supports message signatures.signTypedData
-- supports typed data signatures.getAuthDetails
-- supports authentication details retrieval.
Install Dependencies
Web3AuthSigner
requires installation of the @web3auth/modal
and @web3auth/base
SDKs. aa-signers
lists them as optional dependencies.
npm
npm i -s @web3auth/modal
npm i -s @web3auth/base