((actions) => new BitKeep({ actions }))
diff --git a/example/pages/index.tsx b/example/pages/index.tsx
index baefa90fd..c0637865d 100644
--- a/example/pages/index.tsx
+++ b/example/pages/index.tsx
@@ -1,6 +1,7 @@
import CoinbaseWalletCard from '../components/connectorCards/CoinbaseWalletCard'
import GnosisSafeCard from '../components/connectorCards/GnosisSafeCard'
import MetaMaskCard from '../components/connectorCards/MetaMaskCard'
+import BitgetWalletCard from '../components/connectorCards/BitgetWalletCard'
import NetworkCard from '../components/connectorCards/NetworkCard'
import WalletConnectV2Card from '../components/connectorCards/WalletConnectV2Card'
import ProviderExample from '../components/ProviderExample'
@@ -10,6 +11,7 @@ export default function Home() {
<>
+
diff --git a/example/utils.ts b/example/utils.ts
index 68e79460a..302342c04 100644
--- a/example/utils.ts
+++ b/example/utils.ts
@@ -1,6 +1,7 @@
import { CoinbaseWallet } from '@web3-react/coinbase-wallet'
import { GnosisSafe } from '@web3-react/gnosis-safe'
import { MetaMask } from '@web3-react/metamask'
+import { BitKeep } from '@akkafinance/web3-react-bitkeep'
import { Network } from '@web3-react/network'
import type { Connector } from '@web3-react/types'
import { WalletConnect as WalletConnect } from '@web3-react/walletconnect'
@@ -8,6 +9,7 @@ import { WalletConnect as WalletConnectV2 } from '@web3-react/walletconnect-v2'
export function getName(connector: Connector) {
if (connector instanceof MetaMask) return 'MetaMask'
+ if (connector instanceof BitKeep) return 'Bitget Wallet'
if (connector instanceof WalletConnectV2) return 'WalletConnect V2'
if (connector instanceof WalletConnect) return 'WalletConnect'
if (connector instanceof CoinbaseWallet) return 'Coinbase Wallet'
diff --git a/package.json b/package.json
index 2eb73fecd..8dab5e24e 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,8 @@
"example"
],
"devDependencies": {
+ "@akkafinance/bitkeep-detect-provider": "^1.0.0",
+ "@akkafinance/web3-react-bitkeep": "^1.0.0",
"@coinbase/wallet-sdk": "^3.3.0",
"@testing-library/react-hooks": "^8.0.0",
"@tsconfig/recommended": "^1.0.1",
diff --git a/yarn.lock b/yarn.lock
index 54ebc090c..edbf12671 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7,6 +7,19 @@
resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.9.0.tgz#223572538f6bea336750039bb43a4016dcc8182d"
integrity sha512-iowxq3U30sghZotgl4s/oJRci6WPBfNO5YYgk2cIOMCHr3LeGPcsZjCEr+33Q4N+oV3OABDAtA+pyvWjbvBifQ==
+"@akkafinance/bitkeep-detect-provider@^1.0.0":
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/@akkafinance/bitkeep-detect-provider/-/bitkeep-detect-provider-1.0.0.tgz#7de16aca785b2f47e3f8b80e4fecb2d186772208"
+ integrity sha512-LAHjZD51NwJZ/Ck1/JsA/NMcmwcM7m6obNMD09BN8LMeuoKcVn9Roj1azrP9ETXqoYGLuwQwb9Y2kKzARY5gdw==
+
+"@akkafinance/web3-react-bitkeep@^1.0.0":
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/@akkafinance/web3-react-bitkeep/-/web3-react-bitkeep-1.0.0.tgz#f794290aabb1eaa82e4b36e02b646676764b8414"
+ integrity sha512-qG3wBu+WDh1YZzEhD6orhaKl9id22fZBnhtHl2zVZ+gx3i9OeaS4A2KACKiutZtxt5VnhBAybWIl3swi4Dj5Jg==
+ dependencies:
+ "@akkafinance/bitkeep-detect-provider" "^1.0.0"
+ "@web3-react/types" "^8.2.0"
+
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.7":
version "7.16.7"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789"