Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslnode 18–226 runs
build_error
glibcnode 18–226 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
BundlerServer
✓ import { BundlerServer } from '@account-abstraction/bundler'
✗ const BundlerServer = require('@account-abstraction/bundler')
Package is ESM only; no CommonJS export
UserOperation
✓ import { UserOperation } from '@account-abstraction/sdk'
✗ import UserOperation from '@account-abstraction/sdk'
Named export, not default
default
✓ import BundlerServer from '@account-abstraction/bundler'
✗ import { default } from '@account-abstraction/bundler'
Package has a default export for BundlerServer, but ESM import syntax differs
InMemoryBundler
✓ import { InMemoryBundler } from '@account-abstraction/bundler'
✗ import { InMemoryBundler } from '@account-abstraction/bundler/dist'
Do not deep import from /dist
Initializes a BundlerServer connected to a local GETH node and starts the HTTP RPC server.
import { BundlerServer } from '@account-abstraction/bundler';
import { JsonRpcProvider } from 'ethers';
const provider = new JsonRpcProvider('http://localhost:8545');
const bundler = new BundlerServer(
provider,
{
entryPoint: '0x0000000071727De22E5E9d8BAf0edAc6f37da032',
beneficiary: '0xYourBeneficiaryAddress',
unsafe: false, // set true if not using GETH
}
);
bundler.start().then(() => {
console.log('Bundler running on http://localhost:3000/rpc');
});
Errors
Common errors & fixes
Error: unsupported tracer
Running with non-GETH node without --unsafe
fixUse GETH or add --unsafe flag
TypeError: BundlerServer is not a constructor
Using require() on ESM-only package
fixUse import { BundlerServer } from '@account-abstraction/bundler' Error: entry point address mismatch
Wrong EntryPoint contract address
fixSet entryPoint to 0x0000000071727De22E5E9d8BAf0edAc6f37da032 for v0.6
Audit
Dependencies
ethersrequiredEthereum interaction and contract calls