create_embedded_wallet

Function create_embedded_wallet 

Source
pub async fn create_embedded_wallet<A: AccountProvider>(
    node_url: impl Into<String>,
    accounts: A,
) -> Result<BaseWallet<EmbeddedPxe<HttpNodeClient>, HttpNodeClient, A>, Error>
Expand description

Create a BaseWallet backed by an embedded PXE (in-process) and HTTP node.

This is the recommended way to create a wallet for Aztec v4.x, where PXE runs client-side. Only requires a single node_url — no separate PXE server.