Skip to content

Commit

Permalink
feat(app): account abstraction - add support for metamask delegation …
Browse files Browse the repository at this point in the history
…toolkit smart account
  • Loading branch information
Nguyen Anh Tu committed Dec 10, 2024
1 parent e49204d commit 862a413
Show file tree
Hide file tree
Showing 8 changed files with 306 additions and 101 deletions.
149 changes: 75 additions & 74 deletions demo/vue-app-new/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions demo/vue-app-new/src/MainView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
AccountAbstractionProvider,
ISmartAccount,
KernelSmartAccount,
MetamaskSmartAccount,
NexusSmartAccount,
// LightSmartAccount,
SafeSmartAccount,
Expand Down Expand Up @@ -109,6 +110,9 @@ const accountAbstractionProvider = computed((): IBaseProvider<IProvider> | undef
case "trust":
smartAccountInit = new TrustSmartAccount();
break;
case "metamask":
smartAccountInit = new MetamaskSmartAccount();
break;
// case "light":
// smartAccountInit = new LightSmartAccount();
// break;
Expand Down
Loading

0 comments on commit 862a413

Please sign in to comment.