Capsule Signer
CapsuleSigner
is a signer implementation which extends SmartAccountAuthenticator
to leverage the Capsule SDK. It supports features such as authentication, message and typed data signing, and authentication details retrieval.
CapsuleSigner
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
CapsuleSigner
requires installation of the @usecapsule/web-sdk
SDK. aa-signers
lists it as an optional dependency.
npm
npm i -s @usecapsule/web-sdk