Use Kernel Account with Jiffyscan
Using Jiffyscan bundler using Zerodev Kernel
Simply specify Jiffyscan's bundler RPC when constructing a Kernel client:
import { createKernelAccountClient } from "@zerodev/sdk";
import { http } from "viem";
const kernelClient = createKernelAccountClient({
// other options...
transport: http("JIFFYSCAN_BUNDLER_RPC", {
fetchOptions: {
headers: { "x-api-key": "<API_Key>" },
},
}),
});
Note: Soon as the sendUserOperation
end point has been called, we generate a UI for the UserOp. You can find the user operation on the website - https://jiffyscan.xyz/userOp/\<userOpHash>.