Building supporting ecosystem and libraries for ERC4337.
Work in progress...
- Docker to run the bundler.
- Geth to start a private geth node.
- Run
npm install
to install the dependencies. - Run
npm run build
to build the project. - Run
npm run node
to start a private geth node. - Run
npm run deploy
to deploy the contracts to the private geth node. - Copy the entry point address from
dist/src/config/config.json
and update it inbundler/.env
file. - Run
npm run bundler
to start a bundler instance. - Copy
.env.sample
to.env
and update the value of PHRASE with 12-word mnemonic (using it to generate an EOA in the next step). - Run
dist/src/test/register_simple_account.js
to register a simple account.
Errors and exceptions are highly expected at this point.
A lot of work to be done here. This is just starting. Collaborations are welcome. :)