Skip to content

Commit 862a413

Browse files
author
Nguyen Anh Tu
committed
feat(app): account abstraction - add support for metamask delegation toolkit smart account
1 parent e49204d commit 862a413

File tree

8 files changed

+306
-101
lines changed

8 files changed

+306
-101
lines changed

demo/vue-app-new/package-lock.json

Lines changed: 75 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/vue-app-new/src/MainView.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {
33
AccountAbstractionProvider,
44
ISmartAccount,
55
KernelSmartAccount,
6+
MetamaskSmartAccount,
67
NexusSmartAccount,
78
// LightSmartAccount,
89
SafeSmartAccount,
@@ -109,6 +110,9 @@ const accountAbstractionProvider = computed((): IBaseProvider<IProvider> | undef
109110
case "trust":
110111
smartAccountInit = new TrustSmartAccount();
111112
break;
113+
case "metamask":
114+
smartAccountInit = new MetamaskSmartAccount();
115+
break;
112116
// case "light":
113117
// smartAccountInit = new LightSmartAccount();
114118
// break;

0 commit comments

Comments
 (0)