Beispiel #1
0
def test_encode_secp256k1_seed(seed_hex, encoded_seed):
    seed = bytes.fromhex(seed_hex)
    assert codec.encode_seed(seed, secp256k1) == encoded_seed
Beispiel #2
0
def test_encode_ed25519_seed(seed_hex, encoded_seed):
    seed = bytes.fromhex(seed_hex)
    assert codec.encode_seed(seed, ed25519) == encoded_seed