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

[feat] Generate Keypair and deploy account #43

Open
drspacemn opened this issue Aug 16, 2024 · 5 comments
Open

[feat] Generate Keypair and deploy account #43

drspacemn opened this issue Aug 16, 2024 · 5 comments
Assignees

Comments

@drspacemn
Copy link
Contributor

Generate a keypair to use for Starknet signatures (secp256r1?) and use as the account signing key.

References

@drspacemn drspacemn self-assigned this Aug 16, 2024
@trbutler4
Copy link
Collaborator

trbutler4 commented Aug 16, 2024

i think we should stay away from r1 (prefer k1), because of backdoor security concerns.

Here is how the StarkEx crytpo SDK implements it: https://github.com/starkware-libs/starkware-crypto-utils/blob/dev/src/js/key_derivation.ts

getKeyPairFromPath i think is specifically what function would work for us

@maxslimb
Copy link

maxslimb commented Oct 6, 2024

@trbutler4 can I work on this?

@trbutler4
Copy link
Collaborator

i think we should stay away from r1 (prefer k1), because of backdoor security concerns.

Here is how the StarkEx crytpo SDK implements it: https://github.com/starkware-libs/starkware-crypto-utils/blob/dev/src/js/key_derivation.ts

getKeyPairFromPath i think is specifically what function would work for us

disregard this

@trbutler4
Copy link
Collaborator

@trbutler4
Copy link
Collaborator

this can be used to generate the private key for now:

https://developer.android.com/reference/java/security/KeyPairGenerator

@trbutler4 trbutler4 changed the title [feat] Generate Keypair [feat] Generate Keypair and deploy account Oct 6, 2024
@trbutler4 trbutler4 assigned trbutler4 and maxslimb and unassigned trbutler4 Oct 6, 2024
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