From 9e7ef07f5522f9dc75e61acf96de64ea18d5f992 Mon Sep 17 00:00:00 2001 From: MickWang <1244134672@qq.com> Date: Wed, 18 Sep 2024 11:47:04 +0800 Subject: [PATCH] feat: add bybit support --- data/wallets.ts | 4 ++++ package.json | 2 +- store/onboard.ts | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/data/wallets.ts b/data/wallets.ts index 735285d86..574f32242 100644 --- a/data/wallets.ts +++ b/data/wallets.ts @@ -13,11 +13,15 @@ export const confirmedSupportedWallets: WalletEntry[] = [ { walletName: "MathWallet", type: "injected" }, { walletName: "ImToken", type: "injected" }, { walletName: "Bitget", type: "injected" }, + { walletName: "Bybit", type: "injected" }, + { walletName: "GateWallet", type: "walletConnect" }, { walletName: "MetaMask", type: "walletConnect" }, { walletName: "imToken", type: "walletConnect" }, { walletName: "OKX", type: "walletConnect" }, + { walletName: "Bybit", type: "walletConnect" }, + { walletName: "Binance DeFi", type: "walletConnect" }, { walletName: "Binance Web3", type: "walletConnect" }, diff --git a/package.json b/package.json index 50922090d..c60abdf1c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "zkLink Portal provides Wallet and Bridge functionality for interacting with zkLink Nova", "private": true, "scripts": { - "dev": "nuxt dev --port 3333", + "dev": "nuxt dev --port 3333 --host 0.0.0.0", "dev:node:memory": "cross-env NODE_TYPE=memory npm run dev", "dev:node:docker": "cross-env NODE_TYPE=dockerized npm run dev", "dev:node:nexus-goerli": "cross-env NODE_TYPE=nexus-goerli npm run dev", diff --git a/store/onboard.ts b/store/onboard.ts index 8607758aa..d4770a6ec 100644 --- a/store/onboard.ts +++ b/store/onboard.ts @@ -196,6 +196,7 @@ export const useOnboardStore = defineStore("onboard", () => { excludeWalletIds.push(BinanceWalletId); } const featuredWalletIds = [ + "15c8b91ade1a4e58f3ce4e7a0dd7f42b47db0c8df7e0d84f63eb39bcb96c4e0f", // bybit // "1ae92b26df02f0abca6304df07debccd18262fdf5fe82daa81593582dac9a369",rainbow "971e689d0a5be527bac79629b4ee9b925e82208e5168b733496a09c0faed0709", // okx wallet // "8a0ee50d1f22f6651afcae7eb4253e52a3310b90af5daef78a8c4929a9bb99d4", // binance web3 wallet