Giter VIP home page Giter VIP logo

erc4337-wallet-sol's Introduction

AA Wallet Solidity

AA Wallet Solidity is an Ethereum-based smart contract for account abstraction wallets, enabling users to interact with transactions and contracts in ways that differ from traditional Ethereum addresses.

Dependencies

  • Node.js: v16.x or higher

Core Code

Setup and Configuration

Installation

Run the following command in the root directory to install the necessary npm packages:

npm install

Environment Configuration

  1. Copy the example environment file:

    cp .env.example .env
  2. Modify the environment variables in the .env file:

    # Replace with your actual Etherscan API key
    SCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
    # Replace with your Ethereum address private key
    PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
    

Testing

Execute the following commands to run different tests:

  1. Entry point test:

    npm run entry-test

Deployment

Deploy the ERC4337 component to various networks using the commands below:

Polygon Network

Deploy to Polygon:

npm run deploy-polygon

Mumbai Test Network

Deploy to Mumbai Testnet:

npm run deploy-mumbai

Contract Address

You can find the deployed contract addresses here.

ERC4337 Overview

ERC4337 Overview

For the source code, please visit the GitHub repository.

erc4337-wallet-sol's People

Contributors

myronzhangweb3 avatar insomnia501 avatar phanker 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.