@welshare/sdk
    Preparing search index...

    Function deriveStorageKeypair

    • storage key pairs are derived from the entropy of a signed EIP-712 message by the main wallet

      Parameters

      • signFnAsync: (params: Record<string, unknown>) => Promise<`0x${string}`>

        a function that signs a record of data with the main wallet

      • signerAccount: `0x${string}`

        the Ethereum address of the main wallet

      Returns Promise<SessionKeyData>

      a SessionKeyData object containing the derived key pair and the authorization proof