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

Add random key pair generation #1421

Merged
merged 12 commits into from
Aug 26, 2024
Prev Previous commit
Next Next commit
Update starknet_py/net/signer/test_key_pair.py
Co-authored-by: kkawula <57270771+kkawula@users.noreply.github.com>
  • Loading branch information
franciszekjob and kkawula authored Aug 26, 2024
commit cdeb3177e2770f99e068c6b88992fd5e6ff6b481
2 changes: 1 addition & 1 deletion starknet_py/net/signer/test_key_pair.py
franciszekjob marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from starknet_py.net.signer.key_pair import KeyPair


def test_generate():
def test_generate_key_pair():
key_pair = KeyPair.generate()
hex_private_key = hex(key_pair.private_key)[2:]
padded_hex_private_key = hex_private_key.zfill(64)
Expand Down
Loading