8 lines
296 B
Python
8 lines
296 B
Python
from frostfs_sdk.cryptography.key_extension import KeyExtension
|
|
|
|
|
|
class ECDSA:
|
|
def __init__(self, wif: str):
|
|
self.wif = wif
|
|
self.private_key: bytes = KeyExtension().get_private_key_from_wif(wif)
|
|
self.public_key: bytes = KeyExtension().get_public_key(self.private_key)
|