Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app2/src/lib/wallet/evm/config.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ class SepoliaStore {

export const sepoliaStore = new SepoliaStore()

const excludeWalletList = ["io.leapwallet.LeapWallet", "app.keplr"]
// Exclude wallet list, example ["io.leapwallet.LeapWallet", "app.keplr"]
const excludeWalletList: string[] = []

export const evmWalletsInformation = getWagmiConfig()
.connectors.map(connector => {
Expand All @@ -216,6 +217,8 @@ export const evmWalletsInformation = getWagmiConfig()
? "Safe Wallet"
: name.includes("injected")
? "Browser Wallet"
: name.includes("leap") || id.includes("leap")
? "Leap"
: connector.name,
icon: (id.includes("walletconnect")
? "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23268fff' d='M4.91 7.52a10.18 10.18 0 0 1 14.18 0l.47.46a.48.48 0 0 1 0 .7l-1.61 1.57a.25.25 0 0 1-.36 0l-.65-.63a7.1 7.1 0 0 0-9.88 0l-.7.68a.26.26 0 0 1-.35 0L4.4 8.72a.48.48 0 0 1 0-.7zm17.5 3.26 1.44 1.4a.48.48 0 0 1 0 .7l-6.46 6.33a.51.51 0 0 1-.71 0l-4.59-4.5a.13.13 0 0 0-.18 0l-4.59 4.5a.51.51 0 0 1-.7 0L.14 12.88a.48.48 0 0 1 0-.7l1.43-1.4a.51.51 0 0 1 .71 0l4.59 4.5c.05.04.13.04.18 0l4.59-4.5a.51.51 0 0 1 .7 0l4.6 4.5c.04.04.12.04.17 0l4.6-4.5a.5.5 0 0 1 .7 0' /%3E%3C/svg%3E%0A"
Expand Down
12 changes: 6 additions & 6 deletions app2/src/lib/wallet/evm/wagmi-config.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,6 @@ function createWagmiConfigInstance() {
shimDisconnect: true,
unstable_shimAsyncInject: 2_500,
}),
coinbaseWallet({
darkMode: true,
appName: uiStore.appInfo.name,
appLogoUrl: uiStore.appInfo.iconUrl,
enableMobileWalletLink: true,
}),
metaMask({
injectProvider: true,
dappMetadata: {
Expand All @@ -226,6 +220,12 @@ function createWagmiConfigInstance() {
},
useDeeplink: true,
}),
coinbaseWallet({
darkMode: true,
appName: uiStore.appInfo.name,
appLogoUrl: uiStore.appInfo.iconUrl,
enableMobileWalletLink: true,
}),
safe({
allowedDomains: [
/gnosis-safe.io$/,
Expand Down