We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the reference formulas in
garaga/hydra/garaga/definitions.py
Lines 196 to 221 in 7e16413
implement in tools/garaga-rs/definitions.rs the two conversion function
tools/garaga-rs/definitions.rs
to_weirstrass(x:X25519PrimeField, y: X25519PrimeField)- > (X25519PrimeField, X25519PrimeField)
to_twisted(x:X25519PrimeField, y:X25519PrimeField) -> (X25519PrimeField, X25519PrimeField)
Test them simply similarly to
garaga/tests/hydra/test_g1_point.py
Lines 16 to 26 in 7e16413
Then, create a wasm binding for it and add it to the npm package.
The text was updated successfully, but these errors were encountered:
luiz-lvj
No branches or pull requests
Using the reference formulas in
garaga/hydra/garaga/definitions.py
Lines 196 to 221 in 7e16413
implement in
tools/garaga-rs/definitions.rs
the two conversion functionto_weirstrass(x:X25519PrimeField, y: X25519PrimeField)- > (X25519PrimeField, X25519PrimeField)
to_twisted(x:X25519PrimeField, y:X25519PrimeField) -> (X25519PrimeField, X25519PrimeField)
Test them simply similarly to
garaga/tests/hydra/test_g1_point.py
Lines 16 to 26 in 7e16413
Then, create a wasm binding for it and add it to the npm package.
The text was updated successfully, but these errors were encountered: