Skip to content
Snippets Groups Projects

add an example to print the Fq and Fr of all the Arkworks' curves

Merged STEVAN Antoine requested to merge print-all-curves into main
1 file
+ 25
0
Compare changes
  • Side-by-side
  • Inline
  • 1ca2f988
    compute the list of all the curve crates from `arkwork-rs/algebra`
    ```nushell
    const ARK_REMOTE = "https://raw.githubusercontent.com/arkworks-rs/algebra/master/curves"
    let pkgs = http get ([$ARK_REMOTE, "Cargo.toml"] | str join '/')
        | get workspace.members
        | where $it != "curve-constraint-tests"
        | sort
        | wrap path
        | insert name {|it|
            print $it.path
            http get ([$ARK_REMOTE, $it.path, "Cargo.toml"] | str join '/') | get package.name
        }
    ```
    
    add all the curves as dev dependencies
    ```nushell
    $pkgs | each { cargo add $in.name --dev }
    ```
+ 25
0
@@ -20,7 +20,32 @@ tracing = "0.1.40"
tracing-subscriber = "0.3.17"
[dev-dependencies]
ark-bls12-377 = "0.4.0"
ark-bls12-381 = "0.4.0"
ark-bn254 = "0.4.0"
ark-bw6-761 = "0.4.0"
ark-cp6-782 = "0.4.0"
ark-curve25519 = "0.4.0"
ark-ed-on-bn254 = "0.4.0"
ark-ed25519 = "0.4.0"
ark-mnt4-298 = "0.4.0"
ark-mnt4-753 = "0.4.0"
ark-mnt6-298 = "0.4.0"
ark-mnt6-753 = "0.4.0"
ark-pallas = "0.4.0"
ark-poly-commit = "0.4.0"
ark-secp256k1 = "0.4.0"
ark-secp256r1 = "0.4.0"
ark-secp384r1 = "0.4.0"
ark-secq256k1 = "0.4.0"
ark-vesta = "0.4.0"
criterion = "0.3"
[[bench]]
Loading