DePayFi / web3-mock

🤡 JavaScript library to mock web3 responses either by emulating web3 wallets or web3 RPC requests.
https://depay.com
MIT License
87 stars 20 forks source link

Support for signTypedData #8

Closed dmlayton closed 2 years ago

dmlayton commented 2 years ago

Thanks for this project! I'm trying to write cypress tests and Metamask was being a pain.

I'm getting Web3Mock request: Unknown request method eth_signTypedData_v4! looks like it's just not a supported case

10xSebastian commented 2 years ago

Hi there, and thanks for using web3-mock 🎉

Correct, we don't support signatures for structured data, yet.

Feel free to add it or to fund it via https://gitcoin.co 🙏

dmlayton commented 2 years ago

Pull request #9

dmlayton commented 2 years ago

Created a new pull request #10 with the requested documentation and test.

10xSebastian commented 2 years ago

https://github.com/DePayFi/web3-mock/releases/tag/v11.1.0