Giter VIP home page Giter VIP logo

modular-account's Introduction

Modular Account

gh_ci_badge tg_badge

Alchemy's Modular Account is a maximally modular, upgradeable smart contract account that is compatible with ERC-4337 and ERC-6900.

Overview

This repository contains:

The account and plugins conform to these ERC versions:

Development

Naming convention

  • selector is used for all function selectors.
  • validation and validationFunction are used to represent validator.
  • associated and associatedFunction are used to represent validationFunction and hook.

Building and testing

# Build options
forge build
FOUNDRY_PROFILE=lite forge build
FOUNDRY_PROFILE=optimized-build forge build --sizes

# Lint
pnpm lint

# Test Options
forge test -vvv
FOUNDRY_PROFILE=lite forge test -vvv

Deployment

A deployment script can be found in the scripts/ folder

forge script script/Deploy.s.sol --rpc-url $RPC_URL --broadcast

Security and audits

Our audit reports from Spearbit and Quantstamp can be found in audits. Note that the reports may contain references to the term MSCA, which stands for modular smart contract account, as defined in the terms for ERC-6900. This is synonymous with modular account.

Bug bounty

Details of our bug bounty program can be found at https://hackerone.com/alchemyplatform.

License

The Modular Account libraries (all code inside the src/libraries directory) are licensed under the MIT License, also included in our repository in LICENSE-MIT.

The Modular Account interfaces and ERC-6900 interfaces (all code inside the src/interfaces directory) are licensed under the CC0 1.0 Universal License.

All other code for Modular Account is licensed under the GNU General Public License v3.0, also included in our repository in LICENSE-GPL.

Alchemy Insights, Inc., 548 Market St., PMB 49099, San Francisco, CA 94104; [email protected]

modular-account's People

Contributors

jaypaik avatar adam-alchemy avatar fangting-alchemy avatar howydev avatar dphilipson avatar 0xfourzerofour avatar noam-alchemy 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.