stellar-ledger 26.0.0

Handle Stellar signing with Ledger device
Documentation
1
2
3
4
5
6
7
8
9
10
#[async_trait::async_trait]
pub trait Blob {
    type Key: Send;
    type Error;
    async fn get_public_key(
        &self,
        key: &Self::Key,
    ) -> Result<stellar_strkey::ed25519::PublicKey, Self::Error>;
    async fn sign_blob(&self, key: &Self::Key, blob: &[u8]) -> Result<Vec<u8>, Self::Error>;
}