pub struct Wallet { /* private fields */ }Implementations§
Source§impl Wallet
impl Wallet
pub fn create(keos: EOSRPC) -> Wallet
pub fn create_with_chain_id(keos: EOSRPC, chain_id: &str) -> Wallet
pub async fn list(&self) -> Result<Vec<String>>
pub async fn keys(&self) -> Result<Vec<EOSPublicKey>>
pub async fn private_keys( &self, wallet: &str, pass: &str, ) -> Result<Vec<(EOSPublicKey, EOSPrivateKey)>>
pub async fn unlock(&self, wallet: &str, pass: &str) -> Result<bool>
pub async fn sign_transaction( &self, transaction: TransactionIn, pubkey: Vec<EOSPublicKey>, ) -> Result<TransactionInSigned>
pub async fn sign_digest( &self, digest: &[u8], pubkey: &EOSPublicKey, ) -> Result<String>
Auto Trait Implementations§
impl Freeze for Wallet
impl !RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl !UnwindSafe for Wallet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more