@dogeos/dogeos-sdk 1.0.6-alpha.1 → 2.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -20
- package/dist/components/AccountModal/AccountModal.d.ts +1 -1
- package/dist/components/AccountModal/AccountModal.d.ts.map +1 -1
- package/dist/components/AllChainsAddressModal/AllChainsAddressModal.d.ts.map +1 -1
- package/dist/components/ConnectModal/socialLoginTypeSL.d.ts +1 -1
- package/dist/components/ConnectModal/socialLoginTypeSL.d.ts.map +1 -1
- package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts +2 -0
- package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts.map +1 -1
- package/dist/components/useNetworkOptions/index.d.ts +2 -1
- package/dist/components/useNetworkOptions/index.d.ts.map +1 -1
- package/dist/config/getDefaultConfig.d.ts +6 -5
- package/dist/config/getDefaultConfig.d.ts.map +1 -1
- package/dist/css/reset.css.d.ts.map +1 -1
- package/dist/index.css +920 -900
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +121 -96
- package/dist/utils/customChains.d.ts +0 -3
- package/dist/utils/customChains.d.ts.map +1 -1
- package/dist/wallets/walletConnectors/berasigWallet/berasigWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-23BTDHWT.js +68 -0
- package/dist/wallets/walletConnectors/chunk-3RV2PDNU.js +90 -0
- package/dist/wallets/walletConnectors/chunk-5AA45G6G.js +68 -0
- package/dist/wallets/walletConnectors/chunk-5Z7ZXXRR.js +98 -0
- package/dist/wallets/walletConnectors/chunk-BH3DH43L.js +92 -0
- package/dist/wallets/walletConnectors/chunk-C77FT77Y.js +93 -0
- package/dist/wallets/walletConnectors/chunk-DSSAT3NI.js +99 -0
- package/dist/wallets/walletConnectors/chunk-EU6OLW4A.js +95 -0
- package/dist/wallets/walletConnectors/chunk-FWKF7LPD.js +107 -0
- package/dist/wallets/walletConnectors/chunk-HKLLWUHG.js +63 -0
- package/dist/wallets/walletConnectors/chunk-IQZBD6M4.js +63 -0
- package/dist/wallets/walletConnectors/chunk-JY4IF5AQ.js +84 -0
- package/dist/wallets/walletConnectors/chunk-LKBXEGOJ.js +92 -0
- package/dist/wallets/walletConnectors/chunk-MD4POIVS.js +93 -0
- package/dist/wallets/walletConnectors/chunk-NBPDTYTT.js +93 -0
- package/dist/wallets/walletConnectors/chunk-OP7MZATO.js +100 -0
- package/dist/wallets/walletConnectors/chunk-PE2OUMNV.js +91 -0
- package/dist/wallets/walletConnectors/chunk-PTIPKDP7.js +143 -0
- package/dist/wallets/walletConnectors/chunk-RQLI2RTW.js +105 -0
- package/dist/wallets/walletConnectors/chunk-U37MS2YB.js +88 -0
- package/dist/wallets/walletConnectors/chunk-VFRUWZVT.js +62 -0
- package/dist/wallets/walletConnectors/chunk-XAQXLPKN.js +90 -0
- package/dist/wallets/walletConnectors/chunk-XVUM5YFT.js +93 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +38 -38
- package/dist/wallets/walletConnectors/iopayWallet/iopayWallet.js +2 -2
- package/dist/wallets/walletConnectors/kaiaWallet/kaiaWallet.js +2 -2
- package/dist/wallets/walletConnectors/kaikasWallet/kaikasWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -4
|
@@ -30,7 +30,6 @@ export declare const all: {
|
|
|
30
30
|
};
|
|
31
31
|
export declare const dogeOSTestnet: {
|
|
32
32
|
readonly id: 6281971;
|
|
33
|
-
readonly chainIndex: 22112242100;
|
|
34
33
|
readonly name: "DogeOS Testnet";
|
|
35
34
|
readonly nativeCurrency: {
|
|
36
35
|
readonly name: "DOGE";
|
|
@@ -58,7 +57,6 @@ export declare const customChains: {
|
|
|
58
57
|
}[];
|
|
59
58
|
export declare const supportedEvmChains: ({
|
|
60
59
|
readonly id: 6281971;
|
|
61
|
-
readonly chainIndex: 22112242100;
|
|
62
60
|
readonly name: "DogeOS Testnet";
|
|
63
61
|
readonly nativeCurrency: {
|
|
64
62
|
readonly name: "DOGE";
|
|
@@ -841,7 +839,6 @@ export declare const supportedChains: ({
|
|
|
841
839
|
logo: React.JSX.Element;
|
|
842
840
|
} | {
|
|
843
841
|
readonly id: 6281971;
|
|
844
|
-
readonly chainIndex: 22112242100;
|
|
845
842
|
readonly name: "DogeOS Testnet";
|
|
846
843
|
readonly nativeCurrency: {
|
|
847
844
|
readonly name: "DOGE";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customChains.d.ts","sourceRoot":"","sources":["../../src/utils/customChains.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OA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A6C,CAAC;0BAAmD,CAAC;;;;;;;;;;;;;;;;;;iCAAmyB,CAAC;;;;wBAAiM,CAAC;;;;0BAAiL,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;;;;;;;;;;;;;;mCAA03B,CAAC;;;wBAAmH,CAAC;gCAAyD,CAAC;;;0BAAuI,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;sFAA2P,CAAC;4BAAuD,CAAC;2BAAiD,CAAC;;;;;;;;;;oBAAsgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBjwU,CAAC;AAC/G,eAAO,MAAM,SAAS,UAarB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,SAAS,GAAG;;;;;GAK3C,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-5AA45G6G.js";
|
|
5
5
|
import "../chunk-RETKWSKD.js";
|
|
6
|
-
import "../chunk-75A5A7MH.js";
|
|
7
6
|
import "../chunk-PJCRXY6L.js";
|
|
7
|
+
import "../chunk-75A5A7MH.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-5Z7ZXXRR.js";
|
|
5
5
|
import "../chunk-RETKWSKD.js";
|
|
6
|
-
import "../chunk-75A5A7MH.js";
|
|
7
6
|
import "../chunk-PJCRXY6L.js";
|
|
7
|
+
import "../chunk-75A5A7MH.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
10
10
|
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid,
|
|
4
|
+
isIOS
|
|
5
|
+
} from "./chunk-RETKWSKD.js";
|
|
6
|
+
import {
|
|
7
|
+
getInjectedConnector,
|
|
8
|
+
hasInjectedProvider
|
|
9
|
+
} from "./chunk-PJCRXY6L.js";
|
|
10
|
+
import {
|
|
11
|
+
getWalletConnectConnector
|
|
12
|
+
} from "./chunk-75A5A7MH.js";
|
|
13
|
+
|
|
14
|
+
// src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
|
|
15
|
+
var rainbowWallet = ({ projectId, walletConnectParameters }) => {
|
|
16
|
+
const isRainbowInjected = hasInjectedProvider({ flag: "isRainbow" });
|
|
17
|
+
const shouldUseWalletConnect = !isRainbowInjected;
|
|
18
|
+
const getUri = (uri) => {
|
|
19
|
+
return isAndroid() ? uri : isIOS() ? `rainbow://wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit` : `https://rnbwapp.com/wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit`;
|
|
20
|
+
};
|
|
21
|
+
return {
|
|
22
|
+
id: "rainbow",
|
|
23
|
+
name: "Rainbow",
|
|
24
|
+
rdns: "me.rainbow",
|
|
25
|
+
iconUrl: async () => (await import("./rainbowWallet-2SR6TVBF.js")).default,
|
|
26
|
+
iconBackground: "#0c2f78",
|
|
27
|
+
installed: !shouldUseWalletConnect ? isRainbowInjected : void 0,
|
|
28
|
+
downloadUrls: {
|
|
29
|
+
android: "https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",
|
|
30
|
+
ios: "https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",
|
|
31
|
+
mobile: "https://rainbow.download?utm_source=rainbowkit",
|
|
32
|
+
qrCode: "https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",
|
|
33
|
+
browserExtension: "https://rainbow.me/extension?utm_source=rainbowkit"
|
|
34
|
+
},
|
|
35
|
+
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
36
|
+
qrCode: shouldUseWalletConnect ? {
|
|
37
|
+
getUri,
|
|
38
|
+
instructions: {
|
|
39
|
+
learnMoreUrl: "https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",
|
|
40
|
+
steps: [
|
|
41
|
+
{
|
|
42
|
+
description: "wallet_connectors.rainbow.qr_code.step1.description",
|
|
43
|
+
step: "install",
|
|
44
|
+
title: "wallet_connectors.rainbow.qr_code.step1.title"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
description: "wallet_connectors.rainbow.qr_code.step2.description",
|
|
48
|
+
step: "create",
|
|
49
|
+
title: "wallet_connectors.rainbow.qr_code.step2.title"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
description: "wallet_connectors.rainbow.qr_code.step3.description",
|
|
53
|
+
step: "scan",
|
|
54
|
+
title: "wallet_connectors.rainbow.qr_code.step3.title"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
} : void 0,
|
|
59
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
60
|
+
projectId,
|
|
61
|
+
walletConnectParameters
|
|
62
|
+
}) : getInjectedConnector({ flag: "isRainbow" })
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
rainbowWallet
|
|
68
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PJCRXY6L.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-75A5A7MH.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/kaiaWallet/kaiaWallet.ts
|
|
11
|
+
var kaiaWallet = ({ projectId, walletConnectParameters }) => {
|
|
12
|
+
const isKaiaWalletInjected = hasInjectedProvider({
|
|
13
|
+
namespace: "klaytn"
|
|
14
|
+
});
|
|
15
|
+
const shouldUseWalletConnect = !isKaiaWalletInjected;
|
|
16
|
+
const getUri = (uri) => {
|
|
17
|
+
return `kaikas://walletconnect?uri=${encodeURIComponent(uri)}`;
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
id: "kaia",
|
|
21
|
+
name: "Kaia Wallet",
|
|
22
|
+
iconUrl: async () => (await import("./kaiaWallet-5K6WZ3AH.js")).default,
|
|
23
|
+
installed: isKaiaWalletInjected || void 0,
|
|
24
|
+
iconBackground: "#fff",
|
|
25
|
+
downloadUrls: {
|
|
26
|
+
chrome: "https://chromewebstore.google.com/detail/kaia-wallet/jblndlipeogpafnldhgmapagcccfchpi",
|
|
27
|
+
browserExtension: "https://app.kaiawallet.io",
|
|
28
|
+
qrCode: "https://app.kaiawallet.io",
|
|
29
|
+
ios: "https://apps.apple.com/us/app/kaia-wallet/id6502896387",
|
|
30
|
+
android: "https://play.google.com/store/apps/details?id=io.klutch.wallet",
|
|
31
|
+
mobile: "https://app.kaiawallet.io"
|
|
32
|
+
},
|
|
33
|
+
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
34
|
+
qrCode: shouldUseWalletConnect ? {
|
|
35
|
+
getUri: (uri) => uri,
|
|
36
|
+
instructions: {
|
|
37
|
+
learnMoreUrl: "https://kaiawallet.io",
|
|
38
|
+
steps: [
|
|
39
|
+
{
|
|
40
|
+
description: "wallet_connectors.kaia.qr_code.step1.description",
|
|
41
|
+
step: "install",
|
|
42
|
+
title: "wallet_connectors.kaia.qr_code.step1.title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.kaia.qr_code.step2.description",
|
|
46
|
+
step: "create",
|
|
47
|
+
title: "wallet_connectors.kaia.qr_code.step2.title"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
description: "wallet_connectors.kaia.qr_code.step3.description",
|
|
51
|
+
step: "refresh",
|
|
52
|
+
title: "wallet_connectors.kaia.qr_code.step3.title"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
} : void 0,
|
|
57
|
+
extension: {
|
|
58
|
+
instructions: {
|
|
59
|
+
learnMoreUrl: "https://kaiawallet.io",
|
|
60
|
+
steps: [
|
|
61
|
+
{
|
|
62
|
+
description: "wallet_connectors.kaia.extension.step1.description",
|
|
63
|
+
step: "install",
|
|
64
|
+
title: "wallet_connectors.kaia.extension.step1.title"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.kaia.extension.step2.description",
|
|
68
|
+
step: "create",
|
|
69
|
+
title: "wallet_connectors.kaia.extension.step2.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.kaia.extension.step3.description",
|
|
73
|
+
step: "refresh",
|
|
74
|
+
title: "wallet_connectors.kaia.extension.step3.title"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
80
|
+
projectId,
|
|
81
|
+
walletConnectParameters
|
|
82
|
+
}) : getInjectedConnector({
|
|
83
|
+
namespace: "klaytn"
|
|
84
|
+
})
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export {
|
|
89
|
+
kaiaWallet
|
|
90
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
5
|
+
import {
|
|
6
|
+
getInjectedConnector,
|
|
7
|
+
hasInjectedProvider
|
|
8
|
+
} from "./chunk-PJCRXY6L.js";
|
|
9
|
+
import {
|
|
10
|
+
getWalletConnectConnector
|
|
11
|
+
} from "./chunk-75A5A7MH.js";
|
|
12
|
+
|
|
13
|
+
// src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
|
|
14
|
+
var bifrostWallet = ({ projectId, walletConnectParameters }) => {
|
|
15
|
+
const isBifrostInjected = hasInjectedProvider({ flag: "isBifrost" });
|
|
16
|
+
const shouldUseWalletConnect = !isBifrostInjected;
|
|
17
|
+
const getUri = (uri) => {
|
|
18
|
+
return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
id: "bifrostWallet",
|
|
22
|
+
name: "Bifrost Wallet",
|
|
23
|
+
iconUrl: async () => (await import("./bifrostWallet-ORF3DABG.js")).default,
|
|
24
|
+
iconBackground: "#fff",
|
|
25
|
+
installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
|
|
26
|
+
downloadUrls: {
|
|
27
|
+
android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
|
|
28
|
+
ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
|
|
29
|
+
qrCode: "https://bifrostwallet.com/#download-app"
|
|
30
|
+
},
|
|
31
|
+
mobile: {
|
|
32
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
33
|
+
},
|
|
34
|
+
qrCode: shouldUseWalletConnect ? {
|
|
35
|
+
getUri: (uri) => uri,
|
|
36
|
+
instructions: {
|
|
37
|
+
learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
|
|
38
|
+
steps: [
|
|
39
|
+
{
|
|
40
|
+
description: "wallet_connectors.bifrost.qr_code.step1.description",
|
|
41
|
+
step: "install",
|
|
42
|
+
title: "wallet_connectors.bifrost.qr_code.step1.title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.bifrost.qr_code.step2.description",
|
|
46
|
+
step: "create",
|
|
47
|
+
title: "wallet_connectors.bifrost.qr_code.step2.title"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
description: "wallet_connectors.bifrost.qr_code.step3.description",
|
|
51
|
+
step: "scan",
|
|
52
|
+
title: "wallet_connectors.bifrost.qr_code.step3.title"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
} : void 0,
|
|
57
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
58
|
+
projectId,
|
|
59
|
+
walletConnectParameters
|
|
60
|
+
}) : getInjectedConnector({
|
|
61
|
+
flag: "isBifrost"
|
|
62
|
+
})
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
bifrostWallet
|
|
68
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
5
|
+
import {
|
|
6
|
+
getInjectedConnector,
|
|
7
|
+
hasInjectedProvider
|
|
8
|
+
} from "./chunk-PJCRXY6L.js";
|
|
9
|
+
import {
|
|
10
|
+
getWalletConnectConnector
|
|
11
|
+
} from "./chunk-75A5A7MH.js";
|
|
12
|
+
|
|
13
|
+
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
14
|
+
var bitgetWallet = ({ projectId, walletConnectParameters }) => {
|
|
15
|
+
const isBitKeepInjected = hasInjectedProvider({
|
|
16
|
+
namespace: "bitkeep.ethereum",
|
|
17
|
+
flag: "isBitKeep"
|
|
18
|
+
});
|
|
19
|
+
const shouldUseWalletConnect = !isBitKeepInjected;
|
|
20
|
+
return {
|
|
21
|
+
id: "bitget",
|
|
22
|
+
name: "Bitget Wallet",
|
|
23
|
+
rdns: "com.bitget.web3",
|
|
24
|
+
iconUrl: async () => (await import("./bitgetWallet-CLYTW54T.js")).default,
|
|
25
|
+
iconAccent: "#f6851a",
|
|
26
|
+
iconBackground: "#fff",
|
|
27
|
+
installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
|
|
28
|
+
downloadUrls: {
|
|
29
|
+
android: "https://web3.bitget.com/en/wallet-download?type=0",
|
|
30
|
+
ios: "https://apps.apple.com/app/bitkeep/id1395301115",
|
|
31
|
+
mobile: "https://web3.bitget.com/en/wallet-download?type=2",
|
|
32
|
+
qrCode: "https://web3.bitget.com/en/wallet-download",
|
|
33
|
+
chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
|
|
34
|
+
browserExtension: "https://web3.bitget.com/en/wallet-download"
|
|
35
|
+
},
|
|
36
|
+
extension: {
|
|
37
|
+
instructions: {
|
|
38
|
+
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
39
|
+
steps: [
|
|
40
|
+
{
|
|
41
|
+
description: "wallet_connectors.bitget.extension.step1.description",
|
|
42
|
+
step: "install",
|
|
43
|
+
title: "wallet_connectors.bitget.extension.step1.title"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
description: "wallet_connectors.bitget.extension.step2.description",
|
|
47
|
+
step: "create",
|
|
48
|
+
title: "wallet_connectors.bitget.extension.step2.title"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
description: "wallet_connectors.bitget.extension.step3.description",
|
|
52
|
+
step: "refresh",
|
|
53
|
+
title: "wallet_connectors.bitget.extension.step3.description"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
mobile: {
|
|
59
|
+
getUri: shouldUseWalletConnect ? (uri) => {
|
|
60
|
+
return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
|
|
61
|
+
} : void 0
|
|
62
|
+
},
|
|
63
|
+
qrCode: shouldUseWalletConnect ? {
|
|
64
|
+
getUri: (uri) => uri,
|
|
65
|
+
instructions: {
|
|
66
|
+
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
67
|
+
steps: [
|
|
68
|
+
{
|
|
69
|
+
description: "wallet_connectors.bitget.qr_code.step1.description",
|
|
70
|
+
step: "install",
|
|
71
|
+
title: "wallet_connectors.bitget.qr_code.step1.title"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
description: "wallet_connectors.bitget.qr_code.step2.description",
|
|
75
|
+
step: "create",
|
|
76
|
+
title: "wallet_connectors.bitget.qr_code.step2.title"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
description: "wallet_connectors.bitget.qr_code.step3.description",
|
|
80
|
+
step: "scan",
|
|
81
|
+
title: "wallet_connectors.bitget.qr_code.step3.title"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
} : void 0,
|
|
86
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
87
|
+
projectId,
|
|
88
|
+
walletConnectParameters
|
|
89
|
+
}) : getInjectedConnector({
|
|
90
|
+
namespace: "bitkeep.ethereum",
|
|
91
|
+
flag: "isBitKeep"
|
|
92
|
+
})
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export {
|
|
97
|
+
bitgetWallet
|
|
98
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PJCRXY6L.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-75A5A7MH.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/coreWallet/coreWallet.ts
|
|
11
|
+
var coreWallet = ({ projectId, walletConnectParameters }) => {
|
|
12
|
+
const isCoreInjected = hasInjectedProvider({
|
|
13
|
+
namespace: "avalanche",
|
|
14
|
+
flag: "isAvalanche"
|
|
15
|
+
});
|
|
16
|
+
const shouldUseWalletConnect = !isCoreInjected;
|
|
17
|
+
return {
|
|
18
|
+
id: "core",
|
|
19
|
+
name: "Core",
|
|
20
|
+
rdns: "app.core.extension",
|
|
21
|
+
iconUrl: async () => (await import("./coreWallet-52SXITOT.js")).default,
|
|
22
|
+
iconBackground: "#1A1A1C",
|
|
23
|
+
installed: !shouldUseWalletConnect ? isCoreInjected : void 0,
|
|
24
|
+
downloadUrls: {
|
|
25
|
+
android: "https://play.google.com/store/apps/details?id=com.avaxwallet",
|
|
26
|
+
ios: "https://apps.apple.com/us/app/core-wallet/id6443685999",
|
|
27
|
+
mobile: "https://core.app/?downloadCoreMobile=1",
|
|
28
|
+
qrCode: "https://core.app/?downloadCoreMobile=1",
|
|
29
|
+
chrome: "https://chrome.google.com/webstore/detail/core-crypto-wallet-nft-ex/agoakfejjabomempkjlepdflaleeobhb",
|
|
30
|
+
browserExtension: "https://extension.core.app/"
|
|
31
|
+
},
|
|
32
|
+
mobile: {
|
|
33
|
+
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
34
|
+
},
|
|
35
|
+
qrCode: shouldUseWalletConnect ? {
|
|
36
|
+
getUri: (uri) => uri,
|
|
37
|
+
instructions: {
|
|
38
|
+
learnMoreUrl: "https://support.avax.network/en/articles/6115608-core-mobile-how-to-add-the-core-mobile-to-my-phone",
|
|
39
|
+
steps: [
|
|
40
|
+
{
|
|
41
|
+
description: "wallet_connectors.core.qr_code.step1.description",
|
|
42
|
+
step: "install",
|
|
43
|
+
title: "wallet_connectors.core.qr_code.step1.title"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
description: "wallet_connectors.core.qr_code.step2.description",
|
|
47
|
+
step: "create",
|
|
48
|
+
title: "wallet_connectors.core.qr_code.step2.title"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
description: "wallet_connectors.core.qr_code.step3.description",
|
|
52
|
+
step: "scan",
|
|
53
|
+
title: "wallet_connectors.core.qr_code.step3.title"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
} : void 0,
|
|
58
|
+
extension: {
|
|
59
|
+
instructions: {
|
|
60
|
+
learnMoreUrl: "https://extension.core.app/",
|
|
61
|
+
steps: [
|
|
62
|
+
{
|
|
63
|
+
description: "wallet_connectors.core.extension.step1.description",
|
|
64
|
+
step: "install",
|
|
65
|
+
title: "wallet_connectors.core.extension.step1.title"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
description: "wallet_connectors.core.extension.step2.description",
|
|
69
|
+
step: "create",
|
|
70
|
+
title: "wallet_connectors.core.extension.step2.title"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
description: "wallet_connectors.core.extension.step3.description",
|
|
74
|
+
step: "refresh",
|
|
75
|
+
title: "wallet_connectors.core.extension.step3.title"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
81
|
+
projectId,
|
|
82
|
+
walletConnectParameters
|
|
83
|
+
}) : getInjectedConnector({
|
|
84
|
+
namespace: "avalanche",
|
|
85
|
+
flag: "isAvalanche"
|
|
86
|
+
})
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
coreWallet
|
|
92
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PJCRXY6L.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-75A5A7MH.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
|
|
11
|
+
var coin98Wallet = ({ projectId, walletConnectParameters }) => {
|
|
12
|
+
const isCoin98WalletInjected = hasInjectedProvider({
|
|
13
|
+
namespace: "coin98.provider",
|
|
14
|
+
flag: "isCoin98"
|
|
15
|
+
});
|
|
16
|
+
const shouldUseWalletConnect = !isCoin98WalletInjected;
|
|
17
|
+
return {
|
|
18
|
+
id: "coin98",
|
|
19
|
+
name: "Coin98 Wallet",
|
|
20
|
+
iconUrl: async () => (await import("./coin98Wallet-RFXRNVWP.js")).default,
|
|
21
|
+
installed: isCoin98WalletInjected,
|
|
22
|
+
iconAccent: "#CDA349",
|
|
23
|
+
iconBackground: "#fff",
|
|
24
|
+
rdns: "coin98.com",
|
|
25
|
+
downloadUrls: {
|
|
26
|
+
android: "https://play.google.com/store/apps/details?id=coin98.crypto.finance.media",
|
|
27
|
+
ios: "https://apps.apple.com/vn/app/coin98-super-app/id1561969966",
|
|
28
|
+
mobile: "https://coin98.com/wallet",
|
|
29
|
+
qrCode: "https://coin98.com/wallet",
|
|
30
|
+
chrome: "https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg",
|
|
31
|
+
browserExtension: "https://coin98.com/wallet"
|
|
32
|
+
},
|
|
33
|
+
mobile: {
|
|
34
|
+
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
35
|
+
},
|
|
36
|
+
qrCode: shouldUseWalletConnect ? {
|
|
37
|
+
getUri: (uri) => uri,
|
|
38
|
+
instructions: {
|
|
39
|
+
learnMoreUrl: "https://coin98.com/wallet",
|
|
40
|
+
steps: [
|
|
41
|
+
{
|
|
42
|
+
description: "wallet_connectors.coin98.qr_code.step1.description",
|
|
43
|
+
step: "install",
|
|
44
|
+
title: "wallet_connectors.coin98.qr_code.step1.title"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
description: "wallet_connectors.coin98.qr_code.step2.description",
|
|
48
|
+
step: "create",
|
|
49
|
+
title: "wallet_connectors.coin98.qr_code.step2.title"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
description: "wallet_connectors.coin98.qr_code.step3.description",
|
|
53
|
+
step: "scan",
|
|
54
|
+
title: "wallet_connectors.coin98.qr_code.step3.title"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
} : void 0,
|
|
59
|
+
extension: {
|
|
60
|
+
instructions: {
|
|
61
|
+
learnMoreUrl: "https://coin98.com/wallet",
|
|
62
|
+
steps: [
|
|
63
|
+
{
|
|
64
|
+
description: "wallet_connectors.coin98.extension.step1.description",
|
|
65
|
+
step: "install",
|
|
66
|
+
title: "wallet_connectors.coin98.extension.step1.title"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
description: "wallet_connectors.coin98.extension.step2.description",
|
|
70
|
+
step: "create",
|
|
71
|
+
title: "wallet_connectors.coin98.extension.step2.title"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
description: "wallet_connectors.coin98.extension.step3.description",
|
|
75
|
+
step: "refresh",
|
|
76
|
+
title: "wallet_connectors.coin98.extension.step3.title"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
82
|
+
projectId,
|
|
83
|
+
walletConnectParameters
|
|
84
|
+
}) : getInjectedConnector({
|
|
85
|
+
namespace: "coin98Wallet",
|
|
86
|
+
flag: "isCoin98"
|
|
87
|
+
})
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export {
|
|
92
|
+
coin98Wallet
|
|
93
|
+
};
|