Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
feat(auth): deprecate eip712
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Jul 4, 2024
1 parent 0d25f33 commit d3bd5d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/taco/src/conditions/context/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export class WalletAuthenticationProvider {
) {}

public async getOrCreateWalletSignature(): Promise<TypedSignature> {
console.warn(
'DeprecationWarning: The EIP712 authentication is deprecated and will be replaced ' +
'by EIP4361 authentication in the next release.'
);
const address = await this.signer.getAddress();
const storageKey = `wallet-signature-${address}`;

Expand Down

0 comments on commit d3bd5d7

Please sign in to comment.