Skip to main content

Wallet Providers

Spice Flow supports two wallet providers. Choose the one that fits your needs.

Privy

Best for embedded wallets and social logins. This is the recommended provider for most integrations.
Configuration: Get Your Privy App ID:
  1. Sign up at privy.io
  2. Create a new app
  3. Copy your App ID from the dashboard

Dynamic

Best for multi wallet support and flexible authentication.
Get Your Dynamic Environment ID:
  1. Sign up at dynamic.xyz
  2. Create a new project
  3. Copy your Environment ID from settings

Execution Modes

Spice Flow supports three execution modes.

7702 Mode (Default)

Uses EIP 7702 with embedded wallets. The solver executes transactions on behalf of the user via delegate contracts. This is the default and recommended mode for most chains.

Presign Mode

Users sign all transactions upfront using their external wallet. Used for chains that don’t support EIP 7702.

Ondemand Mode

Each transaction is signed on demand during execution. The app handles execution via onDepositExecute / onWithdrawExecute callbacks.
In presign and ondemand modes, the embedded wallet flow is skipped. Components use callback props (like onDepositExecute) instead of the solver execution path.

Network Configuration

Set the network to control which chains are available:

Default Chains by Network

Mainnet: Ethereum (1), Base (8453), Arbitrum (42161), Citrea (4114) Testnet: Sepolia (11155111), Arbitrum Sepolia (421614), Citrea Testnet (5115), Base Sepolia (84532)

Custom Chain IDs

Override the defaults with supportedChainIds:

Theming

Set your app’s visual identity through the theme prop. All SDK components inherit these values.
See Styling for the full theming reference.

API URL Override

By default, the SDK connects to the Spicenet relayer. Override this if you’re proxying requests or using a custom deployment:

Complete Provider Reference


Next Steps

Styling

Customize component appearance

Components

Explore available components

Examples

See complete examples

Best Practices

Security and integration patterns