diff --git a/.gitignore b/.gitignore index fdb30b8..6ddc34f 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ dist # website and dApp node_modules +package-lock.json # Production build diff --git a/dapp/src/components/stellar-wallets-kit.ts b/dapp/src/components/stellar-wallets-kit.ts index 5439fca..b9d67c1 100644 --- a/dapp/src/components/stellar-wallets-kit.ts +++ b/dapp/src/components/stellar-wallets-kit.ts @@ -3,9 +3,10 @@ import { FREIGHTER_ID, StellarWalletsKit, } from "@creit.tech/stellar-wallets-kit"; +import { LedgerModule } from "@creit.tech/stellar-wallets-kit/modules/ledger.module"; const kit: StellarWalletsKit = new StellarWalletsKit({ - modules: allowAllModules(), + modules: [...allowAllModules(), new LedgerModule()], // @ts-ignore network: import.meta.env.PUBLIC_SOROBAN_NETWORK_PASSPHRASE, selectedWalletId: FREIGHTER_ID, diff --git a/dapp/src/layouts/Layout.astro b/dapp/src/layouts/Layout.astro index c74226e..ec81e22 100644 --- a/dapp/src/layouts/Layout.astro +++ b/dapp/src/layouts/Layout.astro @@ -12,7 +12,11 @@ interface Props { const { title } = Astro.props; --- - + +