Simple zig implementation of Schnorr Signatures and MuSig2.
Implementation partially inspired by https://github.com/VictoriaGrasshopper/schnorr_signature
Includes a CLI app for independent/one-time using of schnorr and musig2 signing.
TODO
- Run the following command:
zig fetch --save git+https://github.com/aidanaden/schnorr-zig
- Add the following to
build.zig
:
const schnorr = b.dependency("schnorr", .{});
exe.root_module.addImport("schnorr", schnorr.module("schnorr"));
exe.root_module.addImport("musig2", schnorr.module("musig2"));
zig build
TODO
TODO
TODO
This package exposes two functions: generate
and reconstruct
.
TODO
Apache-2.0. See the license file.
-
Reasons for Ristretto255
-
Schnorr
-
MuSig2
-
Curve25519