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

bitcore-message

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcore-message - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

bitcore-message.js.sig

2

bower.json
{
"name": "bitcore-message",
"main": "./bitcore-message.min.js",
"version": "0.10.1",
"version": "0.11.0",
"homepage": "https://github.com/bitpay/bitcore-message",

@@ -6,0 +6,0 @@ "authors": [

{
"name": "bitcore-message",
"version": "0.10.1",
"version": "0.11.0",
"description": "Bitcoin Messages for Bitcore",

@@ -26,3 +26,3 @@ "author": "BitPay <dev@bitpay.com>",

"dependencies": {
"bitcore": "^0.11.4"
"bitcore": "^0.12.0"
},

@@ -29,0 +29,0 @@ "devDependencies": {

@@ -26,3 +26,6 @@ <img src="http://bitcore.io/css/images/module-message.png" alt="bitcore message" height="35">

```javascript
var privateKey = PrivateKey.fromWIF('cPBn5A4ikZvBTQ8D7NnvHZYCAxzDZ5Z2TSGW2LkyPiLxqYaJPBW4');
var bitcore = require('bitcore');
var Message = require('bitcore-message');
var privateKey = bitcore.PrivateKey.fromWIF('cPBn5A4ikZvBTQ8D7NnvHZYCAxzDZ5Z2TSGW2LkyPiLxqYaJPBW4');
var signature = Message('hello, world').sign(privateKey);

@@ -29,0 +32,0 @@ ```

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