dg_xch_core 2.1.1

Core library containing type/error definitions, CLVM tools, Consensus and Pool definitions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::blockchain::wallet_type::WalletType;
use dg_xch_macros::ChiaSerial;
use serde::{Deserialize, Serialize};

#[derive(ChiaSerial, Clone, PartialEq, Eq, Serialize, Deserialize, Debug)]
pub struct WalletInfo {
    pub data: String,
    pub name: String,
    pub id: u32,
    #[serde(alias = "type")]
    pub wallet_type: WalletType,
}