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

feat: eth_signTransaction and personal_sign components #125

Merged
merged 25 commits into from
May 23, 2024

Conversation

JeneaVranceanu
Copy link
Member

@JeneaVranceanu JeneaVranceanu commented Aug 23, 2023

https://app.clickup.com/t/86byuf8j1

Added support for eth_signTransaction and personal_sign.

  • personal_sign and eth_sign are now one component. The returned value must be the same as for eth_sign.
  • eth_signTransaction - visually it's a combination of eth_sendTransaction and eth_sign. This component sends a transaction to sign and allows for:
    • signer address recovery (same as eth_sign component);
    • signature validation through EIP1271.isValidSignature (same as eth_sign component);
    • checking if the signer has SIGN permission (just decided to add);
eth-sign.mov

@JeneaVranceanu JeneaVranceanu added the enhancement New feature or request label Aug 23, 2023
@JeneaVranceanu JeneaVranceanu self-assigned this Aug 23, 2023
* main:
  fix: Jest
  fix: Default to zero value for sample transactions
  fix: Repair jest
  fix: Allow methods without param. Configure error tests. Repair saving of transactions
  fix: Quick patch for 0 arguments

# Conflicts:
#	src/components/endpoints/SendTransaction.vue
@richtera
Copy link
Contributor

Curious but should we upgrade the sign with ethereum stuff? I had looked at that before but it seemed to not match signatures somewhere

@JeneaVranceanu
Copy link
Member Author

it seemed to not match signatures somewhere

@richtera If so then we need to update it. I'll open a separate task to double-check that SIWE implementation matches the standard.

@github-actions
Copy link

github-actions bot commented Aug 24, 2023

Deployed with Cloudflare Pages ☁️ 🚀 🆗

@JeneaVranceanu
Copy link
Member Author

Sorry for the long waiting. Had more issues with tests.
Now it's fixed and ready to be re-reviewed and potentially merged.

Copy link
Contributor

@dzbo dzbo left a comment

Choose a reason for hiding this comment

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

Sign and Personal Signare very similar, can we merge it into one? Just add another checkbox underSign in with Ethereum`.

src/views/Home.vue Outdated Show resolved Hide resolved
@JeneaVranceanu
Copy link
Member Author

Sign and Personal Signare very similar, can we merge it into one? Just add another checkbox underSign in with Ethereum`.

I'll need to re-review this PR but yes, we can merge them into one.

@Hugoo
Copy link
Contributor

Hugoo commented Apr 16, 2024

I guess this is stale - shall we close this one? @JeneaVranceanu

@JeneaVranceanu
Copy link
Member Author

I guess this is stale - shall we close this one? @JeneaVranceanu

I'll check and let you know.

Copy link
Contributor

@richtera richtera left a comment

Choose a reason for hiding this comment

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

This looks ok, but it's only logging things?

@franckwei
Copy link
Contributor

@JeneaVranceanu FYI this PR has been opened since last summer, should we merge?

@JeneaVranceanu
Copy link
Member Author

@JeneaVranceanu FYI this PR has been opened since last summer, should we merge?

I'm moving the task to testing.
I think we will merge tomorrow.
It's kind of the lowest priority 😅

@jnorbert jnorbert merged commit d71ada6 into main May 23, 2024
1 check passed
@jnorbert jnorbert deleted the feat/sign-components branch May 23, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

6 participants