rig_onchain_kit/http/
state.rs

1use privy::Privy;
2use std::sync::Arc;
3
4pub struct AppState {
5    pub(crate) privy: Arc<Privy>,
6}
7
8impl AppState {
9    pub fn new(privy: Privy) -> Self {
10        Self {
11            privy: Arc::new(privy),
12        }
13    }
14}