mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
9e74fc5b47
The example shows that the proover knows the solution of the cubic equation: y = x^3 + x + 5. The example is constructed for BLS12-381 curve points using Groth-16 prooving algorithm. The example includes everything that developer needs to start using ZKP on the NEO platform with Go SDK: 1. The described cubic circuit implementation. 2. The off-chain proof generation with the help of gnark-crypto library. 3. Go verification contract generation and deployment with the help of NeoGo libraries. 4. The on-chain proof verification for various sets of input data. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru> |
||
---|---|---|
.. | ||
binding | ||
callflag | ||
context | ||
manifest | ||
nef | ||
rpcbinding | ||
testdata | ||
trigger | ||
zkpbinding | ||
builder.go | ||
builder_test.go | ||
contract.go | ||
contract_test.go | ||
doc.go | ||
doc_test.go | ||
entry.go | ||
param_type.go | ||
param_type_test.go | ||
parameter.go | ||
parameter_test.go |