Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cartera/src/main/java/exchange/dydx/cartera/CarteraConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,7 @@ data class WalletSegueConfig(

data class PhantomWalletConfig(
val callbackUrl: String,
val appUrl: String
val appUrl: String,
val solanaMainnetUrl: String? = null,
val solanaTestnetUrl: String? = null,
)
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ class PhantomWalletProvider(
val isMainnet = request.walletRequest.chainId == "1"
val solanaInteractor = SolanaInteractor(
rpcUrl = if (isMainnet) {
SolanaInteractor.mainnetUrl
phantomWalletConfig.solanaMainnetUrl ?: SolanaInteractor.mainnetUrl
} else {
SolanaInteractor.devnetUrl
phantomWalletConfig.solanaTestnetUrl ?: SolanaInteractor.devnetUrl
},
)

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ android.nonTransitiveRClass=true

LIBRARY_GROUP=dydxprotocol
LIBRARY_ARTIFACT_ID=cartera-android
LIBRARY_VERSION_NAME=0.1.24
LIBRARY_VERSION_NAME=0.1.25

android.enableR8.fullMode = false
Loading