@funkit/connect 1.0.17 → 1.0.18
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/CHANGELOG.md +9 -0
- package/dist/components/FunInput/FunTwoFaInput.d.ts +2 -1
- package/dist/index.js +145 -95
- package/dist/utils/payment.d.ts +10 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +27 -0
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +98 -0
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.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 +72 -72
- 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/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +1 -1
- package/dist/wallets/walletConnectors/chunk-4FQLUQNA.js +0 -96
- package/dist/wallets/walletConnectors/chunk-JLQ5HJYV.js +0 -94
- package/dist/wallets/walletConnectors/chunk-LVRXH33E.js +0 -92
- package/dist/wallets/walletConnectors/chunk-MIWCKFYE.js +0 -87
- package/dist/wallets/walletConnectors/chunk-Q4RLUJJD.js +0 -66
- package/dist/wallets/walletConnectors/chunk-SYELB4QO.js +0 -107
- package/dist/wallets/walletConnectors/chunk-ZBAQFL6G.js +0 -102
- package/dist/wallets/walletConnectors/chunk-ZUAHWUEL.js +0 -98
- package/dist/wallets/walletConnectors/{chunk-V45EXW7A.js → chunk-2PC2XXUH.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-ZNXQ4V6G.js → chunk-75A2U7T7.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-O5NKWWEG.js → chunk-FDIIMYTB.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-AM4SSLAP.js → chunk-N3VZE65M.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-Z2DGDHHZ.js → chunk-OAEJQOAV.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2UXZAUWT.js → chunk-OR3PU2W4.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-6LTLPR2Q.js → chunk-SL4VH23R.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-7CQPABJG.js → chunk-SQGFKNNZ.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-3WZRNEZH.js → chunk-X255T3C4.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-NGXIHASN.js → chunk-XSSD5ZVD.js} +4 -4
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
hasInjectedProvider
|
|
4
|
+
} from "./chunk-QII6PY2D.js";
|
|
5
|
+
import {
|
|
6
|
+
isIOS
|
|
7
|
+
} from "./chunk-ZOLACFTK.js";
|
|
8
|
+
|
|
9
|
+
// src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts
|
|
10
|
+
import { createConnector } from "wagmi";
|
|
11
|
+
import { coinbaseWallet as coinbaseWagmiWallet } from "wagmi/connectors";
|
|
12
|
+
var coinbaseWallet = ({
|
|
13
|
+
appName,
|
|
14
|
+
appIcon
|
|
15
|
+
}) => {
|
|
16
|
+
const isCoinbaseWalletInjected = hasInjectedProvider({
|
|
17
|
+
flag: "isCoinbaseWallet"
|
|
18
|
+
});
|
|
19
|
+
const getUri = (uri) => uri;
|
|
20
|
+
const ios = isIOS();
|
|
21
|
+
return {
|
|
22
|
+
id: "coinbase",
|
|
23
|
+
name: "Coinbase Wallet",
|
|
24
|
+
shortName: "Coinbase",
|
|
25
|
+
rdns: "com.coinbase.wallet",
|
|
26
|
+
iconUrl: async () => (await import("./coinbaseWallet-2OUR5TUP.js")).default,
|
|
27
|
+
iconAccent: "#2c5ff6",
|
|
28
|
+
iconBackground: "#2c5ff6",
|
|
29
|
+
installed: isCoinbaseWalletInjected || void 0,
|
|
30
|
+
downloadUrls: {
|
|
31
|
+
android: "https://play.google.com/store/apps/details?id=org.toshi",
|
|
32
|
+
ios: "https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",
|
|
33
|
+
mobile: "https://coinbase.com/wallet/downloads",
|
|
34
|
+
qrCode: "https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",
|
|
35
|
+
chrome: "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",
|
|
36
|
+
browserExtension: "https://coinbase.com/wallet"
|
|
37
|
+
},
|
|
38
|
+
...ios ? {} : {
|
|
39
|
+
qrCode: {
|
|
40
|
+
getUri,
|
|
41
|
+
instructions: {
|
|
42
|
+
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-mobile",
|
|
43
|
+
steps: [
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.coinbase.qr_code.step1.description",
|
|
46
|
+
step: "install",
|
|
47
|
+
title: "wallet_connectors.coinbase.qr_code.step1.title"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
description: "wallet_connectors.coinbase.qr_code.step2.description",
|
|
51
|
+
step: "create",
|
|
52
|
+
title: "wallet_connectors.coinbase.qr_code.step2.title"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
description: "wallet_connectors.coinbase.qr_code.step3.description",
|
|
56
|
+
step: "scan",
|
|
57
|
+
title: "wallet_connectors.coinbase.qr_code.step3.title"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
extension: {
|
|
63
|
+
instructions: {
|
|
64
|
+
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-extension",
|
|
65
|
+
steps: [
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.coinbase.extension.step1.description",
|
|
68
|
+
step: "install",
|
|
69
|
+
title: "wallet_connectors.coinbase.extension.step1.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.coinbase.extension.step2.description",
|
|
73
|
+
step: "create",
|
|
74
|
+
title: "wallet_connectors.coinbase.extension.step2.title"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: "wallet_connectors.coinbase.extension.step3.description",
|
|
78
|
+
step: "refresh",
|
|
79
|
+
title: "wallet_connectors.coinbase.extension.step3.title"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
createConnector: (walletDetails) => createConnector((config) => ({
|
|
86
|
+
...coinbaseWagmiWallet({
|
|
87
|
+
appName,
|
|
88
|
+
appLogoUrl: appIcon,
|
|
89
|
+
headlessMode: true
|
|
90
|
+
})(config),
|
|
91
|
+
...walletDetails
|
|
92
|
+
}))
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export {
|
|
97
|
+
coinbaseWallet
|
|
98
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-ZOLACFTK.js";
|
|
4
|
+
} from "../chunk-N3VZE65M.js";
|
|
6
5
|
import "../chunk-QII6PY2D.js";
|
|
6
|
+
import "../chunk-ZOLACFTK.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -1,40 +1,46 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
zealWallet
|
|
4
|
+
} from "./chunk-DPXMP5KS.js";
|
|
5
5
|
import {
|
|
6
6
|
xdefiWallet
|
|
7
7
|
} from "./chunk-L734HTUS.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
zerionWallet
|
|
10
|
+
} from "./chunk-SQGFKNNZ.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
13
|
} from "./chunk-2GAW2UBU.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
trustWallet
|
|
19
|
-
} from "./chunk-CRSPGVPF.js";
|
|
15
|
+
tahoWallet
|
|
16
|
+
} from "./chunk-H76YCX2M.js";
|
|
20
17
|
import {
|
|
21
18
|
talismanWallet
|
|
22
19
|
} from "./chunk-H273OTQA.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
tokenaryWallet
|
|
22
|
+
} from "./chunk-ENZLEAG2.js";
|
|
26
23
|
import {
|
|
27
24
|
tokenPocketWallet
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OR3PU2W4.js";
|
|
29
26
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
27
|
+
uniswapWallet
|
|
28
|
+
} from "./chunk-XRSY4JVH.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
30
|
+
trustWallet
|
|
31
|
+
} from "./chunk-OAEJQOAV.js";
|
|
32
|
+
import {
|
|
33
|
+
walletConnectWallet
|
|
34
|
+
} from "./chunk-ASPRR7T3.js";
|
|
35
|
+
import {
|
|
36
|
+
rabbyWallet
|
|
37
|
+
} from "./chunk-XPEBP6XV.js";
|
|
35
38
|
import {
|
|
36
39
|
rainbowWallet
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FDIIMYTB.js";
|
|
41
|
+
import {
|
|
42
|
+
phantomWallet
|
|
43
|
+
} from "./chunk-KGBLSE7L.js";
|
|
38
44
|
import {
|
|
39
45
|
ramperWallet
|
|
40
46
|
} from "./chunk-ZOL6ZMTJ.js";
|
|
@@ -47,107 +53,101 @@ import {
|
|
|
47
53
|
import {
|
|
48
54
|
safeheronWallet
|
|
49
55
|
} from "./chunk-63NPZXAL.js";
|
|
50
|
-
import {
|
|
51
|
-
phantomWallet
|
|
52
|
-
} from "./chunk-KGBLSE7L.js";
|
|
53
56
|
import {
|
|
54
57
|
safepalWallet
|
|
55
58
|
} from "./chunk-RTW6PVQI.js";
|
|
56
|
-
import {
|
|
57
|
-
tahoWallet
|
|
58
|
-
} from "./chunk-H76YCX2M.js";
|
|
59
|
-
import {
|
|
60
|
-
mewWallet
|
|
61
|
-
} from "./chunk-PWYTDYBE.js";
|
|
62
59
|
import {
|
|
63
60
|
metaMaskWallet
|
|
64
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-X255T3C4.js";
|
|
65
62
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
63
|
+
okxWallet
|
|
64
|
+
} from "./chunk-XSSD5ZVD.js";
|
|
68
65
|
import {
|
|
69
66
|
oktoWallet
|
|
70
67
|
} from "./chunk-WKHTUEF5.js";
|
|
71
68
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
69
|
+
injectedWallet
|
|
70
|
+
} from "./chunk-KIHCNUU3.js";
|
|
74
71
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
72
|
+
omniWallet
|
|
73
|
+
} from "./chunk-SVN7OEQR.js";
|
|
74
|
+
import {
|
|
75
|
+
mewWallet
|
|
76
|
+
} from "./chunk-PWYTDYBE.js";
|
|
77
77
|
import {
|
|
78
78
|
oneInchWallet
|
|
79
79
|
} from "./chunk-LCPIZUR3.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
oneKeyWallet
|
|
82
|
+
} from "./chunk-4WOV4ITL.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
frameWallet
|
|
85
|
+
} from "./chunk-XXFJVY73.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-OKWOB3DN.js";
|
|
89
89
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
90
|
+
enkryptWallet
|
|
91
|
+
} from "./chunk-FLY7F4XA.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
93
|
+
gateWallet
|
|
94
|
+
} from "./chunk-2PC2XXUH.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-5MVV7OVS.js";
|
|
98
|
-
import {
|
|
99
|
-
gateWallet
|
|
100
|
-
} from "./chunk-VSZ7PAHS.js";
|
|
101
98
|
import {
|
|
102
99
|
kresusWallet
|
|
103
100
|
} from "./chunk-X6T3CICZ.js";
|
|
104
101
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
102
|
+
ledgerWallet
|
|
103
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
107
104
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
clvWallet
|
|
106
|
+
} from "./chunk-T6JVHES7.js";
|
|
110
107
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
108
|
+
argentWallet
|
|
109
|
+
} from "./chunk-NZ5G23JP.js";
|
|
113
110
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
111
|
+
bybitWallet
|
|
112
|
+
} from "./chunk-CUKVUCIP.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
dawnWallet
|
|
115
|
+
} from "./chunk-VWZEDVW6.js";
|
|
119
116
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
117
|
+
coinbaseWallet
|
|
118
|
+
} from "./chunk-YC7XNS7C.js";
|
|
119
|
+
import {
|
|
120
|
+
coreWallet
|
|
121
|
+
} from "./chunk-IBWFKX7P.js";
|
|
122
122
|
import {
|
|
123
123
|
frontierWallet
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-N3VZE65M.js";
|
|
125
125
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
126
|
+
desigWallet
|
|
127
|
+
} from "./chunk-P4JLZ42R.js";
|
|
128
128
|
import {
|
|
129
129
|
bitgetWallet
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-75A2U7T7.js";
|
|
131
|
+
import {
|
|
132
|
+
bitverseWallet
|
|
133
|
+
} from "./chunk-NL4I7WOT.js";
|
|
131
134
|
import {
|
|
132
135
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-SL4VH23R.js";
|
|
134
137
|
import {
|
|
135
138
|
braveWallet
|
|
136
139
|
} from "./chunk-ABYQAXUX.js";
|
|
140
|
+
import {
|
|
141
|
+
coin98Wallet
|
|
142
|
+
} from "./chunk-Z2HIQYVN.js";
|
|
137
143
|
import {
|
|
138
144
|
bitskiWallet
|
|
139
145
|
} from "./chunk-C67TQJ6W.js";
|
|
146
|
+
import "./chunk-QII6PY2D.js";
|
|
140
147
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import {
|
|
144
|
-
argentWallet
|
|
145
|
-
} from "./chunk-NZ5G23JP.js";
|
|
148
|
+
bloomWallet
|
|
149
|
+
} from "./chunk-NTGZF5BY.js";
|
|
146
150
|
import "./chunk-ZOLACFTK.js";
|
|
147
|
-
import {
|
|
148
|
-
coin98Wallet
|
|
149
|
-
} from "./chunk-Z2HIQYVN.js";
|
|
150
|
-
import "./chunk-QII6PY2D.js";
|
|
151
151
|
import "./chunk-ZDU3JFGR.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-ZOLACFTK.js";
|
|
4
|
+
} from "../chunk-X255T3C4.js";
|
|
6
5
|
import "../chunk-QII6PY2D.js";
|
|
6
|
+
import "../chunk-ZOLACFTK.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-ZOLACFTK.js";
|
|
4
|
+
} from "../chunk-FDIIMYTB.js";
|
|
6
5
|
import "../chunk-QII6PY2D.js";
|
|
6
|
+
import "../chunk-ZOLACFTK.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-ZOLACFTK.js";
|
|
4
|
+
} from "../chunk-OR3PU2W4.js";
|
|
6
5
|
import "../chunk-QII6PY2D.js";
|
|
6
|
+
import "../chunk-ZOLACFTK.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-ZOLACFTK.js";
|
|
4
|
+
} from "../chunk-OAEJQOAV.js";
|
|
6
5
|
import "../chunk-QII6PY2D.js";
|
|
6
|
+
import "../chunk-ZOLACFTK.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-ZOLACFTK.js";
|
|
4
|
+
} from "../chunk-SQGFKNNZ.js";
|
|
6
5
|
import "../chunk-QII6PY2D.js";
|
|
6
|
+
import "../chunk-ZOLACFTK.js";
|
|
7
7
|
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
package/package.json
CHANGED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-ZDU3JFGR.js";
|
|
5
|
-
import {
|
|
6
|
-
getInjectedConnector,
|
|
7
|
-
hasInjectedProvider
|
|
8
|
-
} from "./chunk-QII6PY2D.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
|
|
11
|
-
var coin98Wallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCoin98WalletInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "coin98.provider",
|
|
17
|
-
flag: "isCoin98"
|
|
18
|
-
});
|
|
19
|
-
const shouldUseWalletConnect = !isCoin98WalletInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "coin98",
|
|
22
|
-
name: "Coin98 Wallet",
|
|
23
|
-
iconUrl: async () => (await import("./coin98Wallet-7Q4WNBWR.js")).default,
|
|
24
|
-
installed: isCoin98WalletInjected,
|
|
25
|
-
iconAccent: "#CDA349",
|
|
26
|
-
iconBackground: "#fff",
|
|
27
|
-
rdns: "coin98.com",
|
|
28
|
-
downloadUrls: {
|
|
29
|
-
android: "https://play.google.com/store/apps/details?id=coin98.crypto.finance.media",
|
|
30
|
-
ios: "https://apps.apple.com/vn/app/coin98-super-app/id1561969966",
|
|
31
|
-
mobile: "https://coin98.com/wallet",
|
|
32
|
-
qrCode: "https://coin98.com/wallet",
|
|
33
|
-
chrome: "https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg",
|
|
34
|
-
browserExtension: "https://coin98.com/wallet"
|
|
35
|
-
},
|
|
36
|
-
mobile: {
|
|
37
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
38
|
-
},
|
|
39
|
-
qrCode: shouldUseWalletConnect ? {
|
|
40
|
-
getUri: (uri) => uri,
|
|
41
|
-
instructions: {
|
|
42
|
-
learnMoreUrl: "https://coin98.com/wallet",
|
|
43
|
-
steps: [
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.coin98.qr_code.step1.description",
|
|
46
|
-
step: "install",
|
|
47
|
-
title: "wallet_connectors.coin98.qr_code.step1.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.coin98.qr_code.step2.description",
|
|
51
|
-
step: "create",
|
|
52
|
-
title: "wallet_connectors.coin98.qr_code.step2.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.coin98.qr_code.step3.description",
|
|
56
|
-
step: "scan",
|
|
57
|
-
title: "wallet_connectors.coin98.qr_code.step3.title"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
} : void 0,
|
|
62
|
-
extension: {
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://coin98.com/wallet",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.coin98.extension.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.coin98.extension.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.coin98.extension.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.coin98.extension.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.coin98.extension.step3.description",
|
|
78
|
-
step: "refresh",
|
|
79
|
-
title: "wallet_connectors.coin98.extension.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
85
|
-
projectId,
|
|
86
|
-
walletConnectParameters
|
|
87
|
-
}) : getInjectedConnector({
|
|
88
|
-
namespace: "coin98Wallet",
|
|
89
|
-
flag: "isCoin98"
|
|
90
|
-
})
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
export {
|
|
95
|
-
coin98Wallet
|
|
96
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-ZDU3JFGR.js";
|
|
5
|
-
import {
|
|
6
|
-
getInjectedConnector,
|
|
7
|
-
hasInjectedProvider
|
|
8
|
-
} from "./chunk-QII6PY2D.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/coreWallet/coreWallet.ts
|
|
11
|
-
var coreWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCoreInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "avalanche",
|
|
17
|
-
flag: "isAvalanche"
|
|
18
|
-
});
|
|
19
|
-
const shouldUseWalletConnect = !isCoreInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "core",
|
|
22
|
-
name: "Core",
|
|
23
|
-
iconUrl: async () => (await import("./coreWallet-HRVLR2XS.js")).default,
|
|
24
|
-
iconBackground: "#1A1A1C",
|
|
25
|
-
installed: !shouldUseWalletConnect ? isCoreInjected : void 0,
|
|
26
|
-
downloadUrls: {
|
|
27
|
-
android: "https://play.google.com/store/apps/details?id=com.avaxwallet",
|
|
28
|
-
ios: "https://apps.apple.com/us/app/core-wallet/id6443685999",
|
|
29
|
-
mobile: "https://core.app/?downloadCoreMobile=1",
|
|
30
|
-
qrCode: "https://core.app/?downloadCoreMobile=1",
|
|
31
|
-
chrome: "https://chrome.google.com/webstore/detail/core-crypto-wallet-nft-ex/agoakfejjabomempkjlepdflaleeobhb",
|
|
32
|
-
browserExtension: "https://extension.core.app/"
|
|
33
|
-
},
|
|
34
|
-
mobile: {
|
|
35
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
36
|
-
},
|
|
37
|
-
qrCode: shouldUseWalletConnect ? {
|
|
38
|
-
getUri: (uri) => uri,
|
|
39
|
-
instructions: {
|
|
40
|
-
learnMoreUrl: "https://support.avax.network/en/articles/6115608-core-mobile-how-to-add-the-core-mobile-to-my-phone",
|
|
41
|
-
steps: [
|
|
42
|
-
{
|
|
43
|
-
description: "wallet_connectors.core.qr_code.step1.description",
|
|
44
|
-
step: "install",
|
|
45
|
-
title: "wallet_connectors.core.qr_code.step1.title"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.core.qr_code.step2.description",
|
|
49
|
-
step: "create",
|
|
50
|
-
title: "wallet_connectors.core.qr_code.step2.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.core.qr_code.step3.description",
|
|
54
|
-
step: "scan",
|
|
55
|
-
title: "wallet_connectors.core.qr_code.step3.title"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
} : void 0,
|
|
60
|
-
extension: {
|
|
61
|
-
instructions: {
|
|
62
|
-
learnMoreUrl: "https://extension.core.app/",
|
|
63
|
-
steps: [
|
|
64
|
-
{
|
|
65
|
-
description: "wallet_connectors.core.extension.step1.description",
|
|
66
|
-
step: "install",
|
|
67
|
-
title: "wallet_connectors.core.extension.step1.title"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
description: "wallet_connectors.core.extension.step2.description",
|
|
71
|
-
step: "create",
|
|
72
|
-
title: "wallet_connectors.core.extension.step2.title"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
description: "wallet_connectors.core.extension.step3.description",
|
|
76
|
-
step: "refresh",
|
|
77
|
-
title: "wallet_connectors.core.extension.step3.title"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
83
|
-
projectId,
|
|
84
|
-
walletConnectParameters
|
|
85
|
-
}) : getInjectedConnector({
|
|
86
|
-
namespace: "avalanche",
|
|
87
|
-
flag: "isAvalanche"
|
|
88
|
-
})
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export {
|
|
93
|
-
coreWallet
|
|
94
|
-
};
|