0. Set up Privy in your app
To start, if you haven’t yet set up Privy, get your application on service set up with Privy’s basic functionality. Follow the linked quickstarts depending on your If using Privy’s React or Expo SDKs, install the@privy-io/chains
package as well:
1. Get your Flashblocks RPC URL
Next, get your custom Flashblocks RPC URL from your own RPC provider. Most RPC providers like Quicknode, Alchemy, and Infura offer Flashblocks RPCs for Base.2. Use your custom RPC URL for Base and/or Base Sepolia
Next, configure Privy with your custom Flashblocks RPC URL.In addition to Privy’s React or Expo SDKs, install the Next, use the Then, pass the chain representations with your custom Flashblocks RPC URLs to the
@privy-io/chains
and viem
packages:addRpcUrlOverride
method from @privy-io/chains
to set your RPC URL in a viem/chains
object:PrivyProvider
’s defaultChain
and supportedChains
property: