anvil_zksync_l1_sidecar/zkstack_config/
wallets.rs1#![allow(dead_code)]
2use alloy::signers::local::PrivateKeySigner;
5use serde::Deserialize;
6use serde_with::{serde_as, DisplayFromStr};
7use zksync_types::Address;
8
9#[serde_as]
10#[derive(Debug, Clone, Deserialize)]
11pub struct Wallet {
12 pub address: Address,
13 #[serde_as(as = "DisplayFromStr")]
14 pub private_key: PrivateKeySigner,
15}
16
17#[derive(Debug, Clone, Deserialize)]
18pub struct WalletsConfig {
19 pub deployer: Option<Wallet>,
20 pub operator: Wallet,
21 pub blob_operator: Wallet,
22 pub fee_account: Wallet,
23 pub governor: Wallet,
24 pub token_multiplier_setter: Option<Wallet>,
25}