Struct safecoin_remote_wallet::remote_keypair::RemoteKeypair [−][src]
pub struct RemoteKeypair { pub wallet_type: RemoteWalletType, pub derivation_path: DerivationPath, pub pubkey: Pubkey, pub path: String, }
Fields
wallet_type: RemoteWalletType
derivation_path: DerivationPath
pubkey: Pubkey
path: String
Implementations
pub fn new(
wallet_type: RemoteWalletType,
derivation_path: DerivationPath,
confirm_key: bool,
path: String
) -> Result<Self, RemoteWalletError>
Trait Implementations
Fallibly gets the implementor’s public key
Fallibly produces an Ed25519 signature over the provided message
bytes.
Infallibly gets the implementor’s public key. Returns the all-zeros
Pubkey
if the implementor has none. Read more