Skip to content

Commit

Permalink
Add new TrezorModule and update Ledger returned value from the `openA…
Browse files Browse the repository at this point in the history
…ccountSelector` method.
  • Loading branch information
earrietadev committed Dec 20, 2024
1 parent 97dbed6 commit 5c127a3
Show file tree
Hide file tree
Showing 7 changed files with 2,669 additions and 12 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ The available modules and their identifier are :
| Albedo | AlbedoModule | ALBEDO_ID |
| Freigther | FreighterModule | FREIGHTER_ID |
| Hana | HanaModule | HANA_ID |
| Ledger Wallet | LedgerModule | LEDGER_ID |
| Trezor Wallet | TrezorModule | TREZOR_ID |
| Lobstr | LobstrModule | LOBSTR_ID |
| Rabet | RabetModule | RABET_ID |
| Wallet connect | WalletConnectModule | WALLET_CONNECT_ID |
Expand Down
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,18 @@
} from './build/index.js';
import { WalletConnectModule, WalletConnectAllowedMethods } from './build/modules/walletconnect.module.js'
import { LedgerModule } from './build/modules/ledger.module.js'
import { TrezorModule } from './build/modules/trezor.module.js';

const kit = new StellarWalletsKit({
selectedWalletId: XBULL_ID,
network: WalletNetwork.TESTNET,
modules: [
...allowAllModules(),
new LedgerModule(),
new TrezorModule({
appUrl: 'http://localhost:5173',
email: '[email protected]'
}),
new WalletConnectModule({
url: 'https://stellarwalletskit.dev/',
projectId: '4e0b84f6ba6bedf7c7f041d919a9f039',
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"@ngneat/elf-entities": "5.0.2",
"@ngneat/elf-persist-state": "1.2.1",
"@stellar/freighter-api": "3.0.0",
"@trezor/connect-plugin-stellar": "^9.0.6",
"@trezor/connect-web": "^9.4.7",
"@walletconnect/modal": "2.6.2",
"@walletconnect/sign-client": "2.11.2",
"buffer": "6.0.3",
Expand Down
Loading

0 comments on commit 5c127a3

Please sign in to comment.