Skandha Bundler
Config
These are values which are included within config.json
Config detail
Value | Example | Description | Optional |
---|---|---|---|
relayer | “0xPrivateKey” | Relayer private key, can access from here or via environment variables (SKANDHA_MUMBAI_RELAYER or SKANDHA_DEV_RELAYER etc) | No |
beneficiary | “0xAddress” | Fee collector, avaiable via env var (SKANDHA_MUMBAI_BENEFICIARY etc) | No |
rpcEndpoint | ”http://localhost:8545” | RPC provider, also available via env variable (SKANDHA_MUMBAI_RPC etc) | No |
minInclusionDenominator | 10 | (See EIP-4337 spec)[https://eips.ethereum.org/EIPS/eip-4337] | Yes |
throttlingSlack | 10 | (See EIP-4337 spec)[https://eips.ethereum.org/EIPS/eip-4337] | Yes |
banSlack | 10 | (See EIP-4337 spec)[https://eips.ethereum.org/EIPS/eip-4337] | Yes |
minSignerBalance | 1 | Default is 0.1 ETH. If the relayer’s balance drops lower than this, it will be selected as a fee collector | Yes |
multicall | “0xAddress” | Multicall3 contract (see here)[https://github.com/mds1/multicall#multicall3-contract-addresses] | Yes |
estimationStaticBuffer | 21000 | Adds certain amount of gas to callGasLimit on estimation | No |
validationGasLimit | 10e6 | Gas limit during simulateHandleOps and simulateValidation calls | No |
receiptLookupRange | 1024 | Limits the block range of getUserOperationByHash and getUserOperationReceipt | No |
etherscanApiKey | “A1C15S3AXQHQ7PVVDX63VVK2IBAECS448Z” | Etherscan api is used to fetch gas prices | Yes |
conditionalTransactions | false | Enabling this flag will make the bundler submit all transactions via eth_sendRawTransactionConditional instead of eth_sendRawTransaction | No |
rpcEndpointSubmit | ”https://polygon-{network}.blockpi.network/v1/rpc/public” | RPC endpoint that is used only during submission of a bundle | No |
gasPriceMarkup | 0 | Adds % markup on reported gas price via skandha_getGasPrice, 10000 = 100.00%, 500 = 5% | No |
enforceGasPrice | false | Do not bundle userops with low gas prices | No |
enforceGasPriceThreshold | 1000 | Gas price threshold in bps. If set to 500, userops’ gas price is allowed to be 5% lower than the network’s gas price | No |
Example file
{
"networks": {
"dev": {
"entryPoints": [
"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
],
"relayer": "0xprivateKey",
"beneficiary": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"rpcEndpoint": "http://localhost:8545",
"minInclusionDenominator": 10,
"throttlingSlack": 10,
"banSlack": 10,
"minSignerBalance": 1,
"multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
"estimationStaticBuffer": 21000,
"validationGasLimit": 10e6,
"receiptLookupRange": 1024,
"etherscanApiKey": "",
"conditionalTransactions": false,
"rpcEndpointSubmit": "",
"gasPriceMarkup": 0,
"enforceGasPrice": false,
"enforceGasPriceThreshold": 1000,
}
}
}