Interface: Web3AuthLike
Defined in: packages/signers/src/social/web3auth.ts:12 Structural surface the default provider needs from the web3auth SDK. The real@web3auth/single-factor-auth surface is mapped onto this by the loader. The PRIVATE
key stays inside web3auth’s secure context - signEd25519 is the only signing
capability that crosses this boundary.
Methods
login()
login(Defined in: packages/signers/src/social/web3auth.ts:14 Run OAuth (the popup) and resolve the OIDC idToken + the derived ed25519 public key (hex).opts):Promise<{ed25519PublicKeyHex:string;idToken:string; }>
Parameters
opts
clientId
string
loginParams?
Record<string, unknown>
network
Network
Returns
Promise<{ ed25519PublicKeyHex: string; idToken: string; }>
signEd25519()
signEd25519(Defined in: packages/signers/src/social/web3auth.ts:20 ed25519-sign a 32-byte digest with the logged-in key, returning the raw 64-byte signature.digest):Promise<Uint8Array<ArrayBufferLike>>
Parameters
digest
Uint8Array
Returns
Promise<Uint8Array<ArrayBufferLike>>
