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

Sign Function on Web throws / errors #253

Closed
benschac opened this issue Nov 20, 2023 · 3 comments
Closed

Sign Function on Web throws / errors #253

benschac opened this issue Nov 20, 2023 · 3 comments

Comments

@benschac
Copy link

client PR: https://github.com/entropyxyz/entropy-client/pull/138

repo:
Screenshot 2023-11-20 at 1 11 38 PM

  • setup local chain with funded account
  • click sign tx function

chachapoly isn't exporting js.
Screenshot 2023-11-20 at 1 12 50 PM

tagging @ameba23 for visibility as well.

@ameba23
Copy link
Contributor

ameba23 commented Nov 28, 2023

I'm not sure but i think this comes from use x25519chacha20poly1305's from_hex function with a string which is not valid hex.

The latest version of x25519chacha20poly1305 (v0.2.0) will throw a JS error rather than giving you some cryptic message like this, so try using that to see if that is the problem.

@jawndiego 's branch sandbox_v2 uses that updated version - so try on that branch and see what you get.

@benschac
Copy link
Author

benschac commented Nov 28, 2023 via email

@frankiebee
Copy link
Collaborator

look for next release. we mentioned in sync on Monday @benschac that its on it's way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants