import { ethers } from "ethers";
import { ParaEthersSigner } from "@getpara/ethers-v6-integration";
// Example with predefined chain (Sepolia)
const chainId = 11155111;
const rpcUrl = "https://ethereum-sepolia-rpc.publicnode.com";
// Public RPC provider
const provider = new ethers.JsonRpcProvider(rpcUrl, chainId, {
staticNetwork: true
});
// Integrate with Para
const signer = new ParaEthersSigner(para, provider); // Assuming 'para' is your configured Para instance
// For other chains (predefined or custom), use the corresponding chainId and RPC URL