UNPKG

@ieigen/zkzru

Version:

An implementation of [ZK-ZKRollup](https://github.com/ieigen/ZKZRU) in which the relayer **does not** publish transaction data to the main chain, but only publishes the new Merkle root at every update. This provides gas savings but not data availability g

9 lines (7 loc) 181 B
const buildEddsa = require("circomlibjs").buildEddsa; module.exports = { async generatePubkey(prvkey) { let eddsa = await buildEddsa() return eddsa.prv2pub(prvkey) } }