Skip to content

Commit

Permalink
update todos
Browse files Browse the repository at this point in the history
  • Loading branch information
trbutler4 committed Sep 20, 2024
1 parent 34e16ce commit af9513c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -64,4 +64,4 @@ class StarknetClient(private val rpcUrl: String) {
val weiInEther = BigDecimal("1000000000000000000") // 10^18
return BigDecimal(wei.value.toString()).divide(weiInEther)
}
}
}

0 comments on commit af9513c

Please sign in to comment.