Skip to content

Commit

Permalink
Updated example with new rapidsnark version.
Browse files Browse the repository at this point in the history
Updated lib version to 0.0.1-alpha.2.
  • Loading branch information
5eeman committed Jan 9, 2025
1 parent da9d29f commit 7ce391e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ CircomWitnesscalc is an Android wrapper for the [iden3/circom-witnesscalc](https
Add

```
implementation("io.iden3:circomwitnesscalc:0.0.1-alpha.1")
implementation("io.iden3:circomwitnesscalc:0.0.1-alpha.2")
```

to the `build.gradle`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.provider.DocumentsContract
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.compose.setContent
Expand Down Expand Up @@ -41,7 +39,6 @@ import io.iden3.circomwitnesscalc.WitnesscalcError
import io.iden3.circomwitnesscalc.calculateWitness
import io.iden3.circomwitnesscalc_example.ui.theme.circomwitnesscalc_exampleTheme
import io.iden3.rapidsnark.groth16Prove
import io.iden3.rapidsnark.groth16ProveWithZKeyFilePath
import java.io.BufferedReader
import java.io.File
import java.io.InputStream
Expand Down Expand Up @@ -205,7 +202,7 @@ class MainActivity : ComponentActivity() {

val executionStart = System.currentTimeMillis()

val proof = groth16ProveWithZKeyFilePath(
val proof = groth16Prove(
zkeyPath = zkeyPath,
witness = witness
)
Expand Down
2 changes: 1 addition & 1 deletion circomwitnesscalc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ dependencies {
}

mavenPublishing {
coordinates("io.iden3", "circomwitnesscalc", "0.0.1-alpha.1")
coordinates("io.iden3", "circomwitnesscalc", "0.0.1-alpha.2")

pom {
name.set("circomwitnesscalc")
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ activityCompose = "1.8.0"
composeBom = "2024.04.01"
appcompat = "1.6.1"
material = "1.10.0"
rapidsnark = "0.0.1-alpha.2"
rapidsnark = "0.0.1-beta.1"
documentfile = "1.0.1"

[libraries]
Expand Down

0 comments on commit 7ce391e

Please sign in to comment.