A development kit for building and testing smart account modules.

ModuleKit allows you to:

  • Easily build smart account modules with interfaces for:
    • Validators
    • Executors
    • Hooks
  • Unit test your modules using a dedicated helper library
  • Integration test your modules using different modular ERC-4337 accounts and a helper library that abstracts away the complexity

Getting started

Using a package manager

npm i @rhinestone/modulekit

Using git submodules

forge install rhinestonewtf/modulekit

Using the template

Fork the module-template (opens in a new tab) and install it by running:

git clone[YOUR_GITHUB_HANDLE]/module-template.git
cd module-template
pnpm install


You can find the documentation for ModuleKit in the Rhinestone Docs (opens in a new tab).