From af9513c839b7bcd3f08d9b99828478349ca5eba5 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 20 Sep 2024 08:14:54 -0500 Subject: [PATCH] update todos --- .../src/main/java/com/example/walletapp/StarknetClient.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wallet_app/android/app/src/main/java/com/example/walletapp/StarknetClient.kt b/wallet_app/android/app/src/main/java/com/example/walletapp/StarknetClient.kt index 22ec2cdf..f87ada0e 100644 --- a/wallet_app/android/app/src/main/java/com/example/walletapp/StarknetClient.kt +++ b/wallet_app/android/app/src/main/java/com/example/walletapp/StarknetClient.kt @@ -16,8 +16,8 @@ class StarknetClient(private val rpcUrl: String) { suspend fun deployAccount() { // Predefined values for account creation - val privateKey = Felt.fromHex("0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a") // TODO: Replace with an actual private key - val accountAddress = Felt.fromHex("0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca") // TODO: Replace with an actual address + val privateKey = Felt.fromHex("0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a") // TODO(#80): Load from local.properties + val accountAddress = Felt.fromHex("0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca") // TODO(#80): Load from local.properties val signer = StarkCurveSigner(privateKey) val chainId = provider.getChainId().sendAsync().await() @@ -64,4 +64,4 @@ class StarknetClient(private val rpcUrl: String) { val weiInEther = BigDecimal("1000000000000000000") // 10^18 return BigDecimal(wei.value.toString()).divide(weiInEther) } -} \ No newline at end of file +}