Giter VIP home page Giter VIP logo

account.js's Introduction

accountjs

Unified Account Abstraction SDK & Tools Logo

Introduction

Compared to EOA Wallet like Metamask, EIP4337 Contract Wallet has large advantages, such as:

  1. No need to keep private key
  2. Custom ways to pay for gas
  3. Friendly to all users, make mass adoption possible

So we decide to embrace the promising account standard EIP4337 and build unified account abstraction SDK & tools for developers.

Challenges we ran into

  1. Efforts for explorations in new area
  2. Difficulty for developing infrastructure

What accountjs plan to achieve

The values we hold are listed as below:

  1. Create values by providing new tools for abstract account developers and users
  2. Open source what we build for mass adoption and improvement by community

We are building sdk which has following functions:

  1. EIP4337 Paymaster support which help user transact gaslessly
  2. EIP4337 account recovery support to better manage security
  3. Implementing unified account standard for account authority management

What we have built

  1. Develop sdk which is: 1.1 easy to use API for dev. 1.2 customize acc contracts 1.3 wrap modules like eoa, paymaster, recovery
  2. Wrap sdk into React which provide use base widgets and can be used to connect to wallets
  3. Build developer tools like scaffold which help users start app out of the box and friendly to mobile

Try paymasters

Run preprocess to compile and run tsc build for each packages, in order to be reference correctly

SDK updated

pnpm i && pnpm run preprocess
pnpm hardhat-node
pnpm hardhat-deploy --network localhost

pnpm bundler --unsafe
pnpm runop --deployFactory          # run op without paymaster
pnpm runopweth  --deployFactory     # run op with wethpaymaster
pnpm runopusdt  --deployFactory     # run op with usdpaymaster
pnpm runopfixed  --deployFactory    # run op with fixedspaymaster
pnpm runopgasless  --deployFactory    # run op with verifyingpaymaster

What's next for accountjs

  1. Write Tutorials for account abstraction developers
  2. Create develper DAO to build togETHer.

account.js's People

Contributors

skyh24 avatar amagiddmxh avatar mobius3-3 avatar

Watchers

James Cloos avatar  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.