pub mod vault;
use std::any::Any;
use std::sync::Arc;
use anyhow::{bail, ensure, Context, Result};
use parking_lot::RwLock;
use serde::{Deserialize, Serialize};
use iop_hydra_proto::TransactionData;
use iop_keyvault::{
secp256k1::{Secp256k1, SecpPrivateKey, SecpPublicKey},
Bip32Node, Bip32PublicNode, Bip44, Bip44Account, Bip44AccountPath, Bip44Key,
Bip44PublicAccount, Bip44PublicKey, Network, Networks, PrivateKey as _, Seed,
};
use iop_vault::{BoundPlugin, PluginPrivate, PluginPublic, State};