Skip to content

Commit bb0ffa5

Browse files
joeypinzcursoragent
andcommitted
feat(wasm-mps): interleave VRF-DKG into ed25519 DKG via with_vrf
Safe creation advances signing DKG and VRF-DKG in the same three rounds when round0 is called with with_vrf=true, and writes both finished shares into one RootDocument. Ordinary DKG (with_vrf=false) keeps the previous bare Keyshare encoding. Hard-derive takes that combined document; the standalone VRF-DKG wasm exports are removed. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent a10e4e5 commit bb0ffa5

5 files changed

Lines changed: 916 additions & 68 deletions

File tree

packages/wasm-mps/Cargo.lock

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/wasm-mps/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bincode = { package = "bincode-next", version = "3.1.1", features = ["serde"] }
1717
crypto_box = "0.9"
1818
getrandom = { version = "0.2", features = ["js"] }
1919
js-sys = "0.3"
20-
multi-party-schnorr = { version = "1.3.0-pre.6", features = ["serde", "eddsa", "redpallas"] }
20+
multi-party-schnorr = { version = "1.3.0-pre.6", features = ["serde", "eddsa", "redpallas", "vrf"] }
2121
orchard = { version = "0.13", default-features = false }
2222
zcash = { git = "https://github.com/silence-laboratories/garbling", rev = "268a8499bca4f1a1eea532117430fd6fd55310c8", features = ["dkg"] }
2323
pasta_curves = { version = "0.5", default-features = false }

0 commit comments

Comments
 (0)