MUE Messages for Bitcore-MUE
Last updated 3 years ago by bbobb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bitcore-message-mue 
SYNC missed versions from official npm registry.

MUE Message Verification and Signing for Bitcore-MUE

NPM Package Build Status Coverage Status

bitcore-message-mue adds support for verifying and signing MUE messages in Node.js and web browsers.

See the main bitcore-mue repo for more information.

Getting Started

npm install bitcore-message-mue
bower install bitcore-message-mue

To sign a message:

var bitcore = require('bitcore-lib-mue');
var Message = require('bitcore-message-mue');

var privateKey = bitcore.PrivateKey.fromWIF('KkAfUvhooWCr3RQdaTHciTgsZV8iW6dWnJFxBffkDPfjuw2nBDTP');
var signature = Message('hello, to MonetaryUnit world').sign(privateKey);

To verify a message:

var address = '7ZohJkuycJqfh2uqU1FB4DZhGqd6EirzAS';
var signature = 'II/bwxbxaAf2FI7YS9qEIhqGX2F9X1f1VHkEpBtbw7NGVs0V2o38g8NQoIiNWAMMYL3Jbju8qfNm8It/eFcFKBQ=';
var verified = Message('hello, to MonetaryUnit world').verify(address, signature);


See on the main bitcore-dash repo for information about how to contribute.


Code released under the MIT license.

Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

1 Versions

  • 0.1.0                                ...           3 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (4)
Dependents (0)

Copyright 2014 - 2016 © |