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

fix: generateAddressFromPubKey and tests #69

Merged
merged 45 commits into from
Nov 1, 2023

Conversation

ieow
Copy link
Contributor

@ieow ieow commented Oct 6, 2023

Removes a lot of unused and redundant code.
Fixes private key generation.
Fixes generating Ethereum addresses.
Properly serializes public key using secp256k1 library instead of helpers.
Sorts json keys for signature verification on server.
Removes unnecessary complexity from tests.
Updates test values from torus;.js
Adds missing else case where enableOneKey is true and typeOfUser is v1.
Consolidates secp256k1 implementations.
etc.

@matthiasgeihs
Copy link
Member

Closes #62

Copy link
Contributor Author

@ieow ieow left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@himanshuchawla009 himanshuchawla009 left a comment

Choose a reason for hiding this comment

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

lgtm

Sources/TorusUtils/DataModels.swift Show resolved Hide resolved
Sources/TorusUtils/DataModels.swift Show resolved Hide resolved
@himanshuchawla009 himanshuchawla009 merged commit e5daaf9 into alpha Nov 1, 2023
1 check passed
@himanshuchawla009 himanshuchawla009 deleted the fix/computeEthAddr branch November 1, 2023 11:09
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

Successfully merging this pull request may close these issues.

4 participants