Socket
Socket
Sign inDemoInstall

@vulpemventures/secp256k1-zkp

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vulpemventures/secp256k1-zkp

Essential methods of the secp256k1-zkp lib exported to TS/JS for handling Elements confidential transactions


Version published
Maintainers
3
Created
Source

Build Status js-standard-style

secp256k1-zkp

Essential methods of the secp256k1-zkp lib exported to JS for handling Elements confidential transactions

Installation

Use the package manager yarn or npm to install secp256k1-zkp.

yarn add @vulpemventures/secp256k1-zkp

npm install @vulpemventures/secp256k1-zkp

Usage

The library is exported as a function that returns a promise.

import secp256k1 from '@vulpemventures/secp256k1-zkp'

async function main() {
    const lib = await secp256k1();
    // use the library functions
}

Documentation

Typedoc html page is available via:

yarn doc

Development

Fetch submodules

git submodule update --init --recursive

Install dependencies

yarn install

Compile the WASM (writes ./lib/secp256k1-zkp.js file)

yarn compile

Build the library

yarn build

Run tests

yarn test

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

FAQs

Package last updated on 05 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc