Skip to content

Commit

Permalink
Fix minor typo. (#1780)
Browse files Browse the repository at this point in the history
Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
  • Loading branch information
bgravenorst authored Dec 17, 2024
1 parent 1e2f55d commit c30059a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wallet/connect/metamask-sdk/mobile/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class SomeModel(context: Context) {

// To use your own node (for example, with Hardhat) to make read-only requests, specify your
// node's chain ID and RPC URL using the readonlyRPCMap option in SDKOptions.
val readonlyRPCMap = mapOf("0x1" to "hptts://www.testrpc.com")
val readonlyRPCMap = mapOf("0x1" to "https://www.testrpc.com")

// Use callbacks.
val ethereum = Ethereum(context, dappMetadata, SDKOptions(infuraAPIKey, readonlyRPCMap))
Expand Down Expand Up @@ -124,7 +124,7 @@ class SomeModel(context: Context) {

// To use your own node (for example, with Hardhat) to make read-only requests, specify your
// node's chain ID and RPC URL using the readonlyRPCMap option in SDKOptions.
val readonlyRPCMap = mapOf("0x1" to "hptts://www.testrpc.com")
val readonlyRPCMap = mapOf("0x1" to "https://www.testrpc.com")

// Use coroutines.
val coroutineScope = rememberCoroutineScope()
Expand Down Expand Up @@ -197,8 +197,8 @@ class EthereumFlowViewModel @Inject constructor(
): ViewModel() {

val ethereumFlow: Flow<EthereumState> get() = ethereum.ethereumState
// Wrapper function to connect the dapp.

// Wrapper function to connect the dapp.
suspend fun connect(): Result {
return ethereum.connect()
}
Expand Down

0 comments on commit c30059a

Please sign in to comment.