Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-js-ecdsa

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-js-ecdsa

easy and light weight ecdsa implementation

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
35
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

simple-js-ecdsa

this project is intended as an easy to use ecdsa

creating a new wallet

let wallet = Wallet.new()

opening an existing wallet using a private key

Wallet.fromKey(<private number>)

opening a wallet using a wif

Wallet.fromWif(<private wif>)

retrievable items in a wallet

wallet.key
wallet.sec1Compressed
wallet.sec1Uncompressed
wallet.wif
wallet.address
wallet.compressAddress

signing a message

const signature = wallet.sign(message)

verify a signature

wallet.verify(message, signature)

signing in bip66 format

const signature = wallet.bip66Sign(message)

verify bip66 signature

wallet.verifyBip66(message, signature)

contribute

bitcoin address: 1KKiniL7QnMPZZLjgGB2Kq1d7zsjUr6TnS

Keywords

FAQs

Package last updated on 22 Mar 2019

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