How to use the Secp256k1zkp function from bindings

Find comprehensive JavaScript bindings.Secp256k1zkp code examples handpicked from public code repositorys.

44
45
46
47
48
49
50
51
52
53
 * @param {boolean} [opts.sign=true]
 * @param {boolean} [opts.verify=true]
 */
constructor(opts = { sign: true, verify: true }) {
    const { sign, verify } = opts;
    this.secp = new secp.Secp256k1zkp(sign, verify);
}

/**
 * Creates an zero secret key.
fork icon4
star icon3
watch icon0

+ 4 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)