Giter Site home page Giter Site logo

Comments (9)

fabioberger avatar fabioberger commented on May 23, 2024 8

Hi Brandon,

Thanks for bringing this up. This is something we are aware of, but have decided not to change it to the web3.personal.sign implementation since it currently only supporting signing ASCII strings and would display as follows:

This is hardly an improvement over the scary message where the user can at least see the actual orderHash they are signing.

We are drafting an EIP with a proposed solution that will solve this problem. Our solution follows that discussed in these comments: ethereum/EIPs#683 (comment) AND ethereum/EIPs#683 (comment)

We want a version of web3.eth.sign that will allow signers to display the actual data the user is signing the hash of so they can actually verify the specifics of what they are signing.

from 0x-monorepo.

fabioberger avatar fabioberger commented on May 23, 2024 3

Our EIP has been received extremely well by the broader Ethereum ecosystem and we are working on getting it adopted by all major client nodes and signers.

EIP: ethereum/EIPs#712

from 0x-monorepo.

arisAlexis avatar arisAlexis commented on May 23, 2024 2

actually eth.personal.sign works fine with Metamask, thanks

from 0x-monorepo.

rawadrifai avatar rawadrifai commented on May 23, 2024

Metamask now hangs indefinitely when using web3.eth.sign.
Is this what's happening with 0x?

from 0x-monorepo.

miketeix avatar miketeix commented on May 23, 2024

Yeah same :(

from 0x-monorepo.

rawadrifai avatar rawadrifai commented on May 23, 2024

Found the solution for it! gotta use the web3.eth.sendAsync method. Metamask still doesn't support web3.eth.personal.sign. This is what we did for Taurus.io beta, which is relatively similar to 0x's concept except that it does derivatives, so contract HAVE to live on blockchain and executed later.

Web3 and Metamask just do not go well together :/

from 0x-monorepo.

fabioberger avatar fabioberger commented on May 23, 2024

Hm, it's not hanging for me... Just tested this on Portal. Could you guys provide some repro steps?

from 0x-monorepo.

arisAlexis avatar arisAlexis commented on May 23, 2024

I wish this would be opened. signing in my dapp backend server with Metamask is the obvious way otherwise you need a username and password on top. Metamask just hangs (and also displays a scary warning)

from 0x-monorepo.

fabioberger avatar fabioberger commented on May 23, 2024

@arisAlexis do you have a repro you could share?

from 0x-monorepo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.