@dogeos/dogeos-sdk 1.0.4-beta.5 → 1.0.5-beta.0
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/dist/avalanche-MXEFEDSW.js +7 -0
- package/dist/berachain-5CWJ6ANK.js +7 -0
- package/dist/blast-TN2WIMWF.js +7 -0
- package/dist/celo-E6XU57FO.js +7 -0
- package/dist/{chunk-GTSOSA32.js → chunk-C5Q6FMMU.js} +0 -2
- package/dist/{chunk-4QQWBTY6.js → chunk-QVWJRUFG.js} +0 -2
- package/dist/components/AccountModal/AccountModal.d.ts.map +1 -1
- package/dist/components/Box/Box.d.ts +12 -12
- package/dist/components/FaucetModal/FaucetModal.d.ts.map +1 -1
- package/dist/components/QRCode/QRCode.d.ts +4 -2
- package/dist/components/QRCode/QRCode.d.ts.map +1 -1
- package/dist/components/RainbowKitProvider/provideRainbowKitChains.d.ts +0 -11
- package/dist/components/RainbowKitProvider/provideRainbowKitChains.d.ts.map +1 -1
- package/dist/components/useNetworkOptions/index.d.ts +2 -2
- package/dist/components/useNetworkOptions/index.d.ts.map +1 -1
- package/dist/config/getDefaultConfig.d.ts +1 -1
- package/dist/config/getDefaultConfig.d.ts.map +1 -1
- package/dist/cronos-ROYR77VZ.js +7 -0
- package/dist/css/reset.css.d.ts.map +1 -1
- package/dist/css/sprinkles.css.d.ts +12 -16
- package/dist/css/sprinkles.css.d.ts.map +1 -1
- package/dist/flow-NBCRNYVF.js +7 -0
- package/dist/gnosis-T7U5EW2Q.js +7 -0
- package/dist/hardhat-NEEC6JX7.js +7 -0
- package/dist/hooks/useDogeOSBalance.d.ts +21 -22
- package/dist/hooks/useDogeOSBalance.d.ts.map +1 -1
- package/dist/incSepolia-S5JYGQC6.js +7 -0
- package/dist/index.css +379 -469
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +993 -936
- package/dist/klaytn-QTDBZIB3.js +7 -0
- package/dist/manta-5V6W5D7G.js +7 -0
- package/dist/mantle-KBL3OIYT.js +7 -0
- package/dist/reddio-EM5W5KAD.js +7 -0
- package/dist/ronin-PNHX5V6H.js +7 -0
- package/dist/scroll-NMZWDUQH.js +7 -0
- package/dist/story-3V2DS7IG.js +7 -0
- package/dist/themes/darkTheme.d.ts.map +1 -1
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.d.ts.map +1 -1
- package/dist/themes/lightTheme.js +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/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/dawnWallet/dawnWallet.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 +50 -50
- 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/dist/xLayerMainnet-HFA3QTJU.js +7 -0
- package/dist/xdc-X7V4QFNF.js +7 -0
- package/dist/zetachain-BMJKVYBN.js +7 -0
- package/dist/zkSync-JL26RB7U.js +7 -0
- package/dist/zora-YZH32HP3.js +7 -0
- package/package.json +6 -7
- package/dist/components/AllChainsAddressModal/AllChainsAddressModal.d.ts +0 -9
- package/dist/components/AllChainsAddressModal/AllChainsAddressModal.d.ts.map +0 -1
- package/dist/components/AllChainsAddressModal/EvmChainItem.d.ts +0 -21
- package/dist/components/AllChainsAddressModal/EvmChainItem.d.ts.map +0 -1
- package/dist/utils/customChains.d.ts +0 -1597
- package/dist/utils/customChains.d.ts.map +0 -1
- package/dist/utils/getAddressByChainId.d.ts +0 -2
- package/dist/utils/getAddressByChainId.d.ts.map +0 -1
- package/dist/wallets/walletConnectors/chunk-265UVQVV.js +0 -68
- package/dist/wallets/walletConnectors/chunk-2CARHU3Q.js +0 -92
- package/dist/wallets/walletConnectors/chunk-2KIA372N.js +0 -95
- package/dist/wallets/walletConnectors/chunk-32NVGNZM.js +0 -99
- package/dist/wallets/walletConnectors/chunk-3RV2PDNU.js +0 -90
- package/dist/wallets/walletConnectors/chunk-BH3DH43L.js +0 -92
- package/dist/wallets/walletConnectors/chunk-C77FT77Y.js +0 -93
- package/dist/wallets/walletConnectors/chunk-FWKF7LPD.js +0 -107
- package/dist/wallets/walletConnectors/chunk-FZFBCMJX.js +0 -98
- package/dist/wallets/walletConnectors/chunk-GPSB5KPA.js +0 -63
- package/dist/wallets/walletConnectors/chunk-HOLACY3F.js +0 -68
- package/dist/wallets/walletConnectors/chunk-IQZBD6M4.js +0 -63
- package/dist/wallets/walletConnectors/chunk-JY4IF5AQ.js +0 -84
- package/dist/wallets/walletConnectors/chunk-L3O7BR5I.js +0 -105
- package/dist/wallets/walletConnectors/chunk-MD4POIVS.js +0 -93
- package/dist/wallets/walletConnectors/chunk-MFP2ILVQ.js +0 -93
- package/dist/wallets/walletConnectors/chunk-OP7MZATO.js +0 -100
- package/dist/wallets/walletConnectors/chunk-U37MS2YB.js +0 -88
- package/dist/wallets/walletConnectors/chunk-UID7XAQR.js +0 -143
- package/dist/wallets/walletConnectors/chunk-UW7FKY4Z.js +0 -27
- package/dist/wallets/walletConnectors/chunk-VFRUWZVT.js +0 -62
- package/dist/wallets/walletConnectors/chunk-WQIJIVN4.js +0 -91
- package/dist/wallets/walletConnectors/chunk-XAQXLPKN.js +0 -90
- package/dist/wallets/walletConnectors/chunk-XVUM5YFT.js +0 -93
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customChains.d.ts","sourceRoot":"","sources":["../../src/utils/customChains.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;CAIhB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;CAIhB,CAAC;AAEF,eAAO,MAAM,GAAG;;;;CAIf,CAAC;AAwBF,eAAO,MAAM,YAAY;;;;GAAqC,CAAC;AAC/D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAuB8uB,CAAC;;;;;;;;;;;;;;qCAAqnB,CAAC;;;;;;;;;;;;2BAAgrB,CAAC;+BAAgG,CAAC;;;;;;+EAA0O,CAA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CAAC;mCAA4D,CAAC;;;;gCAA6J,CAAC;4BAAqD,CAAC;oCAA6D,CAAC;0BAAmD,CAAC;oBAA6C,CAAC;0BAAmD,CAAC;;;;;;;;;;;;;;;;;;iCAAmyB,CAAC;mCAA4D,CAAC;;;wBAAmH,CAAC;gCAAyD,CAAC;;;0BAAuI,CAAC;oBAA6C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBn4U,CAAC;AAC/G,eAAO,MAAM,SAAS,UAarB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,SAAS,GAAG;;;;;GAK3C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getAddressByChainId.d.ts","sourceRoot":"","sources":["../../src/utils/getAddressByChainId.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,GAAI,UAAU,GAAG,EAAE,SAAS,MAAM,QAmBjE,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PJCRXY6L.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-RETKWSKD.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
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PJCRXY6L.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-75A5A7MH.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
14
|
-
var tokenPocketWallet = ({ projectId, walletConnectParameters }) => {
|
|
15
|
-
const isTokenPocketInjected = hasInjectedProvider({ flag: "isTokenPocket" });
|
|
16
|
-
const shouldUseWalletConnect = !isTokenPocketInjected;
|
|
17
|
-
const getUri = (uri) => {
|
|
18
|
-
return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
19
|
-
};
|
|
20
|
-
return {
|
|
21
|
-
id: "tokenPocket",
|
|
22
|
-
name: "TokenPocket",
|
|
23
|
-
rdns: "pro.tokenpocket",
|
|
24
|
-
iconUrl: async () => (await import("./tokenPocketWallet-BVMBOYTC.js")).default,
|
|
25
|
-
iconBackground: "#2980FE",
|
|
26
|
-
installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
|
|
27
|
-
downloadUrls: {
|
|
28
|
-
chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
|
|
29
|
-
browserExtension: "https://extension.tokenpocket.pro/",
|
|
30
|
-
android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
|
|
31
|
-
ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
|
|
32
|
-
qrCode: "https://tokenpocket.pro/en/download/app",
|
|
33
|
-
mobile: "https://tokenpocket.pro/en/download/app"
|
|
34
|
-
},
|
|
35
|
-
mobile: {
|
|
36
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
37
|
-
},
|
|
38
|
-
qrCode: shouldUseWalletConnect ? {
|
|
39
|
-
getUri,
|
|
40
|
-
instructions: {
|
|
41
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/",
|
|
42
|
-
steps: [
|
|
43
|
-
{
|
|
44
|
-
description: "wallet_connectors.token_pocket.qr_code.step1.description",
|
|
45
|
-
step: "install",
|
|
46
|
-
title: "wallet_connectors.token_pocket.qr_code.step1.title"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
description: "wallet_connectors.token_pocket.qr_code.step2.description",
|
|
50
|
-
step: "create",
|
|
51
|
-
title: "wallet_connectors.token_pocket.qr_code.step2.title"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
description: "wallet_connectors.token_pocket.qr_code.step3.description",
|
|
55
|
-
step: "scan",
|
|
56
|
-
title: "wallet_connectors.token_pocket.qr_code.step3.title"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
} : void 0,
|
|
61
|
-
extension: {
|
|
62
|
-
instructions: {
|
|
63
|
-
learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
|
|
64
|
-
steps: [
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.token_pocket.extension.step1.description",
|
|
67
|
-
step: "install",
|
|
68
|
-
title: "wallet_connectors.token_pocket.extension.step1.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.token_pocket.extension.step2.description",
|
|
72
|
-
step: "create",
|
|
73
|
-
title: "wallet_connectors.token_pocket.extension.step2.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.token_pocket.extension.step3.description",
|
|
77
|
-
step: "refresh",
|
|
78
|
-
title: "wallet_connectors.token_pocket.extension.step3.title"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
84
|
-
projectId,
|
|
85
|
-
walletConnectParameters
|
|
86
|
-
}) : getInjectedConnector({ flag: "isTokenPocket" })
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
tokenPocketWallet
|
|
92
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PJCRXY6L.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-75A5A7MH.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
|
|
14
|
-
var frontierWallet = ({ projectId, walletConnectParameters }) => {
|
|
15
|
-
const isFrontierInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "frontier.ethereum",
|
|
17
|
-
flag: "isFrontier"
|
|
18
|
-
});
|
|
19
|
-
const shouldUseWalletConnect = !isFrontierInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "frontier",
|
|
22
|
-
name: "Frontier Wallet",
|
|
23
|
-
rdns: "xyz.frontier.wallet",
|
|
24
|
-
installed: isFrontierInjected,
|
|
25
|
-
iconUrl: async () => (await import("./frontierWallet-HNIG7QYQ.js")).default,
|
|
26
|
-
iconBackground: "#CC703C",
|
|
27
|
-
downloadUrls: {
|
|
28
|
-
android: "https://play.google.com/store/apps/details?id=com.frontierwallet",
|
|
29
|
-
ios: "https://apps.apple.com/us/app/frontier-crypto-defi-wallet/id1482380988",
|
|
30
|
-
qrCode: "https://www.frontier.xyz/download",
|
|
31
|
-
chrome: "https://chrome.google.com/webstore/detail/frontier-wallet/kppfdiipphfccemcignhifpjkapfbihd",
|
|
32
|
-
browserExtension: "https://www.frontier.xyz/download"
|
|
33
|
-
},
|
|
34
|
-
mobile: {
|
|
35
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
36
|
-
return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
37
|
-
} : void 0
|
|
38
|
-
},
|
|
39
|
-
qrCode: shouldUseWalletConnect ? {
|
|
40
|
-
getUri: (uri) => {
|
|
41
|
-
return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
42
|
-
},
|
|
43
|
-
instructions: {
|
|
44
|
-
learnMoreUrl: "https://help.frontier.xyz/en/",
|
|
45
|
-
steps: [
|
|
46
|
-
{
|
|
47
|
-
description: "wallet_connectors.im_token.qr_code.step1.description",
|
|
48
|
-
step: "install",
|
|
49
|
-
title: "wallet_connectors.im_token.qr_code.step1.title"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
description: "wallet_connectors.im_token.qr_code.step2.description",
|
|
53
|
-
step: "create",
|
|
54
|
-
title: "wallet_connectors.im_token.qr_code.step2.title"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
description: "wallet_connectors.im_token.qr_code.step3.description",
|
|
58
|
-
step: "scan",
|
|
59
|
-
title: "wallet_connectors.im_token.qr_code.step3.title"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
} : void 0,
|
|
64
|
-
extension: {
|
|
65
|
-
instructions: {
|
|
66
|
-
learnMoreUrl: "https://help.frontier.xyz/en/articles/6967236-setting-up-frontier-on-your-device",
|
|
67
|
-
steps: [
|
|
68
|
-
{
|
|
69
|
-
description: "wallet_connectors.frontier.extension.step1.description",
|
|
70
|
-
step: "install",
|
|
71
|
-
title: "wallet_connectors.frontier.extension.step1.title"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
description: "wallet_connectors.frontier.extension.step2.description",
|
|
75
|
-
step: "create",
|
|
76
|
-
title: "wallet_connectors.frontier.extension.step2.title"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
description: "wallet_connectors.frontier.extension.step3.description",
|
|
80
|
-
step: "refresh",
|
|
81
|
-
title: "wallet_connectors.frontier.extension.step3.title"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({ projectId, walletConnectParameters }) : getInjectedConnector({
|
|
87
|
-
namespace: "frontier.ethereum",
|
|
88
|
-
flag: "isFrontier"
|
|
89
|
-
})
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
frontierWallet
|
|
95
|
-
};
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PJCRXY6L.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-75A5A7MH.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
|
|
14
|
-
var zerionWallet = ({ projectId, walletConnectParameters }) => {
|
|
15
|
-
const isZerionInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "zerionWallet",
|
|
17
|
-
flag: "isZerion"
|
|
18
|
-
});
|
|
19
|
-
const shouldUseWalletConnect = !isZerionInjected;
|
|
20
|
-
const getUri = (uri) => {
|
|
21
|
-
return isIOS() ? `zerion://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
id: "zerion",
|
|
25
|
-
name: "Zerion",
|
|
26
|
-
rdns: "io.zerion.wallet",
|
|
27
|
-
iconUrl: async () => (await import("./zerionWallet-CYFHB5PA.js")).default,
|
|
28
|
-
iconAccent: "#2962ef",
|
|
29
|
-
iconBackground: "#2962ef",
|
|
30
|
-
installed: !shouldUseWalletConnect ? isZerionInjected : void 0,
|
|
31
|
-
downloadUrls: {
|
|
32
|
-
android: "https://play.google.com/store/apps/details?id=io.zerion.android",
|
|
33
|
-
ios: "https://apps.apple.com/app/apple-store/id1456732565",
|
|
34
|
-
mobile: "https://link.zerion.io/pt3gdRP0njb",
|
|
35
|
-
qrCode: "https://link.zerion.io/pt3gdRP0njb",
|
|
36
|
-
chrome: "https://chrome.google.com/webstore/detail/klghhnkeealcohjjanjjdaeeggmfmlpl",
|
|
37
|
-
browserExtension: "https://zerion.io/extension"
|
|
38
|
-
},
|
|
39
|
-
mobile: {
|
|
40
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
41
|
-
},
|
|
42
|
-
qrCode: shouldUseWalletConnect ? {
|
|
43
|
-
getUri,
|
|
44
|
-
instructions: {
|
|
45
|
-
learnMoreUrl: "https://zerion.io/blog/announcing-the-zerion-smart-wallet/",
|
|
46
|
-
steps: [
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.zerion.qr_code.step1.description",
|
|
49
|
-
step: "install",
|
|
50
|
-
title: "wallet_connectors.zerion.qr_code.step1.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.zerion.qr_code.step2.description",
|
|
54
|
-
step: "create",
|
|
55
|
-
title: "wallet_connectors.zerion.qr_code.step2.title"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
description: "wallet_connectors.zerion.qr_code.step3.description",
|
|
59
|
-
step: "scan",
|
|
60
|
-
title: "wallet_connectors.zerion.qr_code.step3.title"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
} : void 0,
|
|
65
|
-
extension: {
|
|
66
|
-
instructions: {
|
|
67
|
-
learnMoreUrl: "https://help.zerion.io/en/",
|
|
68
|
-
steps: [
|
|
69
|
-
{
|
|
70
|
-
description: "wallet_connectors.zerion.extension.step1.description",
|
|
71
|
-
step: "install",
|
|
72
|
-
title: "wallet_connectors.zerion.extension.step1.title"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
description: "wallet_connectors.zerion.extension.step2.description",
|
|
76
|
-
step: "create",
|
|
77
|
-
title: "wallet_connectors.zerion.extension.step2.title"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
description: "wallet_connectors.zerion.extension.step3.description",
|
|
81
|
-
step: "refresh",
|
|
82
|
-
title: "wallet_connectors.zerion.extension.step3.title"
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
88
|
-
projectId,
|
|
89
|
-
walletConnectParameters
|
|
90
|
-
}) : getInjectedConnector({
|
|
91
|
-
namespace: "zerionWallet",
|
|
92
|
-
flag: "isZerion"
|
|
93
|
-
})
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
export {
|
|
98
|
-
zerionWallet
|
|
99
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
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
|
-
};
|