-
### Aim
- We are trying to verify our [zkp smart contract](https://github.com/knot-inc/noxx-contract/blob/main/circuit_v2/src/main.nr) on-chain.
- However, even though the proof verification passe…
-
#3129 did not solve my problem. Can you please help me to solve this error? Thanks.
1. What version of Delve are you using (`dlv version`)?
```
Delve Debugger
Version: 1.4.0
Build: $Id: 67422e6…
-
One of my circuits attempts to do the following:
```go
api.AssertIsLessOrEqual(0, v)
```
But when I try to test this, it panics with the message:
```
interface conversion: frontend.Variable is u…
-
```go
type testHintCircuit struct {
X frontend.Variable
}
func (c *testHintCircuit) Define(api frontend.API) error {
if zero, err := api.Compiler().NewHint(func(mod *big.Int, ins, outs []*big…
-
Glossary:
- We talk about scalar multiplication for additive groups G1 (over Fp) and G2 (over Fp2 thanks to a sextic twist)
- We talk about exponentiation for multiplicative group GT (defined over F…
-
Hello,
I'm fairly new to writing circuits directly using gnark, and I am currently facing an issue that I'm unable to resolve on my own. I've written a circuit to calculate the cosine similarity be…
-
We are working on a proof of concept to replace our current circom zkcircuit with a new one written with gnark using the **BN254** curve and **Plonk** as a backend. All the source code is available [h…
-
Greetings!
[fp256BN/fp512BN](https://github.com/pedroalbanese/bn) (Barreto-Naehrig), [frp256v1](https://github.com/pedroalbanese/frp256v1), [Nothing Up My Sleeve](https://github.com/pedroalbane…
-
- [x] API for add a staking key with its initial stake amount
- [x] Logic to validate the qc against the stake table and predefined threshold
-
The following code will reproduce all zero results of g called after g.HashAndMapTo
```go
msg := []byte("hello world")
g := new(mcl.G1)
if err := g.HashAndMapTo(msg); err != nil {
t.Error(err)
…