Skip to content

Commit

Permalink
Update zcash-sdk to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abdrasulov authored and abdrasulov committed May 29, 2024
1 parent 5f53e9e commit eef9476
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ android {
}

compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
Expand Down Expand Up @@ -276,7 +277,8 @@ dependencies {
implementation 'com.github.horizontalsystems:solana-kit-android:d8bb9f2'
implementation 'com.github.horizontalsystems:tron-kit-android:dc3dca7'
// Zcash SDK
implementation "cash.z.ecc.android:zcash-android-sdk:2.0.1"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
implementation "cash.z.ecc.android:zcash-android-sdk:2.1.1"
implementation("io.github.binance:binance-connector-java:3.0.0rc2") {
exclude group: "org.bouncycastle", module: "bcprov-jdk18on"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import cash.z.ecc.android.sdk.model.PercentDecimal
import cash.z.ecc.android.sdk.model.WalletBalance
import cash.z.ecc.android.sdk.model.Zatoshi
import cash.z.ecc.android.sdk.model.ZcashNetwork
import cash.z.ecc.android.sdk.model.defaultForNetwork
import cash.z.ecc.android.sdk.tool.DerivationTool
import cash.z.ecc.android.sdk.type.AddressType
import co.electriccoin.lightwallet.client.model.LightWalletEndpoint
Expand Down Expand Up @@ -66,7 +65,7 @@ class ZcashAdapter(
private val decimalCount = 8
private val network: ZcashNetwork = ZcashNetwork.Mainnet
private val feeChangeHeight: Long = 1_077_550
private val lightWalletEndpoint = LightWalletEndpoint.defaultForNetwork(network)
private val lightWalletEndpoint = LightWalletEndpoint(host = "zec.rocks", port = 443, isSecure = true)

private val synchronizer: CloseableSynchronizer
private val transactionsProvider: ZcashTransactionsProvider
Expand Down

0 comments on commit eef9476

Please sign in to comment.