How to use the tiny-secp256k1.pointFromScalar function in tiny-secp256k1

To help you get started, we’ve selected a few tiny-secp256k1 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bitcoinjs / bip32 / ts-src / bip32.ts View on Github external
get publicKey(): Buffer {
    if (this.__Q === undefined) this.__Q = ecc.pointFromScalar(this.__D, true);
    return this.__Q!;
  }
github bitcoinjs / bip32 / src / bip32.js View on Github external
get publicKey() {
        if (this.__Q === undefined)
            this.__Q = ecc.pointFromScalar(this.__D, true);
        return this.__Q;
    }
    get privateKey() {
github coreyphillips / rn-bitcoinjs-lib / src / ecpair.js View on Github external
get publicKey() {
    if (!this.__Q) this.__Q = ecc.pointFromScalar(this.__D, this.compressed);
    return this.__Q;
  }
  toWIF() {
github bitcoinjs / bitcoinjs-lib / ts_src / ecpair.ts View on Github external
get publicKey(): Buffer {
    if (!this.__Q)
      this.__Q = ecc.pointFromScalar(this.__D, this.compressed) as Buffer;
    return this.__Q;
  }