novax-executor 0.2.12

Part of the NovaX framework, this crate facilitates the execution of transactions and queries against smart contracts on the blockchain.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

use crate::ExecutorError;

#[derive(Serialize, Deserialize, PartialEq, Clone, Debug)]
pub enum WalletError {
    InvalidPrivateKey,
    InvalidPemFile
}

impl From<WalletError> for ExecutorError {
    fn from(value: WalletError) -> Self {
        ExecutorError::Wallet(value)
    }
}