Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ft: adding support of sign typed data along with eip 6942 #138

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

nikhilkumar1612
Copy link
Contributor

Description

  • added and tested sign typed data support along with eip 6942.

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Further comments (optional)

  • Sigature for private key injected wallet and metamask for an undeployed wallet:
Screenshot 2024-12-21 at 12 17 31 AM
  • Signature for private key injected wallet and metamask for a deployed wallet:
Screenshot 2024-12-21 at 12 15 55 AM Screenshot 2024-12-21 at 12 16 12 AM

Copy link

linear bot commented Dec 20, 2024

Copy link
Member

@ch4r10t33r ch4r10t33r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -42,7 +42,8 @@ export class WalletConnectWalletProvider extends DynamicWalletProvider {
return response || null;
}

async signTypedData(typedData: TypedDataField[], message: any, accountAddress: string): Promise<string> {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async signTypedData(typedData: MessagePayload, message: any, factoryAddress?: string, initCode?: string): Promise<string> {
throw new Error('Not supported on this provider')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls change this to a valid one you can see the modularSdk for execution

Copy link
Contributor

@vignesha22 vignesha22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nikhilkumar1612 nikhilkumar1612 merged commit d8c417a into master Dec 23, 2024
6 checks passed
@nikhilkumar1612 nikhilkumar1612 deleted the PRO-2908 branch December 23, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants