@metamask/snap-account-abstraction-keyring

0.3.0 • Public • Published

Account Abstraction Keyring Snap

This repository contains an account abstraction example of a keyring snap.

Keyring snaps enable developers to enhance MetaMask by adding new account types. These accounts are natively supported within the extension, appearing in MetaMask's UI, and can be used with dapps.

MetaMask Snaps is a system that allows anyone to safely expand the capabilities of MetaMask. A snap is a program that we run in an isolated environment that can customize the wallet experience.

Running Locally

  1. yarn install to install the dependencies
  2. yarn compile to build the types for the contracts.
  3. yarn serve to create a local instance of the snap.

Deploying Factory Contracts

Deploying the contracts will use eth from the first account of your mnemonic.

  1. yarn hardhat --network <chain name specified in hardhat config> run scripts/deployFactory.ts

Package Sidebar

Install

npm i @metamask/snap-account-abstraction-keyring

Weekly Downloads

7,121

Version

0.3.0

License

(MIT-0 OR Apache-2.0)

Unpacked Size

4.94 MB

Total Files

7

Last publish

Collaborators

  • mcmire
  • nicholasellul
  • lgbot
  • naugtur
  • ritave
  • danfinlay
  • kumavis
  • rekmarks
  • metamaskbot
  • gudahtt
  • brad.decker
  • sethkfman