Coder Social home page Coder Social logo

beeimp / modulekit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rhinestonewtf/modulekit

0.0 0.0 0.0 983 KB

Development Kit for building Smart Account Modules

Home Page: https://docs.rhinestone.wtf/modulekit/

License: GNU General Public License v3.0

Solidity 100.00%

modulekit's Introduction

ModuleKit

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

In-depth documentation is available at docs.rhinestone.wtf.

Installation

With Foundry

forge install rhinestonewtf/modulekit

Using our template

git clone https://github.com/rhinestonewtf/module-template.git
cd module-template
forge install

Updating

To update the ModuleKit, run:

forge update rhinestonewtf/modulekit

Usage

To learn more about using ModuleKit, visit the features section of the docs. To get a better understanding of Modules generally, visit the modules section and for hands-on tutorials on the entire lifecycle of modules, visit the tutorials section.

Features

  • ERC-4337 integration tests
    • On-chain integration test (EntryPoint -> Account)
    • Off-chain integration test (Bundler simulation and spec validation)
  • Unit testing library
  • Different Module types
    • Validators
    • Executors
    • Hooks
  • Different modular accounts
    • Safe
    • Biconomy
    • Kernel
    • ERC-6900 reference implementation
  • Deployment helper using Module Registry
  • Gas calculation helper

Examples

For module examples, check out our modulekit examples repo and for module inspiration see our module idea list. For general examples, check out the awesome modular accounts repo.

Contributing

For feature or change requests, feel free to open a PR, start a discussion or get in touch with us.

For guidance on how to create PRs, see the CONTRIBUTING guide.

Credits

  • Safe{Core} Protocol: ExecutorManager.sol is heavily insprired by Safe's SafeProtocolManager but is compatible across all supported accounts

Authors โœจ


zeroknots

๐Ÿ’ป

Konrad

๐Ÿ’ป

modulekit's People

Contributors

kopy-kat avatar zeroknots avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.