Skip to content

Signing-test#229

Open
cpb8010 wants to merge 5 commits intomainfrom
signing-test
Open

Signing-test#229
cpb8010 wants to merge 5 commits intomainfrom
signing-test

Conversation

@cpb8010
Copy link
Contributor

@cpb8010 cpb8010 commented Nov 19, 2025

Description

Create erc7739 examples and tests

Additional context

important wasn't included before

should avoid using auth server
odds of working in ci are less than that
@cpb8010 cpb8010 changed the base branch from demo-signing to main November 19, 2025 19:10
@cpb8010 cpb8010 requested a review from Copilot November 19, 2025 19:10
@cpb8010 cpb8010 self-assigned this Nov 19, 2025
@cpb8010 cpb8010 added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 19, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds ERC-7739 (typed data signing) examples and tests to the demo app, demonstrating how smart accounts can sign EIP-712 typed data and verify signatures on-chain via ERC-1271.

Key Changes

  • Added ERC-7739 typed data signing utilities with domain wrapping
  • Created new Vue components for typed data signing and passkey address lookup
  • Implemented deployment scripts and contract helpers for ERC-1271 verification
  • Added comprehensive E2E test for the ERC-7739 flow
  • Moved @openzeppelin/contracts from dependencies to devDependencies

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
examples/demo-app/utils/erc7739.ts New utility functions for ERC-7739 typed data signing and hashing
examples/demo-app/components/TypedDataErc7739.vue Component for signing and verifying ERC-7739 typed data
examples/demo-app/components/FindAddressesByPasskey.vue Extracted passkey address lookup into reusable component
examples/demo-app/components/DeploymentResultCard.vue Extracted deployment result display into reusable component
examples/demo-app/smart-contracts/ERC1271Caller.sol Added validation and debug helper functions
examples/demo-app/scripts/deploy-erc1271-caller.sh Deployment script for ERC1271Caller contract
examples/demo-app/tests/web-sdk-test.spec.ts E2E test for ERC-7739 signature flow
examples/demo-app/project.json New Nx tasks for ERC1271 deployment
examples/demo-app/pages/web-sdk-test.vue Refactored to use new components
examples/demo-app/package.json Moved OpenZeppelin contracts to devDependencies
examples/demo-app/foundry.toml Foundry configuration for Solidity compilation
examples/demo-app/remappings.txt Solidity import remappings
docs/sdk/client/typed-data-erc7739-demo.md Documentation for ERC-7739 demo
pnpm-lock.yaml Updated lockfile for dependency changes
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

will come back to this later
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants