Skip to content

Commit

Permalink
Merge pull request #1986 from Web3Auth/fix/readme
Browse files Browse the repository at this point in the history
Enables Trust Smart Account & fixes readme
  • Loading branch information
chaitanyapotti authored Oct 17, 2024
2 parents 4d14903 + ad872aa commit 8fb5ae3
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 115 deletions.
138 changes: 69 additions & 69 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.

16 changes: 8 additions & 8 deletions demo/vue-app-new/src/MainView.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<script setup lang="ts">
import {
AccountAbstractionProvider,
// BiconomySmartAccount,
BiconomySmartAccount,
ISmartAccount,
KernelSmartAccount,
// LightSmartAccount,
SafeSmartAccount,
TrustSmartAccount,
// SimpleSmartAccount,
// TrustSmartAccount,
} from "@web3auth/account-abstraction-provider";
import { CHAIN_NAMESPACES, ChainNamespaceType, IAdapter, IBaseProvider, IProvider, storageAvailable, WALLET_ADAPTERS } from "@web3auth/base";
import { CommonPrivateKeyProvider } from "@web3auth/base-provider";
Expand Down Expand Up @@ -86,15 +86,15 @@ const accountAbstractionProvider = computed((): IBaseProvider<IProvider> | undef
// setup aa provider
let smartAccountInit: ISmartAccount;
switch (formData.smartAccountType) {
// case "biconomy":
// smartAccountInit = new BiconomySmartAccount();
// break;
case "biconomy":
smartAccountInit = new BiconomySmartAccount();
break;
case "kernel":
smartAccountInit = new KernelSmartAccount();
break;
// case "trust":
// smartAccountInit = new TrustSmartAccount();
// break;
case "trust":
smartAccountInit = new TrustSmartAccount();
break;
// case "light":
// smartAccountInit = new LightSmartAccount();
// break;
Expand Down
Loading

0 comments on commit 8fb5ae3

Please sign in to comment.