You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The communications protocol for web3, WalletConnect brings the ecosystem together by enabling hundreds of wallets and apps to securely connect and interact. This repository contains Kotlin implementation of
6
-
WalletConnect v2 protocols for Android applications.
3
+
# **Deprecated - WalletConnect - Kotlin**
4
+
WalletConnect Inc is now Reown. As part of this transition, we are deprecating a number of repositories/packages across our supported platforms, and transitioning to their equivalents published under the Reown organization.
7
5
6
+
This repository is now considered deprecated and will reach End-of-Life on February 17th 2025. For more details, including migration guides please see: https://docs.reown.com/advanced/walletconnect-deprecations
@Deprecated("com.walletconnect.android.CoreClient has been deprecated. Please use com.reown.android.CoreClient instead from - https://github.com/reown-com/reown-kotlin")
3
4
object CoreClient : CoreInterface by CoreProtocol.instance {
4
5
6
+
@Deprecated("com.walletconnect.android.CoreDelegate has been deprecated. Please use com.reown.android.CoreDelegate instead from - https://github.com/reown-com/reown-kotlin")
@Deprecated("com.walletconnect.android.CoreInterface has been deprecated. Please use com.reown.android.CoreInterface instead from - https://github.com/reown-com/reown-kotlin")
13
14
interfaceCoreInterface {
14
15
valPairing:PairingInterface
15
16
valPairingController:PairingControllerInterface
@@ -20,10 +21,13 @@ interface CoreInterface {
20
21
valVerify:VerifyInterface
21
22
valExplorer:ExplorerInterface
22
23
24
+
@Deprecated("com.walletconnect.android.CoreInterface has been deprecated. Please use com.reown.android.CoreInterface instead from - https://github.com/reown-com/reown-kotlin")
23
25
interfaceDelegate : PairingInterface.Delegate
24
26
27
+
@Deprecated("com.walletconnect.android.CoreInterface has been deprecated. Please use com.reown.android.CoreInterface instead from - https://github.com/reown-com/reown-kotlin")
25
28
funsetDelegate(delegate:Delegate)
26
29
30
+
@Deprecated("com.walletconnect.android.CoreClient has been deprecated. Please use com.reown.android.CoreClient instead from - https://github.com/reown-com/reown-kotlin")
27
31
funinitialize(
28
32
metaData:Core.Model.AppMetaData,
29
33
relayServerUrl:String,
@@ -36,6 +40,7 @@ interface CoreInterface {
36
40
onError: (Core.Model.Error) ->Unit,
37
41
)
38
42
43
+
@Deprecated("com.walletconnect.android.CoreClient has been deprecated. Please use com.reown.android.CoreClient instead from - https://github.com/reown-com/reown-kotlin")
Copy file name to clipboardExpand all lines: core/android/src/main/kotlin/com/walletconnect/android/CoreProtocol.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ class CoreProtocol(private val koinApp: KoinApplication = wcKoinApp) : CoreInter
57
57
plantTimber()
58
58
}
59
59
60
+
@Deprecated("com.walletconnect.android.CoreClient has been deprecated. Please use com.reown.android.CoreClient instead from - https://github.com/reown-com/reown-kotlin")
@@ -65,6 +66,7 @@ class CoreProtocol(private val koinApp: KoinApplication = wcKoinApp) : CoreInter
65
66
val instance =CoreProtocol()
66
67
}
67
68
69
+
@Deprecated("com.walletconnect.android.CoreClient has been deprecated. Please use com.reown.android.CoreClient instead from - https://github.com/reown-com/reown-kotlin")
68
70
overridefuninitialize(
69
71
metaData:Core.Model.AppMetaData,
70
72
relayServerUrl:String,
@@ -96,6 +98,7 @@ class CoreProtocol(private val koinApp: KoinApplication = wcKoinApp) : CoreInter
96
98
}
97
99
}
98
100
101
+
@Deprecated("com.walletconnect.android.CoreClient has been deprecated. Please use com.reown.android.CoreClient instead from - https://github.com/reown-com/reown-kotlin")
@Deprecated("com.walletconnect.android.relay.RelayClient has been deprecated. Please use com.reown.android.relay.RelayClient instead from - https://github.com/reown-com/reown-kotlin")
@Deprecated("com.walletconnect.android.relay.RelayConnectionInterface has been deprecated. Please use com.reown.android.relay.RelayConnectionInterface instead from - https://github.com/reown-com/reown-kotlin")
@Deprecated("com.walletconnect.web3.modal.client.Wallet has been deprecated. Please use com.reown.appkit.client.Modal instead from - https://github.com/reown-com/reown-kotlin")
@Deprecated("This package is now considered deprecated and will reach End-of-Life on February 17th 2025. For more details, including migration guides please see: docs.reown.com")
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.ModalDelegate"))
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.ComponentDelegate"))
67
70
interfaceComponentDelegate {
68
71
funonModalExpanded()
69
72
70
73
funonModalHidden()
71
74
72
75
}
73
76
77
+
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.initialize(init, onSuccess, onError)"))
74
78
funinitialize(
75
79
init: Modal.Params.Init,
76
80
onSuccess: () ->Unit = {},
@@ -91,12 +95,14 @@ object Web3Modal {
91
95
)
92
96
}
93
97
98
+
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.register(activity)"))
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.unregister()"))
100
106
@Experimental
101
107
fununregister() {
102
108
checkEngineInitialization()
@@ -135,18 +141,22 @@ object Web3Modal {
135
141
}
136
142
}
137
143
144
+
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.setChains(chains)"))
138
145
funsetChains(chains:List<Modal.Model.Chain>) {
139
146
this.chains = chains
140
147
}
141
148
149
+
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.setAuthRequestParams(authParams)"))
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.setSessionProperties(properties)"))
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.setDelegate(delegate)"))
@Deprecated("Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin", replaceWith =ReplaceWith("AppKit.connect(connect, onSuccess, onError)"))
192
203
funconnect(
193
204
connect:Modal.Params.Connect,
194
205
onSuccess: (String) ->Unit,
@@ -201,6 +212,10 @@ object Web3Modal {
201
212
)
202
213
}
203
214
215
+
@Deprecated(
216
+
"Web3Modal has been deprecated. Please use AppKit instead from - https://github.com/reown-com/reown-kotlin",
@Deprecated("com.walletconnect.web3.modal.client.models.Account has been deprecated. Please use com.reown.appkit.client.models.Account instead from - https://github.com/reown-com/reown-kotlin")
0 commit comments