use xpx_chain_crypto::{Keypair, SecretKey}; fn main() { let private_key_hex: &str = "9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60"; let private_key = SecretKey::from_bytes(hex::decode(private_key_hex).unwrap()).unwrap(); println!("private_key: {:?}", private_key); let keypair_two_nis1 = Keypair::from_private_key(private_key); println!("nis1 from_private_key: {:?}", keypair_two_nis1); }