Skip to content

Commit

Permalink
Add wallet connect to local dev page
Browse files Browse the repository at this point in the history
  • Loading branch information
earrietadev committed Oct 29, 2024
1 parent aa3794d commit 0da8202
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,23 @@
WalletNetwork,
allowAllModules,
} from './build/index.js';
import { WalletConnectModule, WalletConnectAllowedMethods } from './build/modules/walletconnect.module.js'

const kit = new StellarWalletsKit({
selectedWalletId: XBULL_ID,
network: WalletNetwork.TESTNET,
modules: allowAllModules(),
modules: [
...allowAllModules(),
new WalletConnectModule({
url: 'https://stellarwalletskit.dev/',
projectId: '4e0b84f6ba6bedf7c7f041d919a9f039',
method: WalletConnectAllowedMethods.SIGN,
description: `This is a development ID, DO NOT sign transactions that come from this request if you are not a developer testing.`,
name: 'StellarWalletsKit',
icons: [],
network: WalletNetwork.TESTNET,
}),
],
});

function createDefaultButton() {
Expand Down

0 comments on commit 0da8202

Please sign in to comment.